Commit Graph

12 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
0df3fc10ee Fix: Dashboard and Categorias page data
The dashboard was not displaying expenses correctly, and the categorias menu was empty. This commit revises the code to ensure expenses are correctly calculated and displayed, and that the categorias menu populates with data.
2025-05-18 02:24:03 +00:00
gpt-engineer-app[bot]
8a056a56dc Fix: Ensure responsiveness across devices
Implemented responsive design adjustments to support both mobile and desktop devices.
2025-05-18 00:16:01 +00:00
gpt-engineer-app[bot]
254b231ec8 Refactor: Sum category values in Categorias page
Use the 'categoria' column to sum values in the Categorias menu.
2025-05-17 23:54:56 +00:00
gpt-engineer-app[bot]
14f970f191 Fix: Use transaction type for sign
Updated `transacaoService.ts` to determine the sign of the transaction value based on the 'tipo' column instead of 'categoria'.
2025-05-17 23:51:21 +00:00
gpt-engineer-app[bot]
d7bf29cf60 Fix: Implement income/expense logic and icon activation
-   Adjusted the display of transaction values to be positive for income and negative for expenses, based on the category.
-   Activated the icons for "Receitas", "Despesas", "Saldo", and "Economia" in the dashboard.
2025-05-17 23:49:54 +00:00
gpt-engineer-app[bot]
d7b24fa168 Fix: Resolve 'useEffect' error
The error "Uncaught TypeError: Cannot read properties of null (reading 'useEffect')" was occurring. This commit addresses the issue.
2025-05-17 23:45:40 +00:00
gpt-engineer-app[bot]
f315af5ed7 Fix: Activate and connect menu items
Connects the "Transações", "Categorias", and "Calendário" menu items to their respective functionalities. Ensures data from Supabase is displayed in these sections.
2025-05-17 23:44:35 +00:00
gpt-engineer-app[bot]
22ce38db82 Fix: Display existing transactions
The dashboard was not displaying the existing transactions from the Supabase table. This commit ensures that the transactions are correctly fetched and displayed on the front end.
2025-05-17 23:40:27 +00:00
gpt-engineer-app[bot]
a4f8efc420 Connect to transactions table 2025-05-17 23:37:48 +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
gpt-engineer-app[bot]
c59ba67daa feat: Create finance dashboard
Implement a dashboard to display financial information from a Supabase database. The data will be fetched from the 'transacoes' table, which includes columns like id, user, created_at, valor, quando, detalhes, estabelecimento, tipo, and categoria.
2025-05-17 23:25:52 +00:00
gpt-engineer-app[bot]
d755d23300 Use tech stack vite_react_shadcn_ts 2025-05-17 23:22:05 +00:00