Commit Graph

285 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
9da660b542 Fix: Email confirmation link and sender
- Corrected the email confirmation link issue.
- Updated the email sender to use the app's name instead of Supabase.
2025-06-23 03:56:17 +00:00
gpt-engineer-app[bot]
6809553751 Fix: Redirect to dashboard after login
Adjusted the login flow to redirect users to the dashboard upon successful authentication, instead of the landing page. This ensures users are directed to the application's core functionality after logging in.
2025-06-23 03:38:53 +00:00
gpt-engineer-app[bot]
749624e7a4 Remove profile from dashboard, add landing page
- Removed the user profile button from the dashboard and added it to the menu bar.
- Implemented a landing page with the specified features and styling.
2025-06-23 03:31:43 +00:00
gpt-engineer-app[bot]
85443ff55a Fix: Restore user profile in menu
Re-added the user profile with the logged-in user's email and logout option to the fixed menu bar.
2025-06-23 03:17:15 +00:00
gpt-engineer-app[bot]
a18f73d1f1 Fix: Keep sidebar visible on scroll
Make the sidebar stick to the top of the screen when scrolling.
2025-06-23 03:15:58 +00:00
gpt-engineer-app[bot]
ffb0f5d71e Add menu label to sidebar trigger
Added a label to the sidebar trigger button to indicate its function.
2025-06-23 03:12:31 +00:00
gpt-engineer-app[bot]
c8083adb8a Fix: Resolve syntax error in ContactForm.tsx
Corrected a syntax error in ContactForm.tsx that was causing a build error.
2025-06-23 03:09:57 +00:00
gpt-engineer-app[bot]
035484ff38 Fix: Apply color adjustments and UI improvements
- Apply color adjustments to transaction values, icons, and dashboard cards.
- Fix the visibility of the "Nova Receita" and "Nova Despesa" buttons.
- Address the issue of the site adopting a black color scheme.
- Add an indicator to the menu toggle button.
2025-06-23 03:07:38 +00:00
gpt-engineer-app[bot]
87b6669e50 Refactor: Replace sidebar component
Replaced the existing sidebar with a new implementation for improved mobile compatibility and functionality. Also, addressed the webhook issue and provided guidance on manual verification.
2025-06-23 02:50:07 +00:00
gpt-engineer-app[bot]
a7e5c700ab Fix:
Adjusted the menu for mobile devices and addressed the webhook issue.
2025-06-23 02:39:48 +00:00
gpt-engineer-app[bot]
763d9a6104 Fix: Implement user profile button and contact form webhook
- Moved the user profile button back to the dashboard, above the month filter.
- Configured the "Fale Conosco" form to send data to the specified webhook and display a success message to the user.
- Fixed build error in `src/components/help/ContactForm.tsx` by correcting the import of `enviarFaleConoscoParaWebhook`.
2025-06-23 02:31:56 +00:00
gpt-engineer-app[bot]
1f3197caf5 feat: Move user button and integrate webhook
Move the logged-in user button above the month filter on the dashboard. Integrate a webhook call to send contact form data to a specified URL.
2025-06-23 02:25:49 +00:00
gpt-engineer-app[bot]
6f6292f857 Fix: User profile dropdown and icon display
The user profile dropdown was not working correctly, and the icon was cut off. This commit fixes the dropdown functionality and ensures the icon is fully visible.
2025-06-23 01:26:54 +00:00
gpt-engineer-app[bot]
4b954b4d59 Refactor: Remove hover effect and add user profile
- Removed the blue hover effect from the menu items.
- Added user profile with email and logout button.
- Installed necessary dependencies.
- Created button component.
2025-06-23 01:13:18 +00:00
gpt-engineer-app[bot]
5b7df8445e Refactor: Adapt limelight nav to sidebar
Adapt the provided limelight navigation component to the existing vertical sidebar, adjusting spacing and layout for improved aesthetics.
2025-06-23 01:05:56 +00:00
gpt-engineer-app[bot]
31cff64a24 Fix: Framer motion type error in sidebar
Fixes a type error related to `onAnimationStart` in `MobileSidebar` component.
2025-06-23 00:51:29 +00:00
gpt-engineer-app[bot]
771f0af1cb feat: Implement design changes and add component
- Replace the blue rectangle with the logo.
- Extend the sidebar menu.
- Change the login/password screen background.
- Add and integrate the BackgroundBoxesDemo component.
2025-06-23 00:50:28 +00:00
gpt-engineer-app[bot]
b045ddf5f5 Fix: Resolve import and fetch errors
Resolve "Failed to fetch dynamically imported module" and "Failed to resolve import" errors related to framer-motion and the Index page.
2025-06-23 00:42:38 +00:00
gpt-engineer-app[bot]
576b6e5307 feat: Integrate auto-collapsing sidebar component
Integrate the provided sidebar component, ensuring it functions correctly on both desktop and mobile devices with automatic collapsing and expanding functionality.
2025-06-23 00:40:45 +00:00
gpt-engineer-app[bot]
a9ab6d566f Fix: Pass user email to subscription function
The AI corrected the `Assinatura` page to pass the user's email and ID in the request body when calling the `mercado-pago-subscribe` Supabase function, resolving the "E-mail ou ID do usuário não fornecido" error.
2025-06-22 02:41:51 +00:00
gpt-engineer-app[bot]
490404d22b Fix: Subscription page error handling
The AI addressed the subscription page error, which seems to originate from the Supabase edge function.
2025-06-22 02:33:12 +00:00
gpt-engineer-app[bot]
247c510f48 Fix: App crashes after login and subscription page
The AI addressed the app crashing after login and investigated the subscription page issue, focusing on resolving the problem to display the purchase page, without providing logs.
2025-06-22 02:21:13 +00:00
gpt-engineer-app[bot]
1b4a148142 Fix: Dashboard not showing transaction values
The AI fixed the dashboard not displaying transaction values by reviewing the data fetching and display logic. It also addressed the "Assinar Agora" button not working by checking the Mercado Pago integration and subscription page.
2025-06-22 02:14:04 +00:00
gpt-engineer-app[bot]
503b193e30 Fix: Dashboard data and onboarding tour
- Fixed dashboard data not loading from the database.
- Fixed onboarding tour looping and showing repeated banners.
- Fixed "Assinar Agora" button not redirecting to payment page.
2025-06-22 02:08:40 +00:00
gpt-engineer-app[bot]
07d370b1b8 Reverted to commit 937b27de6c 2025-06-22 02:01:00 +00:00
gpt-engineer-app[bot]
9a4b6a2a9e Fix: Resolve onboarding tour error
The AI fixed a runtime error related to `removeHighlightStyle` in `src/components/onboarding/OnboardingTour.tsx` and addressed the issue of the app page not appearing.
2025-06-22 01:58:25 +00:00
gpt-engineer-app[bot]
e16f23afea Fix: Onboarding tour multiple displays
The onboarding tour was displaying multiple times in a row. This commit fixes the issue to ensure each step of the tour appears only once.
2025-06-22 01:55:59 +00:00
gpt-engineer-app[bot]
937b27de6c Fix: Onboarding tour not showing after login
The AI fixed the onboarding tour logic to ensure it appears on login if the user has no registered groups, addressing the issue of the tour not appearing despite the conditions being met.
2025-06-22 01:49:11 +00:00
gpt-engineer-app[bot]
c5dbc236a1 Fix: Onboarding tour and subscription page issues
The AI addressed the 404 error on the subscription page and investigated the onboarding tour not starting after login when no groups are registered. It also reviewed the code for potential errors in the tour logic.
2025-06-22 01:41:03 +00:00
gpt-engineer-app[bot]
bc4e03e7c2 Fix: Onboarding tour not starting on login
The onboarding tour was not starting correctly after login. This commit reviews the logic to ensure the tour starts when the user logs in and has no registered groups. Also, it moves the "Assinatura" menu item to the end of the sidebar, after "Calendário".
2025-06-22 01:34:41 +00:00
gpt-engineer-app[bot]
d4eabdb831 Remove debug tour button
Remove the debug button from the WhatsApp page and ensure the onboarding tour only appears on initial login if no groups are present.
2025-06-22 00:55:55 +00:00
gpt-engineer-app[bot]
a7b65653ac Fix: Ensure onboarding tour activates
The onboarding tour should activate for users without a WhatsApp instance.
2025-06-22 00:52:30 +00:00
gpt-engineer-app[bot]
641e4c4d11 Fix: Restore help icon and move subscription page
Restore the help icon with its original functionality.
Move the subscription page to the sidebar.
Improve category chart percentage display.
2025-06-22 00:45:38 +00:00
gpt-engineer-app[bot]
36b64f7e5c Fix: Restore user identification and improve chart
Restore the user identification section in the header. Improve the category chart by removing the value from the center and improving the tooltip display.
2025-06-22 00:37:45 +00:00
gpt-engineer-app[bot]
bfad740ccb Fix: Improve onboarding tour UI and button styles
- Added an arrow connecting the text in the banner to the button in the onboarding tour.
- Adjusted the "Grupos" button style to match the original design, ensuring a white background and black text.
2025-06-22 00:32:29 +00:00
gpt-engineer-app[bot]
71026e9b63 Fix: Onboarding tour behavior and button style
Fixes the onboarding tour looping issue and adjusts the button style for better visibility. The tour now correctly opens only once per session until the required conditions are met (connected instance and active group).
2025-06-22 00:26:44 +00:00
gpt-engineer-app[bot]
6a9e57eb9a Add onboarding tour for WhatsApp and Groups
Implement an onboarding tour that guides users through connecting WhatsApp and creating a group. The tour should only appear until the user has created at least one instance and one group.
2025-06-22 00:10:51 +00:00
gpt-engineer-app[bot]
dcdfa9ae9c Fix: Send webhook on group creation
Ensure the webhook is sent to the correct URL with the user's email when a group is created.
2025-06-21 21:04:32 +00:00
gpt-engineer-app[bot]
27788bfbbe Refactor AdminFAQ page
Refactors `src/pages/AdminFAQ.tsx` into smaller, reusable components to improve code organization and maintainability.
2025-06-21 20:03:30 +00:00
gpt-engineer-app[bot]
352bb9aa59 Refactor: Split ContactForm into smaller components
Refactors ContactForm.tsx into smaller, more manageable components for improved code organization and maintainability.
2025-06-21 19:50:38 +00:00
gpt-engineer-app[bot]
c323023e28 Run SQL to create tables and policies
This commit executes the provided SQL script to create the necessary tables (`faqs`, `faq_feedback`, `contatos`) and associated policies for the help system, as reviewed by the user. It also creates a storage bucket for contact form attachments.
2025-06-21 19:44:53 +00:00
gpt-engineer-app[bot]
1d22b504a0 Add help icon and FAQ functionality
Implement a help icon with a "Fale com a gente" button, linking to an email form. Add admin functionality to create FAQs with text and image support, including a feedback mechanism.
2025-06-21 19:33:18 +00:00
gpt-engineer-app[bot]
e41618415d Refactor: Split WhatsApp page into components
Split the WhatsApp page into smaller, reusable components to improve code organization and readability.
2025-06-21 18:57:20 +00:00
gpt-engineer-app[bot]
a9769b76db Fix: Inconsistent WhatsApp instance detection
Unifies instance verification logic using `useExistingInstanceCheck` across components, corrects the Supabase query, and adds re-verification after instance creation to resolve inconsistencies in WhatsApp instance detection and group creation.
2025-06-21 16:19:14 +00:00
gpt-engineer-app[bot]
7fbce3ca0b Fix WhatsApp instance detection
Centralize instance check, remove debug, and fix UI.
2025-06-21 16:07:11 +00:00
gpt-engineer-app[bot]
ec9c883bf0 Fix: Instance detection and group creation
The app incorrectly allows new instance creation and prevents group creation despite a connected instance. This commit addresses the issue.
2025-06-21 15:32:26 +00:00
gpt-engineer-app[bot]
25aa661bca Fix WhatsApp instance connection logic
The AI identified that the WhatsApp connection page was not updating correctly, and the previous fixes were not working. It suggests a new approach, analyzing the old and current logic, and checking for other potential issues.
2025-06-21 15:29:13 +00:00
gpt-engineer-app[bot]
3889badb7b Fix: Prevent new instance creation
The app was incorrectly allowing new WhatsApp instance creation even when a connected instance already existed. This commit addresses this issue.
2025-06-21 15:23:35 +00:00
gpt-engineer-app[bot]
61e154ed02 Fix: Improve WhatsApp instance and group creation logic
Analyze and fix the logic for WhatsApp instance and group creation, ensuring correct instance detection based on user email and status. Also, check for any exposed API keys or sensitive information.
2025-06-21 15:18:42 +00:00
gpt-engineer-app[bot]
8bedfeb33c Fix: Implement instance detection logic
The previous changes did not fully resolve the issue. This commit ensures the correct instance detection logic is implemented, based on the user's email and the instance status in the database. This affects the creation of new instances and group creation.
2025-06-21 15:09:59 +00:00