- 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
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.
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.
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.
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.
- 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.
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.
- 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.
- 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.
- 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.
- 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.
Modified `src/services/transacao/summaryService.ts` to categorize transactions with NULL categories as "Despesas Sem Categoria" in the category summary.
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.
- 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.
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.
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.
- 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.
- 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.
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.