Commit Graph

24 Commits

Author SHA1 Message Date
GitHub Copilot
0c3ad59809 feat: Update sidebar header text and remove margin from account summary 2025-04-24 12:58:16 -04:00
Peter Wood
da35b7d994 Merge pull request #6 from acedanger/feature/1-add-api-endpoints
Feature/1 add api endpoints
2025-04-24 12:23:31 -04:00
GitHub Copilot
e4b608fb0a Merge branch 'main' into feature/1-add-api-endpoints 2025-04-24 12:18:27 -04:00
GitHub Copilot
5fc02e1a9e feat: Enhance form validation and error handling
- Improve transaction form validation with detailed error messages
- Add proper type checking for amount and date inputs
- Enhance error handling in transactions API
- Improve code documentation and organization
- Convert TODO comments to proper documentation blocks
2025-04-24 12:15:58 -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
99b70b519b feat(tests): add unit tests for accounts and transactions APIs
- Updated package.json to include Vitest for testing and added necessary devDependencies.
- Created accounts.test.ts to test the accounts API endpoints for listing and retrieving accounts.
- Implemented setup.ts to reset test data before each test run.
- Developed transactions.test.ts to cover creating, updating, and deleting transactions through the API.
- Added vitest.config.ts for configuring Vitest with appropriate settings and coverage options.
2025-04-24 08:52:48 -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
ec8cf05a54 Implement all API endpoints with error handling and validation 2025-04-24 07:31:47 -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
dfc4e23601 #1 Update documentation to reflect API implementation progress 2025-04-23 21:38:13 -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
070f472546 #1 Add temporary data store for development 2025-04-23 21:29:09 -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
b993cb89b2 Update Copilot instructions to reflect in-memory data usage and remove references to static JSON files 2025-04-23 21:02:54 -04:00
Peter Wood
20f3ec4acc Remove accounts and transactions data files 2025-04-23 20:58:33 -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