Commit Graph

358 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
24a293da29 Fix: Populate group and user tables
Populate the `grupos_whatsapp` and `usuarios` tables with the necessary data when creating a group, specifically adding data to the `remote_jid` column in the `usuarios` table.
2025-07-02 01:37:56 +00:00
gpt-engineer-app[bot]
c8075b9f34 Reverted to commit 3800e5818b 2025-07-02 01:30:43 +00:00
gpt-engineer-app[bot]
259ac13e6d feat: Send group creation data to webhook
Send all data returned from Evolution API to the criargrupofinance webhook, including the remoteJID.
2025-07-02 01:26:16 +00:00
gpt-engineer-app[bot]
3800e5818b Fix: Ensure webhooks are sent
The webhooks for workflow activation and general configuration are not being sent. This commit addresses the issue.
2025-07-02 01:14:09 +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]
e930b9384a Code edited in Lovable Code Editor
Edited UI in Lovable
2025-07-01 23:36:00 +00:00
gpt-engineer-app[bot]
0e0b0919c4 Refactor: Send group creation webhook
Send a webhook to create a group instead of making a direct request. The webhook includes the user's email and WhatsApp information.
2025-07-01 23:29:41 +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]
0c6978b710 Run SQL for webhook trigger
Applies the SQL script to create the webhook trigger.
2025-06-26 11:51:33 +00:00
gpt-engineer-app[bot]
4c744e5314 Code edited in Lovable Code Editor
Edited UI in Lovable
2025-06-26 10:19:04 +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]
59a0175b8c Fix: Improve category summary function
- Implement case-insensitive filtering for transaction types.
- Ensure NULL/empty categories are displayed as "Sem Categoria".
- Include categories with zero values in the results.
- Maintain month/year filtering.
- Ensure the output format matches the frontend's expectations.
2025-06-25 19:51:20 +00:00
gpt-engineer-app[bot]
43292f9b17 Fix: Implement category summary endpoint
- Modified `src/services/transacao/summaryService.ts` to address issues with the `getCategorySummary` endpoint.
- Implemented handling of NULL categories, transaction type filtering, and month/year filtering.
- Ensures the endpoint returns the correct category summaries, including "Sem Categoria" for NULL values, filtered by type and month/year.
2025-06-25 19:22:32 +00:00
gpt-engineer-app[bot]
9bfdc3efc7 Fix: Category totals mismatch with dashboard
Ensured the Categories page sums all transactions, resolving the discrepancy between category totals and the dashboard's total expenses.
2025-06-25 18:50:12 +00:00
gpt-engineer-app[bot]
099af14499 Fix: Handle NULL categories in category summary
Modified `src/services/transacao/summaryService.ts` to categorize transactions with NULL categories as "Despesas Sem Categoria" in the category summary.
2025-06-25 18:44:14 +00:00
gpt-engineer-app[bot]
ea97f94a54 Fix: Category page total mismatch
Corrected category calculations to align with the dashboard's total expenses, ensuring accurate financial data display.
2025-06-25 18:40:29 +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]
386ceb6792 Fix: Ensure expense card shows monthly expenses
The expense card on the dashboard should display expenses for the selected month, not a general total.
2025-06-25 18:26:33 +00:00
gpt-engineer-app[bot]
436fc843fa Fix: Improve pie chart visualization
Removed category labels with 0% values from the pie chart in the dashboard, aligning the visualization with the production app.
2025-06-25 18:22:11 +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]
1d1135cbe4 Fix: Dashboard pie chart missing categories
Corrected the category filtering in the dashboard pie chart to include 'despesas' and 'serviços'.
2025-06-25 18:08:56 +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]
d2070e6b34 Refactor: Send user email to N8N webhook
Modify `createEvolutionWebhook` to send only the user's email to the N8N webhook for processing.  Update the webhook URL to `https://webhookn8n.innova1001.com.br/webhook/hook`.
2025-06-25 17:53:26 +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]
583136ca75 Fix: Remove duplicate menu and category page effect
Removed the duplicate menu from the Dashboard, Transações, Cartões de Credito, Metas, Calendário, Conectar WhatsApp, and Grupos pages. Also removed the background effect from the Categorias page.
2025-06-24 18:04:25 +00:00
gpt-engineer-app[bot]
6121502853 Code edited in Lovable Code Editor
Edited UI in Lovable
2025-06-24 17:55:03 +00:00
Rodribm10
0894103e82
mudança no favicon 2025-06-24 14:49:25 -03:00
gpt-engineer-app[bot]
e4359ea6a8 Code edited in Lovable Code Editor
Edited UI in Lovable
2025-06-24 17:46:35 +00:00
Rodribm10
40fcb0e356
Atualizando imagens ladingpage 2025-06-24 14:36:22 -03:00