Commit Graph

403 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
1c372aa03b Run SQL to add user email and WhatsApp
Adds email and WhatsApp columns to the contas_recorrentes table and updates existing records.
2025-06-23 21:58:48 +00:00
gpt-engineer-app[bot]
7661a8ccf3 Fix: Remove duplicate menu item
Removed the duplicated menu item in the sidebar, as shown in the provided screenshot.
2025-06-23 21:52:42 +00:00
gpt-engineer-app[bot]
2d978827e9 Fix: Remove duplicate menu and add missing page
Removed the duplicate menu and confirmed the "Avisos de contas a pagar" page was not created.
2025-06-23 21:50:19 +00:00
gpt-engineer-app[bot]
ea7e7fdfe3 Fix: Use useAuthStore in MeuCadastroForm
Corrected a TypeScript error in `src/components/settings/MeuCadastroForm.tsx` where `authStore` was incorrectly used instead of `useAuthStore`.
2025-06-23 21:45:01 +00:00
gpt-engineer-app[bot]
9a14d62b1a Fix: Use useAuthStore in multiple components
Replaced incorrect import of `authStore` with `useAuthStore` in `MeuCadastroForm.tsx`, `useProfileCompletion.ts`, and `CompleteProfile.tsx` to resolve TypeScript errors.
2025-06-23 21:43:25 +00:00
gpt-engineer-app[bot]
7ba2d39ab0 Fix: AuthStore import and component props
- Corrected import of `useAuthStore` in `src/App.tsx`, `src/components/avisos/ContaRecorrenteForm.tsx`, and `src/components/avisos/ContasRecorrentesList.tsx`.
- Added `children` prop to `ProtectedRoute` and `Layout` components in `src/App.tsx`.
- Fixed type error in `src/components/layout/Layout.tsx` related to `Sidebar` props.
2025-06-23 21:41:18 +00:00
gpt-engineer-app[bot]
ee2273383b Apply SQL schema changes
Apply the SQL schema changes to create tables for recurring payment reminders, including tables for recurring accounts and sent reminders, along with necessary indexes and RLS policies.
2025-06-23 21:39:47 +00:00
gpt-engineer-app[bot]
f01ed29305 Fix: Image loading issues on landing page
Corrected image paths and added error handling to prevent broken images in the "How it works" section of the landing page.
2025-06-23 19:13:23 +00:00
gpt-engineer-app[bot]
dd8881da28 Fix: Landing page image display
The images in the "How it works" section of the landing page were not displaying. This commit addresses the issue.
2025-06-23 19:07:56 +00:00
gpt-engineer-app[bot]
fb94c571d3 Add "How it works" section
Add the "How it works" section to the landing page, including images for text, audio, receipt, dashboard, and calendar.
2025-06-23 18:34:34 +00:00
gpt-engineer-app[bot]
52ba4b115a Reverted to commit 41946a7e9c 2025-06-23 18:10:13 +00:00
gpt-engineer-app[bot]
8ade69c438 feat: Add app usage showcase to landing page
Implemented a section on the landing page to showcase app usage with images representing audio, text, receipts, dashboard, and calendar views. Also added a background effect using the provided `background-paths.tsx` component and dependencies.
2025-06-23 17:59:59 +00:00
gpt-engineer-app[bot]
41946a7e9c Fix: Incorrect redirect URL in signup
Ensures the correct `redirectTo` URL is passed to `supabase.auth.signUp()` to generate valid email confirmation links.
2025-06-23 06:08:36 +00:00
gpt-engineer-app[bot]
c2e115412a Refactor: Split EmailConfirmation page
Refactors the EmailConfirmation page into smaller, reusable components to improve maintainability.
2025-06-23 05:45:48 +00:00
gpt-engineer-app[bot]
806696d733 Fix: Email confirmation error
Review `src/pages/EmailConfirmation.tsx` and `src/components/auth/ProtectedRoute.tsx` to address email confirmation issues. Ensure the user is not considered logged in during email confirmation.
2025-06-23 04:33:40 +00:00
gpt-engineer-app[bot]
d5ad1b0f50 Fix: Incorrect email confirmation message
Corrected the email confirmation message in `src/pages/EmailConfirmation.tsx` to accurately reflect the user's login status.
2025-06-23 04:28:51 +00:00
gpt-engineer-app[bot]
54410cd937 Fix: Email confirmation link issue
The email confirmation page still displays an "invalid link" message. This commit addresses the issue.
2025-06-23 04:26:26 +00:00
gpt-engineer-app[bot]
866b4850ca Fix email confirmation flow
Corrected the email confirmation page to handle the token from the URL hash, authenticate the user, and display success/error messages. Added redirection to the dashboard after successful confirmation.
-edited src/pages/EmailConfirmation.tsx
2025-06-23 04:18:31 +00:00
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