Commit Graph

232 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
9a179d136e Fix: Redirect to dashboard after login
- Redirect to dashboard after successful login.
- Created `/auth/reset` page for password reset functionality.
2025-07-02 18:29:30 +00:00
gpt-engineer-app[bot]
95207e71ef Fix: Resolve blank page issue in ForgotPasswordForm
The `ForgotPasswordForm` component was causing a blank page. This commit addresses the issue.
2025-07-02 18:11:40 +00:00
gpt-engineer-app[bot]
3a1bc74f34 Fix: Remove WhatsApp instance dependency.
Removed WhatsApp instance connection requirement for group creation. Removed "Reconectar WhatsApp" button. Fixed Google sign-in redirect issue to complete profile and then dashboard. Added password recovery option.
2025-07-02 18:07:51 +00:00
gpt-engineer-app[bot]
05a8186a19 Feat: Disable group creation if group exists
Disable the "Cadastrar Grupo" button and the input field for the group name if the user already has a group registered.
2025-07-02 05:46:39 +00:00
gpt-engineer-app[bot]
1690076355 Fix: Dashboard percentage calculation and tooltips
Refactored dashboard percentage calculations for income and expenses to accurately reflect performance compared to the previous month, including handling zero values and displaying tooltips with clear interpretations.
2025-07-02 05:41:55 +00:00
gpt-engineer-app[bot]
37fbe839f7 Fix: Resolve import and type errors
The commit addresses two TypeScript errors in `src/components/layout/NewModernLayout.tsx`: a conflict in the import of `SidebarContent` and a type mismatch in the `children` prop. The changes should resolve these errors and ensure the application functions correctly.
2025-07-02 05:30:42 +00:00
gpt-engineer-app[bot]
bc075c8fff Fix: Resolve blank screen issue
Investigate and fix the issue causing the app to display a blank screen.
2025-07-02 05:29:39 +00:00
gpt-engineer-app[bot]
b18ebd96c7 Remove admin page and WhatsApp menu, fix dashboard percentages, and add menu toggle
- Removed the admin page and the "Conectar WhatsApp" menu item from the front end for all users.
- Adjusted the dashboard percentage calculations to accurately reflect the revenue and expense variations compared to the same day of the previous month.
- Added a tooltip to explain the percentage calculation on hover.
- Implemented menu toggle functionality when clicking the "Menu" name.
2025-07-02 05:27:25 +00:00
gpt-engineer-app[bot]
991922432d Fix: Implement filters and calculations
- Added a filter to the AvisosContas page to search for recurring accounts by name.
- Adjusted the dashboard calculations for balance and economy to reflect the transactions of the selected month.
- Fixed the Admin page not opening correctly.
- Corrected the economy card logic on the dashboard.
2025-07-02 05:07:35 +00:00
gpt-engineer-app[bot]
33f2d389cd feat: Implement onboarding tour and admin features
- Activate onboarding tour for new users without groups.
- Remove WhatsApp connection steps from the tour.
- Add admin menu and button to hide WhatsApp connect button for all users.
- Disable Finance Home icon redirect to landing page.
- Adjust tour to teach menu open/close.
- Edited: src/hooks/useOnboardingTour.ts, src/components/onboarding/OnboardingTour.tsx, src/components/layout/NewModernLayout.tsx, src/components/layout/Header.tsx, src/App.tsx
2025-07-02 04:56:21 +00:00
gpt-engineer-app[bot]
8f5151655c Code edited in Lovable Code Editor
Edited UI in Lovable
2025-07-02 00:03:29 +00:00
gpt-engineer-app[bot]
b8375b3aad Reverted to commit 09ffd66b47 2025-07-01 22:39:12 +00:00
gpt-engineer-app[bot]
ddff46b4bd Reverted to commit 17810e5c86 2025-07-01 22:38:44 +00:00
gpt-engineer-app[bot]
7420bec9cc Reverted to commit 09ffd66b47 2025-07-01 22:37:49 +00:00
gpt-engineer-app[bot]
3c9cf4de12 Fix: Send webhooks on group creation
Move webhook calls to the "Cadastrar Grupo" button click in `CreateGroupFormSimple.tsx` to ensure they are sent when a group is created.
2025-07-01 22:32:33 +00:00
gpt-engineer-app[bot]
09ffd66b47 Fix: Redirect after Google login and webhook timing
Redirect users to the dashboard after Google login. Move webhook calls for workflow and Evolution API activation to the "Cadastrar grupo" button click in CreateGroupFormSimple.tsx, removing them from instance creation.
2025-07-01 22:21:42 +00:00
gpt-engineer-app[bot]
17810e5c86 Fix: Ensure activate workflow webhook is sent
Check and adjust the logic to ensure the "ativarworkflow" webhook is sent correctly.
2025-07-01 21:21:16 +00:00
gpt-engineer-app[bot]
f16f2f4a49 Fix: Resolve TypeScript error in ContasRecorrentesList
The error "Property 'email' does not exist on type '{ id: string; }'" in `src/components/avisos/ContasRecorrentesList.tsx` is addressed. This likely involves correcting the type definition or accessing the correct property within the component's logic.
2025-07-01 21:14:34 +00:00
gpt-engineer-app[bot]
e5082b807c Fix: Resolve webhook loop and 500 errors
The webhook was looping due to incorrect placement of the webhook configuration. This commit moves the webhook configuration to the correct location. Also fixes the 500 errors.
2025-07-01 21:11:47 +00:00
gpt-engineer-app[bot]
8400de1baa Fix: Webhook issues and improve group creation
-   Investigate and correct the timing and data sent to the `/ativarworkflow` webhook.
-   Address the looping issue with the `/hook` webhook, ensuring it's only triggered once during group creation.
2025-07-01 20:58:09 +00:00
gpt-engineer-app[bot]
0f9549556c Fix: Increase menu icon size
Increased menu icon size in `src/components/ui/modern-sidebar.tsx` to `h-14 w-14` with padding and hover effect.
2025-06-27 15:51:18 +00:00
gpt-engineer-app[bot]
9cf58548c0 Reverted to commit 4aaeebc28c 2025-06-27 15:49:18 +00:00
gpt-engineer-app[bot]
e5ea61feee Reverted to commit 7f3dad4f08 2025-06-27 15:48:46 +00:00
gpt-engineer-app[bot]
d8cd64c871 Fix: Resolve type errors in ContasRecorrentesList
Corrected type errors in `src/components/avisos/ContasRecorrentesList.tsx` related to the `ContaRecorrente` interface and the `setContas` state update. This resolves the "Type instantiation is excessively deep" and "Type is not assignable to ContaRecorrente[]" errors.
2025-06-27 15:47:02 +00:00
gpt-engineer-app[bot]
7f3dad4f08 Fix: Increase mobile menu button size
Increased the size of the menu button on mobile devices for improved usability.
2025-06-27 15:42:03 +00:00
gpt-engineer-app[bot]
4aaeebc28c Implement account alerts features
-   Filter recurring accounts by logged-in user's email.
-   Add payment status tags based on month/year filter.
-   Add sent alert tags based on month/year filter.
-   Combine month/year and user filters.
2025-06-26 13:00:29 +00:00
gpt-engineer-app[bot]
3f543ba400 Fix: Dashboard header and webhook issues
-   Corrected the duplicated "Dashboard" text in the header.
-   Verified and adjusted the webhook for sending financial alerts, ensuring it triggers on the specified days and times (Brazil timezone).
-   Tested the webhook functionality with test accounts.
2025-06-25 20:15:05 +00:00
gpt-engineer-app[bot]
45e0bd3c71 Fix: Incorrect card expense and category page issues
Corrected the expense card on the dashboard to accurately reflect card expenses. Added month/year filter to the categories page. Verified and adjusted the category summary to ensure all transactions are included and correctly categorized.
2025-06-25 18:33:15 +00:00
gpt-engineer-app[bot]
7b39bcd5aa Fix: Dashboard and Transactions page improvements
- Fixed missing "Despesas" category in the pie chart.
- Re-added month/year filter to Dashboard and Transactions pages.
- Improved responsiveness of summary cards on smaller screens.
2025-06-25 18:18:03 +00:00
gpt-engineer-app[bot]
b1e48398c2 Feat: Trigger webhook on group creation
Trigger the webhook to notify N8N when a WhatsApp group is created by the user.
2025-06-25 17:56:24 +00:00
gpt-engineer-app[bot]
31659a2157 feat: Implement category and transaction card styling
Styled the category page and transaction summary cards to match the provided print.
2025-06-25 00:39:07 +00:00
gpt-engineer-app[bot]
13c4fb0760 Fix: Implement card deletion and display card details
Added card deletion functionality. Improved card details display to show the month and the total expenses for each card. Fixed dashboard card layout issues on smaller screens. Separated expenses and credit card expenses in the dashboard summary.
2025-06-24 18:56:23 +00:00
gpt-engineer-app[bot]
c2c12ae5b3 Refactor: Split TransactionsTable into components
Refactors the TransactionsTable component into smaller, more manageable components for improved code organization and readability.
2025-06-24 18:44:40 +00:00
gpt-engineer-app[bot]
47e301c9bf Refactor: Split Index.tsx into smaller components
This commit refactors the `src/pages/Index.tsx` file into smaller, more manageable components to improve code organization and readability. Unused imports and files will be removed.
2025-06-24 18:42:46 +00:00
gpt-engineer-app[bot]
4e8972cb55 Enhance dashboard cards and charts
- Implemented year-long view for "Receitas vs Despesas" chart.
- Improved dashboard card design and functionality, including navigation to filtered transactions on click.
- Verified the accuracy of the "Despesa por Categoria" chart.
2025-06-24 18:38:44 +00:00
gpt-engineer-app[bot]
45234a1a61 Fix: Improve dashboard charts and card styles
- Replace the "Receitas vs Despesas" section with a chart.
- Ensure all expense categories are displayed in the "Gastos por Categoria" chart, and fix the color issue.
- Apply circular card styles with colors to the dashboard cards.
2025-06-24 18:26:37 +00:00
gpt-engineer-app[bot]
5c3280f64e Refactor dashboard layout and card effects
- Reordered dashboard components.
- Removed card spotlight effect from expense category card.
- Applied hover effect from account alerts page to transaction and category cards.
- Added 3D card effect to landing page images.
- Added 3d card component.
2025-06-24 18:18:46 +00:00
gpt-engineer-app[bot]
2990ab9d30 Fix type and import errors
Fixes import errors in `src/pages/Index.tsx` and `src/pages/Metas.tsx`. Addresses missing properties and incorrect function calls.
2025-06-24 18:07:54 +00:00
gpt-engineer-app[bot]
483cd907c8 Fix: Remove duplicate menu and apply card effect
Removed duplicate menu and applied card spotlight effect to category cards.
2025-06-23 22:35:03 +00:00
gpt-engineer-app[bot]
5d096818d7 Fix duplicate menu and landing page button
- Fixed the duplicate menu issue.
- Replaced the landing page "Entrar" button with a more modern, permanent style.
2025-06-23 22:21:42 +00:00
gpt-engineer-app[bot]
c6cfabd840 Fix: Implement card hover effect and image display
- Implemented card hover effect using the provided component.
- Addressed image display issues on the landing page.
2025-06-23 22:09:11 +00:00
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]
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