Commit Graph

472 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
f42d33b9a1 Improve avatar loading performance
The avatar image in the header was loading slowly. This commit aims to improve the loading performance of the avatar image.
2025-03-16 10:58:43 +00:00
gpt-engineer-app[bot]
f558a0149d Fix date format after sync
The date and time format was incorrect after syncing data from the cloud. This commit addresses the issue.
2025-03-16 10:48:06 +00:00
gpt-engineer-app[bot]
1d911153a7 Refactor SyncSettings component
Refactor SyncSettings component into smaller components and extract logic into a separate hook.
2025-03-16 10:40:07 +00:00
gpt-engineer-app[bot]
14c3fac824 Fix toast and sync settings
- Fix issue where toast notifications were not disappearing.
- Ensure sync settings are turned off upon logout.
2025-03-16 10:37:26 +00:00
gpt-engineer-app[bot]
dab1a9cb84 Fix budget synchronization issue
Ensure budget data is also synchronized when syncing with cloud after local data deletion.
2025-03-16 10:30:38 +00:00
gpt-engineer-app[bot]
8b7defb576 Refactor DataResetSection component
Refactor DataResetSection component into smaller components and extract logic into a separate hook for better maintainability.
2025-03-16 10:20:42 +00:00
gpt-engineer-app[bot]
cbe931ecb3 Handle data reset with cloud sync
The prompt requests clarification on whether data reset should also delete cloud data when the user is logged in.
2025-03-16 10:18:16 +00:00
gpt-engineer-app[bot]
f2a941c3da Fix type errors in sync settings
This commit addresses several TypeScript errors in the sync settings component and related utility functions. It corrects type definitions for the sync result, ensures correct usage of the `setLastSyncTime` function, and fixes toast variants.
2025-03-16 10:13:54 +00:00
gpt-engineer-app[bot]
b0177ba5cd Fix budget synchronization issue
Ensure budget data is synchronized correctly after local data deletion.
2025-03-16 10:11:09 +00:00
gpt-engineer-app[bot]
c3ddd3b88f Refactor network utils directory
Simplify the structure of the network utils directory for better maintainability.
2025-03-16 10:07:30 +00:00
gpt-engineer-app[bot]
776d0442aa Refactor networkUtils.ts
The file src/utils/auth/networkUtils.ts was too long, so it has been refactored into smaller files.
2025-03-16 10:06:21 +00:00
gpt-engineer-app[bot]
74e7ea19fd Refactor transaction sync module
Refactors the transaction sync module for better organization.
2025-03-16 10:05:06 +00:00
gpt-engineer-app[bot]
e3e29d6ebe Refactor budget sync logic
Refactor budget sync logic into smaller modules.
2025-03-16 10:03:35 +00:00
gpt-engineer-app[bot]
67fc6be649 Fix sync error after login
Addresses an issue where a sync error occurs after the user logs in.
2025-03-16 10:02:27 +00:00
gpt-engineer-app[bot]
bdf1584095 Clarify data synchronization process
Clarify the data synchronization process and address a scenario where data is lost after logging out, initializing data, and logging back in.
2025-03-16 09:58:20 +00:00
gpt-engineer-app[bot]
3f22e6c484 Refactor useToast hook into modules
The useToast hook was refactored into smaller, more manageable modules.
2025-03-16 09:48:44 +00:00
gpt-engineer-app[bot]
61acb461e0 Refactor useToast hook
The useToast hook was refactored into smaller, more manageable files to improve code organization and maintainability.
2025-03-16 09:47:29 +00:00
gpt-engineer-app[bot]
cd6c92d7de Refactor toast duplicate prevention
Refactor the toast wrapper to improve the logic for preventing duplicate toast messages.
2025-03-16 09:41:07 +00:00
gpt-engineer-app[bot]
d45e1bbf78 Refactor useTransactions hook
Refactor the useTransactions hook into smaller, more manageable files to improve code organization and maintainability. All existing functionality is preserved.
2025-03-16 09:39:56 +00:00
gpt-engineer-app[bot]
662cacbc99 Prevent duplicate toast notifications
The application was displaying duplicate toast notifications due to events being triggered multiple times. This commit prevents duplicate notifications.
2025-03-16 09:38:39 +00:00
gpt-engineer-app[bot]
2a70aa18b7 Fix TS2353 error in use-toast.ts
The 'open' property was not defined in the ToasterToast type, causing a TypeScript error. Updated the ToasterToast type definition to include the 'open' property.
2025-03-16 09:34:35 +00:00
gpt-engineer-app[bot]
2851f8d03c Fix: Resolve toast notification issue
The toast notifications were not displaying. This commit addresses the problem.
2025-03-16 09:33:24 +00:00
gpt-engineer-app[bot]
4b52c85478 Adjust profile picture size
Adjusted the profile picture size to occupy the height of two lines.
2025-03-16 09:29:15 +00:00
gpt-engineer-app[bot]
0f371ac87f Add symbol to home header
Adds a symbol to the left side of the welcome message and app description in the home header.
2025-03-16 09:28:19 +00:00
gpt-engineer-app[bot]
dadc4fc585 Fix typo in FingerprintIcon import
Corrected the import of FingerPrintIcon from lucide-react to FingerprintIcon to resolve a TypeScript error.
2025-03-16 09:25:52 +00:00
gpt-engineer-app[bot]
351b5e6d36 Fix: Prevent data reset without login
The data reset functionality was incorrectly prompting for login even when the user was already logged in. This commit ensures that data reset operations are only triggered when a user is authenticated.
2025-03-16 09:24:41 +00:00
gpt-engineer-app[bot]
f7ad2b6d42 Fix import error in use-toast
The module '@/components/ui/use-toast' does not export 'useToastStore'. Remove the import.
2025-03-16 09:18:50 +00:00
gpt-engineer-app[bot]
f228410b83 Fix: Resolve Toast Type Error
The toast function was updated to correctly pass the 'id' property, resolving the TypeScript error.
2025-03-16 09:17:47 +00:00
gpt-engineer-app[bot]
7b50054da4 Fix TypeScript errors
Addresses TypeScript errors related to toast implementation and type definitions.
2025-03-16 09:15:27 +00:00
gpt-engineer-app[bot]
7ab79d125e Fix toast and data reset issues
- Resolved issue where budget creation toast appeared before expense creation toast.
- Fixed data reset causing a redirect to the login screen.
2025-03-16 09:13:08 +00:00
gpt-engineer-app[bot]
468bb79c9e Refactor useTransactions hook
Splits the useTransactions hook into smaller, more manageable files for improved code organization and maintainability. The original functionality of the hook remains unchanged.
2025-03-16 09:03:38 +00:00
gpt-engineer-app[bot]
da9120ba61 Fix analytics graph and toast
- Corrected analytics graph to only display budget data when budget is entered.
- Fixed issue where expense toast notifications were appearing twice.
2025-03-16 08:56:39 +00:00
gpt-engineer-app[bot]
e392557b9c Fix data initialization and toast issues
- Ensure toast notifications disappear after data initialization.
- Resolve issues with expense items not displaying on the expense page.
- Fix graph display issues on the analytics screen.
- Prevent login screen from appearing after data initialization.
2025-03-16 08:49:04 +00:00
gpt-engineer-app[bot]
fe669b0cfd Fix toast and data display issues
- Fixes an issue where toast notifications would not automatically dismiss.
- Addresses a problem where expense data was not displaying correctly on the transaction and analytics screens.
2025-03-16 08:34:58 +00:00
gpt-engineer-app[bot]
1281156f05 Fix budget display issues
The budget was not being displayed correctly in the spending and analytics screens, as well as the weekly and monthly views on the home screen. This commit addresses these issues.
2025-03-16 08:26:17 +00:00
gpt-engineer-app[bot]
79d38f1fc1 Fix budget display and category issues
- Fix budget amount not displaying outside the homepage.
- Remove unexpected categories and revert to the original 3 categories.
2025-03-16 08:17:02 +00:00
gpt-engineer-app[bot]
32a6832b84 Fix data loading issues
Addresses issues where budget data is missing on expense and analytics pages, and where transactions are being automatically created.
2025-03-16 08:10:31 +00:00
gpt-engineer-app[bot]
6e58f95dca Visual edit in Lovable
Edited UI in Lovable
2025-03-16 08:06:38 +00:00
gpt-engineer-app[bot]
1fc5ea1d5b Visual edit in Lovable
Edited UI in Lovable
2025-03-16 08:06:10 +00:00
gpt-engineer-app[bot]
e439c4582b Fix TS2353 error in useTransactions
The object literals in createSampleTransactions function were specifying the 'notes' property, which does not exist in the Transaction type. This commit removes the 'notes' property from the object literals to resolve the TS2353 error.
2025-03-16 08:05:09 +00:00
gpt-engineer-app[bot]
5bc7a963c1 Fix missing export
The `createSampleTransactions` function was not exported from `storageUtils.ts`, causing a TypeScript error in `useTransactions.ts`. This commit exports the function to resolve the error.
2025-03-16 07:59:58 +00:00
gpt-engineer-app[bot]
c5a5a20d36 Refactor data initialization process
Review and adjust the data initialization logic to ensure proper functionality.
2025-03-16 07:52:45 +00:00
gpt-engineer-app[bot]
23ba0f7e90 Fix budget data persistence issue
Addresses the problem where budget data was not persisting across page transitions, causing budget and expense information to disappear from the expense page and only expense data to appear on the analytics page.
2025-03-16 07:29:25 +00:00
gpt-engineer-app[bot]
84553d4fee Refactor: Split useBudgetState hook
The useBudgetState hook was split into smaller, more manageable files to improve code organization and maintainability.
2025-03-16 07:24:33 +00:00
gpt-engineer-app[bot]
7c8e542912 Investigate data initialization issue
Investigates and addresses a potential data loss issue where budget data is unexpectedly reset when navigating between pages.
2025-03-16 07:23:16 +00:00
gpt-engineer-app[bot]
d59fb97f7c Fix budget update issues
Addresses delayed notifications and data loss after budget updates and page transitions.
2025-03-16 07:05:20 +00:00
gpt-engineer-app[bot]
61b00cfdcb Fix: No changes were made
The AI system did not make any changes to the codebase.
2025-03-16 06:57:52 +00:00
gpt-engineer-app[bot]
f3edf5fa20 Fix data display issues
Addresses issues where budget and expense data were not displaying correctly on the summary cards, category bar graph, and transaction/analytics pages. Also fixes a bug where data was disappearing after input.
2025-03-16 06:46:45 +00:00
gpt-engineer-app[bot]
16c17f0257 Fix data persistence issue
Addresses a bug where budget and expense data were not persisting correctly, leading to data loss when navigating between pages.
2025-03-16 06:41:57 +00:00
gpt-engineer-app[bot]
c23f5cddef Refactor useBudgetState hook
Refactor the useBudgetState hook into smaller, more manageable files for better organization and maintainability.
2025-03-16 06:37:13 +00:00