Commit Graph

360 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
ab38a1931e Update category chart appearance
Modify the appearance of the category chart to have an inset look.
2025-03-22 13:02:14 +00:00
gpt-engineer-app[bot]
a5eb629f0c Merge category charts
Consolidated category spending list into the category pie chart card.
2025-03-22 13:00:32 +00:00
gpt-engineer-app[bot]
3a0c7d1c61 Remove category spending percentage
Removes the percentage display from the category spending list.
2025-03-22 12:58:46 +00:00
gpt-engineer-app[bot]
fdadbb06cc Update budget bar color
The gray color of the budget bar in the chart has been updated to be slightly darker.
2025-03-22 12:57:41 +00:00
gpt-engineer-app[bot]
273362ecb7 Refactor monthly comparison chart
Modify expense text and bar color in the monthly comparison chart legend from black to main green.
2025-03-22 12:56:28 +00:00
gpt-engineer-app[bot]
a138e81439 Adjust layout of category spending
Adjust the layout of the category spending chart to align vertically with the payment method chart, while keeping the payment method chart's position unchanged.
2025-03-22 12:53:08 +00:00
gpt-engineer-app[bot]
eb13fa76a1 Increase pie chart size
Make the pie charts in ExpenseChart and PaymentMethodChart components slightly larger.
2025-03-22 12:51:25 +00:00
gpt-engineer-app[bot]
2a1fc6aa7a Remove unnecessary chart elements
Removes label lines from pie charts and percentage display from payment method chart.
2025-03-22 12:49:50 +00:00
gpt-engineer-app[bot]
b67ebf4631 Hide title suggestions always
The title suggestions should not always be visible.
2025-03-22 12:47:15 +00:00
gpt-engineer-app[bot]
45d890d39a Refactor expense form fields
Hide title suggestions initially and show them after category selection.
2025-03-22 12:45:46 +00:00
gpt-engineer-app[bot]
9adc4b2e5f No changes needed
The AI edits didn't result in any changes to the codebase.
2025-03-22 12:39:57 +00:00
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