Commit Graph

59 Commits

Author SHA1 Message Date
hansoo
4d9effce41 fix: ESLint 오류 수정 - 사용하지 않는 변수들에 underscore prefix 추가
- AddTransactionButton.tsx: useEffect import 제거
- BudgetProgressCard.tsx: localBudgetData를 _localBudgetData로 변경
- Header.tsx: isMobile을 _isMobile로 변경
- RecentTransactionsSection.tsx: isDeleting을 _isDeleting로 변경
- TransactionCard.tsx: cn import 제거
- ExpenseForm.tsx: useState import 제거
- cacheStrategies.ts: QueryClient, Transaction import 제거
- Analytics.tsx: Separator import 제거, 미사용 변수들에 underscore prefix 추가
- Index.tsx: useMemo import 제거
- Login.tsx: setLoginError를 _setLoginError로 변경
- Register.tsx: useEffect dependency 수정 및 useCallback 추가
- Settings.tsx: toast, handleClick에 underscore prefix 추가
- authStore.ts: setError, setAppwriteInitialized에 underscore prefix 추가
- budgetStore.ts: ranges를 _ranges로 변경
- BudgetProgressCard.test.tsx: waitFor import 제거

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 20:49:36 +09:00
hansoo
9851627ff1 feat: Add CI/CD pipeline and code quality improvements
- Add GitHub Actions workflow for automated CI/CD
- Configure Node.js 18.x and 20.x matrix testing
- Add TypeScript type checking step
- Add ESLint code quality checks with enhanced rules
- Add Prettier formatting verification
- Add production build validation
- Upload build artifacts for deployment
- Set up automated testing on push/PR
- Replace console.log with environment-aware logger
- Add pre-commit hooks for code quality
- Exclude archive folder from linting

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 15:27:54 +09:00
hansoo
f83bb384af Migrate from Supabase to Appwrite with core functionality and UI components 2025-05-05 08:58:27 +09:00
gpt-engineer-app[bot]
1d3039c525 Fix: Import MONTHS_KR from dateUtils
The `MONTHS_KR` export was not being correctly imported in `useFilterApplication.ts` and `index.ts`. This commit fixes the import statements to correctly reference the `MONTHS_KR` export from `dateUtils.ts`.
2025-04-05 06:19:26 +00:00
gpt-engineer-app[bot]
4b7f422acd Refactor: Codebase review and cleanup
Review the entire codebase for potential issues and perform necessary cleanup.
2025-04-05 06:16:43 +00:00
gpt-engineer-app[bot]
e947a84dcb Fix: Display 0 for expenses 2025-04-05 06:02:31 +00:00
gpt-engineer-app[bot]
f8948e1221 Fix: Display correct expense amount in monthly budget
The monthly budget and spending were not displaying the correct expense amount after adding an expense. This commit fixes the issue.
2025-04-05 05:57:30 +00:00
gpt-engineer-app[bot]
78da23abe6 Refactor RecentTransactionsSection
Further refactors RecentTransactionsSection to separate remaining logic. Creates additional hooks and utility files as needed.
2025-03-22 13:22:33 +00:00
gpt-engineer-app[bot]
ff4afb0880 Refactor RecentTransactionsSection component
Refactors the RecentTransactionsSection component into smaller, more manageable components and extracts related logic into separate hooks to improve code organization and maintainability.
2025-03-22 13:21:23 +00:00
gpt-engineer-app[bot]
0bc53208b5 Fix budget calculation and display
Ensure daily and weekly budgets are calculated correctly based on the monthly budget, and that the monthly budget is consistent across the app.
2025-03-22 12:02:41 +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]
81afd624a4 Fix TypeScript errors
Fixes TypeScript errors related to missing properties and incorrect exports.
2025-03-22 07:12:06 +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]
e1c6875024 Improve sync logging
Add more detailed logging for sync functionality to improve issue tracking.
2025-03-21 11:39:44 +00:00
gpt-engineer-app[bot]
9352b1bb27 Refactor TransactionDeleteAlert component
Refactor TransactionDeleteAlert component to improve maintainability.
2025-03-21 10:06:03 +00:00
gpt-engineer-app[bot]
d6e6c00ea9 Rename categories
Rename "식비" to "음식" and "생활비" to "쇼핑".
2025-03-21 10:02:05 +00:00
hansoo
2d08a7962b 문서 파일 정리 2025-03-21 16:08:43 +09:00
gpt-engineer-app[bot]
92fc5ce34f Fix Typescript and module errors
- Resolve Typescript isolatedModules error by using 'export type' when re-exporting types.
- Fix module ambiguity by explicitly re-exporting 'BudgetContextType'.
- Correct import paths for useAuth hook in transaction-related files.
2025-03-19 14:13:31 +00:00
gpt-engineer-app[bot]
f8550b637c Fix module import errors
Fixes import errors in deleteTransaction.ts and deleteTransactionCore.ts by correcting the module paths.
2025-03-18 09:01:46 +00:00
gpt-engineer-app[bot]
26f7e396b4 Fix file operation error
The AI attempted to delete or rename a file that does not exist, this commit addresses the error.
2025-03-18 08:59:29 +00:00
gpt-engineer-app[bot]
c4119b7f9d Refactor transaction deletion logic
Compare and align transaction deletion logic between homepage and transactions page to resolve issues on the transactions page.
2025-03-18 08:52:54 +00:00
gpt-engineer-app[bot]
612cd37b1d Implement code changes
The prompt asked to implement code changes.
2025-03-18 07:49:51 +00:00
gpt-engineer-app[bot]
8e609519ac Refactor project for improvements
This commit refactors the project to improve overall code quality, performance, and maintainability. Specific changes may include code cleanup, optimization, and architectural enhancements.
2025-03-18 07:45:06 +00:00
gpt-engineer-app[bot]
854d27574f Improve transaction deletion stability
Addresses potential freezing issues in transaction deletion, especially in production environments. Includes enhanced logging and timeout handling.
2025-03-18 07:21:18 +00:00
hansoo
58355c3936 트랜잭션 삭제 기능 성능 및 안정성 개선
1. UI와 서버 작업 완전 분리하여 응답성 향상
2. AbortController를 이용한 Supabase 타임아웃 처리 구현
3. requestAnimationFrame 및 queueMicrotask 활용한 비동기 최적화
4. 메모리 누수 방지를 위한 pendingDeletion 상태 관리 개선
5. 타입 안전성 향상 (any 타입 제거)

