Commit Graph

349 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
6015cbfe1b Refactor ExpenseFormFields component
Refactor ExpenseFormFields.tsx into smaller, more manageable components for better organization and maintainability.
2025-03-22 12:29:20 +00:00
gpt-engineer-app[bot]
ba8bd237d1 Refactor TransactionFormFields component
Refactor TransactionFormFields component to improve maintainability.
2025-03-22 12:28:14 +00:00
gpt-engineer-app[bot]
846a7bb165 Refactor ExpenseForm component
Refactor ExpenseForm.tsx into smaller components to improve code organization and maintainability.
2025-03-22 12:26:59 +00:00
gpt-engineer-app[bot]
de128ac57a Improve title suggestion display
- Fix issue where title suggestions were not hidden correctly.
- Add animation to collapsible content for a smoother user experience.
2025-03-22 12:26:02 +00:00
gpt-engineer-app[bot]
2c66c96f9f Hide elements initially
Hides title suggestions and payment method fields initially, showing them based on category selection and amount input focus.
2025-03-22 12:22:23 +00:00
gpt-engineer-app[bot]
d3e8c36872 Refactor payment method selection
Refactored the payment method selection to use a button-style interface with icons and smaller font size.
2025-03-22 12:18:33 +00:00
gpt-engineer-app[bot]
c80ad15d79 Fix add transaction button animation
-  Modify the add transaction button to prevent the plus icon from rotating.
-  Implement a hover effect that expands the button and displays "지출 입력" (Add Expense).
2025-03-22 12:14:13 +00:00
gpt-engineer-app[bot]
8cda329feb Remove daily and weekly tabs
Removed the daily and weekly budget tabs from the budget progress card, leaving only the monthly tab.
2025-03-22 12:06:32 +00:00
gpt-engineer-app[bot]
cbee1f4fb9 Investigate data reset issue
Investigate why data is not fully reset when sync is enabled.
2025-03-22 11:58:13 +00:00
gpt-engineer-app[bot]
94595ec6c8 Refactor budget calculation logic
Modify budget calculation to use monthly input as the base and adjust tab order.
2025-03-22 11:53:18 +00:00
gpt-engineer-app[bot]
69ab5e4c73 Refactor code for consistency
Refactors the codebase to ensure a consistent code structure and style throughout the project.
2025-03-22 11:46:22 +00:00
gpt-engineer-app[bot]
f1e0a9c297 Fix weekly budget calculation
Ensure weekly budget is correctly calculated to derive monthly budget.
2025-03-22 11:31:44 +00:00
gpt-engineer-app[bot]
4f552632b7 Enforce monthly budget updates
The budget update logic was modified to ensure that all budget updates are applied to the monthly budget, regardless of the selected tab. This resolves inconsistencies in budget calculations and data storage.
2025-03-22 11:27:35 +00:00
gpt-engineer-app[bot]
0702145431 Fix budget update issue
Addresses an issue where budget updates were not being applied correctly.
2025-03-22 11:20:58 +00:00
gpt-engineer-app[bot]
b81187a4d8 Fix budget calculation error
Corrected an issue where the total monthly budget was incorrectly calculated and displayed as a weekly budget.
2025-03-22 11:16:30 +00:00
gpt-engineer-app[bot]
5f125de8d7 Fix budget total calculation
Ensure budget total calculation aligns with weekly or monthly budget settings.
2025-03-22 11:13:26 +00:00
gpt-engineer-app[bot]
ef239e6126 Fix budget display and button
- Fix the budget display issue where monthly budgets were showing four amounts instead of one.
- Resolve the functionality of the "Edit Budget" button.
2025-03-22 11:08:04 +00:00
gpt-engineer-app[bot]
d5ac14793b Refactor BudgetTabContent component
Splits the BudgetTabContent component into smaller, more manageable components to improve code organization and maintainability. The UI and logic are separated into distinct components while preserving the original functionality.
2025-03-22 10:58:21 +00:00
gpt-engineer-app[bot]
ab86d9b5f9 Investigate budget display issue
Examine why budget data is not displaying correctly on the expense and analytics screens, despite being saved successfully.
2025-03-22 10:53:56 +00:00
gpt-engineer-app[bot]
c92d41e8f0 Address unresolved issues
This commit addresses previously reported issues that remain unresolved. Further investigation is required.
2025-03-22 08:26:29 +00:00
gpt-engineer-app[bot]
7b29f31c7b Revert previous changes
Reverting the previous commit due to unresolved issues.
2025-03-22 08:21:57 +00:00
gpt-engineer-app[bot]
ae2a28efbb Fix budget display issues
Addresses issues where budget data wasn't displaying correctly after input and ensures correct automatic calculation of daily/weekly budgets from monthly input.
2025-03-22 08:08:58 +00:00
gpt-engineer-app[bot]
d4afc2eedb Fix data initialization issues
Addresses problems with budget display and data reset:
- Ensures budget data is correctly displayed after initialization.
- Fixes issue where daily and weekly budget data were missing.
- Corrects data reset to properly clear transaction data.
2025-03-22 07:58:53 +00:00
gpt-engineer-app[bot]
f39733bfcd Fix budget display issue
The budget display in the budget card was not showing correctly when the budget was not set. This commit fixes the issue.
2025-03-22 07:48:57 +00:00
gpt-engineer-app[bot]
0d716d79d2 Fix budget calculation and storage
Correct budget calculation and storage issues for 교통 and 기타 categories, and ensure daily/weekly budgets are displayed correctly.
2025-03-22 07:42:46 +00:00
gpt-engineer-app[bot]
b79c6b2314 Fix budget input and display
- Fix issue where budget input for transportation and other categories were not saved correctly.
- Fix issue where total budget amount was calculated incorrectly.
- Fix issue where daily and weekly budgets were not displayed correctly.
2025-03-22 07:35:55 +00:00
gpt-engineer-app[bot]
0d1306ef2e Fix module import errors
Corrected import paths for '@/contexts/BudgetContext' in multiple components to resolve module not found errors.
2025-03-22 07:29:34 +00:00
gpt-engineer-app[bot]
3911040b00 Fix TS2614 and TS1205 errors
Corrected import/export of Transaction type and fixed isolatedModules error.
2025-03-22 07:23:09 +00:00
gpt-engineer-app[bot]
b00e27c1f0 Fix TypeScript errors
- Fix TS2353: Object literal may only specify known properties, and 'paymentMethod' does not exist in type 'Transaction'.
- Fix TS1205: Re-exporting a type when 'isolatedModules' is enabled requires using 'export type'.
- Fix TS2741: Property 'getPaymentMethodStats' is missing in type '{ transactions: Transaction[]; budgetData: BudgetData; categoryBudgets: Record<string, number>; selectedTab: BudgetPeriod; setSelectedTab: React.Dispatch<...>; ... 5 more ...; resetBudgetData: () => void; }' but required in type 'BudgetContextType'.
2025-03-22 07:16:33 +00:00
gpt-engineer-app[bot]
2eff95908e Fix: Ensure BudgetProvider usage
The `useBudget` hook was being called outside of the `BudgetProvider` context in the `Index` component. This commit ensures that the `Index` component and its children are wrapped with the `BudgetProvider` in `App.tsx` to resolve the error.
2025-03-22 07:14:12 +00:00
gpt-engineer-app[bot]
aa8381a823 Add payment method selection
Adds a payment method selection (Credit Card, Cash) to the expense form and includes a line separator. Also requests to add a graph showing the proportion of credit card and cash usage in expense analytics, but this part is not implemented in this commit.
2025-03-22 07:08:02 +00:00
gpt-engineer-app[bot]
60ef765380 Implement personalized data handling
Implement personalized data handling based on the number of recent expense records.
2025-03-22 06:57:50 +00:00
gpt-engineer-app[bot]
78451e30e5 Implement quick title suggestions
Implement suggestions for transaction titles based on category selection.
2025-03-22 06:50:36 +00:00
gpt-engineer-app[bot]
508eea9cde Refactor expense form and categories
-   Rename "지출 추가" to "지출 입력" in the add expense dialog.
-   Rename "교통비" to "교통" in categories and ensure all 4 icons are displayed on a single line.
2025-03-22 06:45:50 +00:00
gpt-engineer-app[bot]
c1a64ed711 Add animation effects
Adds subtle animation effects to improve user experience.
2025-03-22 06:43:22 +00:00
gpt-engineer-app[bot]
e0d4cf61c7 Refine add transaction button
The add transaction button is too large initially. This commit changes the button to display fully for 3 seconds, then transition to a smaller "+" icon button.
2025-03-22 06:41:04 +00:00
gpt-engineer-app[bot]
c57d56820f Show expense input button label
Display "지출 입력" label on the add transaction button to improve clarity.
2025-03-22 06:38:48 +00:00
gpt-engineer-app[bot]
8de82b17f0 Add "기타" category
Adds "기타" category to the existing categories.
2025-03-22 06:31:08 +00:00
gpt-engineer-app[bot]
09894589b4 Fix welcome message and sync
- Prevent duplicate welcome messages.
- Remove sync notifications.
- Ensure automatic sync updates last sync time.
2025-03-22 06:26:05 +00:00
gpt-engineer-app[bot]
0d49c4b8ae Implement notification history feature
Adds a notification history view accessible from the header, including a clear button and a notification count badge.
2025-03-22 06:15:41 +00:00
gpt-engineer-app[bot]
89f31521db Visual edit in Lovable
Edited UI in Lovable
2025-03-22 06:12:54 +00:00
gpt-engineer-app[bot]
292eddc6e0 Reorder expense form fields
Reordered the fields in the expense form to display category, title, and amount, respectively.
2025-03-22 06:03:55 +00:00
gpt-engineer-app[bot]
9561fb269a Fix layout issue on Transactions page
The Transactions page had inconsistent padding compared to other pages. This commit ensures consistent layout and spacing across the app.
2025-03-22 05:38:05 +00:00
gpt-engineer-app[bot]
d16825f4b5 Reduce padding on Transactions page
Reduces the padding on the Transactions page to match the Analytics page, improving visual consistency.
2025-03-22 05:31:25 +00:00
gpt-engineer-app[bot]
ec13986739 Fix spacing issues
Correct spacing and alignment in the code.
2025-03-21 13:21:32 +00:00
gpt-engineer-app[bot]
39c138a403 Reduce category card padding
Reduce left and right padding on the major spending category cards to 5px.
2025-03-21 13:20:18 +00:00
gpt-engineer-app[bot]
51bcdf2d05 Center align app version info
Center align the app version and description text in the settings page.
2025-03-21 13:17:30 +00:00
gpt-engineer-app[bot]
7071d435ae Refactor: Adapt to design changes
The design has been significantly updated, requiring code adjustments.
2025-03-21 13:04:57 +00:00
gpt-engineer-app[bot]
8193fda43f Reverted to edit edt-308e7f80-d1d7-4d72-9210-72d1422090e9: "Visual edit in Lovable
Edited UI in Lovable"
2025-03-21 13:02:57 +00:00
gpt-engineer-app[bot]
743ae5c598 Adapt layout for dynamic island
Adjust top margin based on platform to accommodate the dynamic island on iOS devices.
2025-03-21 12:58:52 +00:00