Commit Graph

21 Commits

Author SHA1 Message Date
Peter Wood
58d8ebdfa1 style: apply Biome formatting to TypeScript files (#27)
- Fix import sorting
- Standardize code formatting
- Apply consistent TypeScript style
- Update code to match Biome configuration

Part of #27
2025-05-04 09:55:01 -04:00
GitHub Copilot
b51fe35a16 Add VSCode task for automatic build on project open and update dependencies
Remove .vscode from .gitignore to allow for project-specific settings. Introduce a VSCode task to run `npm run dev` automatically when the project is opened. Update environment configuration files and dependencies to enhance support for the Node adapter.

Fixes #13
2025-05-01 21:05:24 +00:00
GitHub Copilot
c9cdd83a58 fix: Update API fetch calls to use absolute URLs for consistency 2025-04-24 17:55:53 -04:00
GitHub Copilot
5fc5320500 fix: Update API fetch calls to use relative paths for consistency 2025-04-24 17:51:08 -04:00
GitHub Copilot
4991290699 fix: Update API fetch calls to use absolute URLs for improved reliability 2025-04-24 17:47:29 -04:00
GitHub Copilot
ee559e57f1 fix: Update fetch calls to use relative paths for API requests 2025-04-24 17:15:30 -04:00
GitHub Copilot
892ea684f4 feat: Refactor transaction management with nanostores and convert components to React
- Added @nanostores/react for state management.
- Created AccountSummary component to display account balance.
- Replaced AddTransactionForm.astro with AddTransactionForm.tsx for better state handling.
- Introduced TransactionTable.tsx for displaying transactions with edit/delete functionality.
- Updated Sidebar.astro and MainContent.astro to use React components.
- Implemented transactionStore.ts for managing current account ID and transaction editing state.
- Removed obsolete AddTransactionForm.astro and related scripts.
- Enhanced error handling and loading states in transaction forms.
This fixes issues #7, #8, #9, #10, #11
2025-04-24 15:49:19 -04:00
GitHub Copilot
e7934a5a9c feat: enhance form validation in AddTransactionForm and improve error handling in transactions API 2025-04-24 12:11:23 -04:00
GitHub Copilot
f67980a35e chore: update TODOs for various components and files to enhance validation, UI/UX, security, state management, performance, and testing improvements 2025-04-24 11:36:59 -04:00
GitHub Copilot
c424691658 refactor: improve account validation in transaction updates and enhance test setup with mock API context 2025-04-24 11:23:14 -04:00
GitHub Copilot
96093200f5 fix: account balance calculation when moving transactions between accounts
- Fixed balance calculation logic in transaction update endpoint
- Added comprehensive test coverage for all error paths
- Added coverage/ directory to .gitignore
- Achieved 100% test coverage across all files
2025-04-24 09:24:00 -04:00
GitHub Copilot
bb6bd75434 Refactor index.astro to improve type safety, enhance UI update functions, and streamline event handling for transactions 2025-04-24 08:37:47 -04:00
GitHub Copilot
b76a24edba #1 Enhance transaction management UI with form validation, loading states, and improved error handling 2025-04-24 08:19:41 -04:00
GitHub Copilot
7c9bc51a9c Refactor transaction API to improve ID handling and error responses 2025-04-24 07:38:00 -04:00
GitHub Copilot
78ebf1ae32 Remove unused files and implement API routes for account and transaction management 2025-04-24 07:27:05 -04:00
GitHub Copilot
ae6886bf92 Refactor code style for consistency in store and API route files 2025-04-23 21:39:50 -04:00
GitHub Copilot
98b29ff58b #1 Update index.astro to fetch accounts from API endpoint 2025-04-23 21:33:53 -04:00
GitHub Copilot
c0ac85ee7c #1 Implement GET /api/accounts endpoint 2025-04-23 21:29:41 -04:00
GitHub Copilot
bac8047dc7 #1 Add initial API route structure for accounts and transactions 2025-04-23 21:28:41 -04:00
Peter Wood
0060013561 Initial commit - Basic bank transactions dashboard structure with Astro and TypeScript 2025-04-23 20:57:42 -04:00
houston[bot]
b2dae7e868 Initial commit from Astro 2025-04-23 20:18:17 -04:00