트랜잭션 삭제 시 앱 먹통 현상 해결
2025-03-18 16:14:15 +09:00
gpt-engineer-app[bot]
85d58af016 Fix import error
The `updateTransaction` function was not exported from the `updateTransaction.ts` file. Changed the import statement to use the correct function name `useUpdateTransaction`.
2025-03-18 06:28:01 +00:00
gpt-engineer-app[bot]
964b3b6c91 Further stabilize transaction deletion
Attempt to further stabilize transaction deletion process and address potential UI freezing issues.
2025-03-18 06:26:39 +00:00
gpt-engineer-app[bot]
30730c5cd0 Remove on-premise Supabase code
\
Removes code related to on-premise Supabase connections, ensuring the application uses the cloud version.
2025-03-18 06:01:31 +00:00
gpt-engineer-app[bot]
d477febbf5 Refactor code for stability 2025-03-18 05:57:55 +00:00
gpt-engineer-app[bot]
df60d11aa5 Fix transaction deletion issue
Addresses the issue where deleting transactions caused the homepage and expense page to freeze.
2025-03-18 05:52:14 +00:00
gpt-engineer-app[bot]
281e459f14 Fix recent transactions deletion
Fixes an issue where deleting transactions from the recent expenses section of the homepage resulted in a malfunction.
2025-03-18 05:46:05 +00:00
gpt-engineer-app[bot]
82ab8e3504 Reduce token usage
The prompt indicated that the previous implementation was consuming too many tokens. This commit aims to reduce token usage.
2025-03-18 05:42:34 +00:00
gpt-engineer-app[bot]
915967a9ac Fix deletion UI freeze
Addresses the issue where the UI becomes unresponsive after deleting a transaction.
2025-03-18 05:39:29 +00:00
gpt-engineer-app[bot]
152586cd1b Investigate transaction deletion issue
Further investigate the issue where deleting transactions causes the application to freeze.
2025-03-18 05:17:41 +00:00
gpt-engineer-app[bot]
2b8069a150 Review expense history page 2025-03-18 04:12:54 +00:00
gpt-engineer-app[bot]
a0074c2d1d Fix: Resolve duplicate function definition
The `deleteTransactionFromSupabase` function was defined in both `deleteTransactionStorage.ts` and `supabaseUtils.ts`. This commit removes the duplicate definition from `deleteTransactionStorage.ts` to resolve the error.
2025-03-18 04:07:57 +00:00
gpt-engineer-app[bot]
1dcd63cb12 Fix TypeScript errors
Fixes TypeScript errors related to type assignments and declaration conflicts. Specifically, addresses the type mismatch in `TransactionEditDialog.tsx` and declaration conflicts in `deleteTransactionStorage.ts`.
2025-03-18 04:07:08 +00:00
gpt-engineer-app[bot]
1fc2ee8a15 Fix transaction deletion issue
Addresses the issue where deleting transactions would sometimes cause the application to freeze.
2025-03-18 04:05:23 +00:00
gpt-engineer-app[bot]
a63c8f1b16 Fix: Resolve "useEffect" error
The code was throwing a "Cannot find name 'useEffect'" error. This commit fixes the error by importing the useEffect hook from react.
2025-03-18 03:53:15 +00:00
gpt-engineer-app[bot]
27b4e3274e Fix transaction deletion issue
Addresses the issue where deleting a transaction in the transaction history would cause the application to freeze.
2025-03-18 03:51:17 +00:00
gpt-engineer-app[bot]
00727c8ab6 Fix budget calculation issue
The budget was being tripled on the expense and analytics pages. This commit fixes the calculation logic to ensure the budget is displayed correctly.
2025-03-18 02:02:27 +00:00
gpt-engineer-app[bot]
71aebf8b5b Format dates for synchronization
Use ISO format for data synchronization and user-friendly format for display.
2025-03-17 23:47:05 +00:00
gpt-engineer-app[bot]
ce12e99f6d Fix transaction deletion issue
Addresses an issue where the application becomes unresponsive after deleting a transaction.
2025-03-17 23:41:03 +00:00
gpt-engineer-app[bot]
196c071b53 Fix undefined isCanceled variable
The variable `isCanceled` was not defined in the scope of the `setTimeout` callback within `deleteTransactionCore.ts`, leading to an error. This commit defines `isCanceled` within the scope to resolve the issue.
2025-03-17 23:38:44 +00:00
gpt-engineer-app[bot]
783dd9ce99 Fix transaction deletion issue
Addresses the issue where the transaction history page becomes unresponsive after deleting a transaction.
2025-03-17 23:37:06 +00:00
gpt-engineer-app[bot]
d48b866b3a Fix month display in transactions
Corrected the month display in the transactions list to remove the duplicate month number.
2025-03-17 23:33:46 +00:00
gpt-engineer-app[bot]
042965461e Fix: Resolve issue with transaction display
Addresses a bug where transactions were not displayed on the transaction history page and expense amounts were showing as zero.
2025-03-17 23:32:02 +00:00
gpt-engineer-app[bot]
a9974f9877 Refactor deleteTransaction hook
Refactors the `deleteTransaction` hook into smaller, more manageable units to improve code maintainability.
2025-03-17 23:25:30 +00:00
gpt-engineer-app[bot]
f1f9227abf Refactor Transactions page
Refactors the Transactions page into smaller, more manageable components to improve code organization and maintainability. The functionality remains the same.
2025-03-17 23:24:12 +00:00
gpt-engineer-app[bot]
dea8b9f8ba Fix type errors in filtering
Fixes type errors related to transaction filtering and property assignments.
2025-03-17 23:22:13 +00:00