Commit Graph

33 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]
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]
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]
020ba4d396 Refine user registration flow
- Maintain webhook action with WhatsApp number.
- Redirect to login page after successful registration.
- Display success message on login page.
2025-06-19 21:41:33 +00:00
gpt-engineer-app[bot]
b0bbce2637 Add permanent access feature
- Added a boolean field `liberado_permanente` to the `usuarios` table.
- Updated the RLS policy to allow inserts if `liberado_permanente` is true.
- Updated the frontend to show a custom message if the insert is blocked.
2025-06-15 21:54:18 +00:00
gpt-engineer-app[bot]
038c131b3b Run SQL migration for Mercado Pago payments. 2025-06-15 21:36:27 +00:00
gpt-engineer-app[bot]
8c3b01e6b6 Apply SQL migration
Apply the SQL migration to the database.
2025-06-15 20:40:16 +00:00
gpt-engineer-app[bot]
ea1d873675 Feat: Implement settings sub-menus
Implement the settings sub-menus ("Visão Geral", "Meu cadastro", "Assinatura") and the "Meu cadastro" form, using the provided print as a reference. Fetch user data from the database to pre-fill the form and create a new table for user profile data.
2025-06-15 19:17:00 +00:00
gpt-engineer-app[bot]
47e003213d Run SQL to create credit card tables. 2025-06-11 00:33:12 +00:00
gpt-engineer-app[bot]
cb2d335aab feat: Add month filter to dashboard and transactions
Implement month filtering for the dashboard and transactions pages, allowing users to select a month and view data accordingly.
2025-05-31 18:00:30 +00:00
gpt-engineer-app[bot]
417c24089b Run SQL to add WhatsApp columns
Adds `instancia_zap` and `status_instancia` columns to the `usuarios` table.
2025-05-24 14:02:02 +00:00
gpt-engineer-app[bot]
80cd8a1517 Run SQL to update database function
The SQL command to update the `registrar_usuario` function has been reviewed and approved. This commit runs the SQL.
2025-05-24 13:11:05 +00:00
gpt-engineer-app[bot]
13db2b6b01 Run SQL to add remote_jid column
The SQL commands to add the `remote_jid` column to the `usuarios` table have been approved and should be executed.
2025-05-23 16:41:37 +00:00
gpt-engineer-app[bot]
e75d0058d6 Run SQL to add WhatsApp column
Adds the WhatsApp column to the usuarios table in the Supabase database.
2025-05-23 16:11:31 +00:00
gpt-engineer-app[bot]
1e9117cbd2 Refactor: Use login and nome for expense association
Update the frontend logic to display credit card expenses based on a combination of the 'login' and 'nome' columns, instead of 'cartao_id', for associating expenses with cards and users.
2025-05-21 10:44:46 +00:00
gpt-engineer-app[bot]
5e9b6ca74a Run SQL to add columns
Add `login` and `nome` columns to `despesas_cartao` table.
2025-05-21 09:45:27 +00:00
gpt-engineer-app[bot]
afb53c1429 Refactor: Split Transacoes.tsx into smaller components
Refactored the `TransacoesPage` component into smaller, more manageable components to improve code organization and readability. This includes extracting the table, form, and dialog related logic into separate files. Unused imports and files were also removed.
2025-05-20 23:11:39 +00:00
gpt-engineer-app[bot]
ea18d3488d Run SQL for credit card and expenses
This commit executes the provided SQL script to create tables for credit cards and their associated expenses in the Supabase database.
2025-05-20 19:57:53 +00:00
gpt-engineer-app[bot]
4f84ab9a9f Add workflow integration for WhatsApp groups
Integrate n8n workflow cloning upon WhatsApp group registration.  Adds a `workflow_id` column to the `grupos_whatsapp` table and updates the `cadastrarGrupoWhatsApp` function to call the n8n webhook, capturing the returned workflow ID and saving it to the database.  The button "Cadastrar Grupo" is only visible when the user is logged in.
2025-05-20 02:24:58 +00:00
gpt-engineer-app[bot]
8435c03464 Run SQL to add WhatsApp group features. 2025-05-20 00:59:19 +00:00
gpt-engineer-app[bot]
5a16246b23 Apply Supabase schema changes
Apply the SQL schema changes to Supabase, including the creation of the `grupos_whatsapp` table and the addition of the `grupo_id` column to the `transacoes` table.
2025-05-20 00:04:49 +00:00
gpt-engineer-app[bot]
2eba5aa7b1 Refactor: Split WhatsApp service into modules
Split `whatsAppService.ts` into smaller files for API calls, local storage, and types to improve maintainability.
2025-05-19 23:05:13 +00:00
gpt-engineer-app[bot]
90b3030ebb Reverted to commit b8d0db98bb 2025-05-19 18:42:59 +00:00
gpt-engineer-app[bot]
119a8af96a Run SQL migration
Apply the provided SQL to create the `rodrigo_audio_messages` table.
2025-05-19 18:29:45 +00:00
gpt-engineer-app[bot]
6100374e56 Add user filtering to database queries
Implement user-based filtering in database queries to retrieve data associated with specific users. Determine the users registered today.
2025-05-19 18:22:18 +00:00
gpt-engineer-app[bot]
e66b0342b7 Run SQL to create financial goals table. 2025-05-19 12:47:41 +00:00
gpt-engineer-app[bot]
0f5e9e7d72 Fix user-specific data and UI issues
- Display user's real name in the header.
- Fix category menu and transaction filters.
- Implement a split view for transactions.
- Ensure each user uses their own database.
- Update database naming.
2025-05-19 12:08:55 +00:00
gpt-engineer-app[bot]
032f171d7f Fix useState runtime error in TooltipProvider
Resolved a runtime TypeError caused by attempting to read 'useState' from a null value. The issue was traced to the TooltipProvider component, which was improperly imported or used, leading to React hooks being called outside of a valid React component context. The fix involved ensuring correct import of React and proper definition of TooltipProvider as a React component that uses hooks within a valid React functional component scope. This prevents the hooks from executing in an invalid context, eliminating the 'null useState' error and restoring proper rendering.
2025-05-19 11:47:03 +00:00
gpt-engineer-app[bot]
e70b9ce00b Fix: Sidebar navigation issue
The sidebar navigation incorrectly highlights the "Dashboard" menu item when the "Transações" menu item is selected, preventing access to the dashboard.
2025-05-19 01:37:43 +00:00
gpt-engineer-app[bot]
75e54b23c2 Fix: Dashboard navigation redirects to login
The issue where navigating to the dashboard after logging in redirects to the login screen is addressed. The fix likely involves correcting route handling or authentication checks in `App.tsx` and/or `ProtectedRoute.tsx` to ensure proper navigation to the dashboard.
2025-05-19 01:35:22 +00:00
gpt-engineer-app[bot]
3028d8629d Fix: Redirect to login on dashboard navigation
The user is redirected to the login screen when navigating to the dashboard after logging in. This commit addresses the issue.
2025-05-18 13:15:39 +00:00
gpt-engineer-app[bot]
c05ba05353 Run SQL to create user and transaction tables. 2025-05-18 13:06:18 +00:00
gpt-engineer-app[bot]
cfabf6e503 Connect to Supabase project
Add Supabase configuration and types to the project.
2025-05-17 23:33:22 +00:00