Commit Graph

20 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
03e3a1b8af Changes 2026-02-04 14:13:23 +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]
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]
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]
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]
0208b13700 Fix: Implement emergency security measures
Implemented Supabase secrets for API keys, created Edge Functions for secure API calls, and removed hardcoded keys from the frontend.
2025-06-21 12:03:35 +00:00
gpt-engineer-app[bot]
d16695dfa4 Add Mercado Pago webhook endpoint
Create the Mercado Pago webhook function and provide the webhook URL.
2025-06-15 21:37:54 +00:00
gpt-engineer-app[bot]
f91efb3823 Fix: Edge Function non-2xx status code
The "Assinar Agora" button was not working, returning a non-2xx status code.
2025-06-15 20:12:02 +00:00
gpt-engineer-app[bot]
de3dc3363f Fix: Implement "Assinar Agora" button action
Implemented the `handleSubscribe` function to handle the "Assinar Agora" button click, but the action was not being triggered. Fixed the issue.
2025-06-15 20:09:35 +00:00
gpt-engineer-app[bot]
bd322c9f45 Fix: Resolve TypeScript error in RegisterForm
The commit addresses a TypeScript error in `RegisterForm.tsx` related to the `whatsapp` field. The error message "Object literal may only specify known properties, and 'whatsapp' does not exist in type" indicates that the `whatsapp` field is not correctly recognized within the object being used.
2025-05-24 12:15:00 +00:00
gpt-engineer-app[bot]
d304d5c9c6 Fix: Add WhatsApp to registration form type
The `RegisterForm.tsx` component was updated to include a WhatsApp field. The TypeScript error was resolved by adding the `whatsapp` property to the type definition used for the registration form data. This ensures that the object literal used to pass data to the `supabase.rpc('registrar_usuario')` function includes the `whatsapp` field, resolving the type error.
2025-05-23 16:15:10 +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]
67c4d2e318 Refactor: Use Supabase Edge Function for workflow creation
Implement workflow creation using a Supabase Edge Function, addressing CORS issues and enhancing security. The frontend now calls the Edge Function, which handles the n8n API interaction and Supabase updates.
2025-05-20 11:40:32 +00:00
gpt-engineer-app[bot]
9d35dfb518 Fix: Prevent modification of package.json
The AI was attempting to modify the `package.json` file, which is not allowed. This commit removes any changes that would have affected this file.
2025-05-20 11:12:52 +00:00
gpt-engineer-app[bot]
8ec8b4a5c6 Refactor: Move n8n workflow creation to backend
The frontend now calls a backend endpoint to create n8n workflows, addressing CORS issues. The backend handles the n8n API request, updates Supabase, and returns the result to the frontend.
2025-05-20 10:54:37 +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