- Updated @astrojs/cloudflare from ^12.5.1 to ^12.5.3
- Updated @astrojs/node from ^9.2.1 to ^9.2.2
- Updated @astrojs/react from ^4.2.5 to ^4.3.0
- Updated @prisma/client from ^6.7.0 to ^6.8.2
- Updated @radix-ui/react-dialog from ^1.1.13 to ^1.1.14
- Updated @radix-ui/react-dropdown-menu from ^2.1.14 to ^2.1.15
- Updated @radix-ui/react-form from ^0.1.6 to ^0.1.7
- Updated @radix-ui/react-select from ^2.2.4 to ^2.2.5
- Updated @radix-ui/react-toast from ^1.2.13 to ^1.2.14
- Updated @types/react from ^19.1.2 to ^19.1.5
- Updated @types/react-dom from ^19.1.2 to ^19.1.5
- Updated astro from ^5.7.5 to ^5.8.0
- Updated @types/node from ^20.11.0 to ^22.15.21
- Updated @vitejs/plugin-react from ^4.4.1 to ^4.5.0
- Updated @vitest/coverage-v8 from ^3.1.3 to ^3.1.4
- Updated prisma from ^6.7.0 to ^6.8.2
- Updated supertest from ^7.1.0 to ^7.1.1
- Updated vitest from ^3.1.2 to ^3.1.4
- Updated wrangler from ^4.13.1 to ^4.16.1
- Remove Font Awesome files from public/assets and update .gitignore
- Switch from CDN to local npm package for Font Awesome
- Update BaseLayout.astro to use Font Awesome from node_modules
- Add specific gitignore patterns for vendor files
- Keep public/assets directory structure for future custom assets
This change improves the project by:
1. Using proper dependency management through npm
2. Reducing external dependencies on CDN
3. Maintaining cleaner source control
4. Following best practices for vendor file management
- Remove Font Awesome files from public/assets and update .gitignore
- Switch from CDN to local npm package for Font Awesome
- Update BaseLayout.astro to use Font Awesome from node_modules
- Add specific gitignore patterns for vendor files
- Keep public/assets directory structure for future custom assets
This change improves the project by:
1. Using proper dependency management through npm
2. Reducing external dependencies on CDN
3. Maintaining cleaner source control
4. Following best practices for vendor file management
- Updated imports to use absolute paths for types and utilities.
- Enhanced TransactionTable component with mobile responsiveness and card-based layout.
- Improved loading and error handling in transaction fetching logic.
- Refactored transaction update API to streamline validation and data preparation.
- Added new styles for Radix UI components and improved global styles for better mobile experience.
- Implemented collapsible sections and improved button interactions in the UI.
- Updated tests to reflect changes in component structure and imports.
- Update README.md with database setup instructions and path alias usage
- Add comprehensive database connection and migration instructions
- Document TypeScript path aliases with clear usage examples
- Update .github/copilot-instructions.md with current project state
- Remove outdated TODOs related to database implementation
- Update Next Steps section to focus on UI implementation tasks
- Add guidelines for handling Prisma Decimal types with proper conversion
- Improve developer onboarding with clearer setup instructions
- Add support for Prisma Decimal type in numeric fields
- Update interfaces to handle both number and Decimal types
- Add proper handling for null values in optional fields
- Define explicit enum types for transaction and account statuses
- Ensure type compatibility between TypeScript interfaces and Prisma models
- Improve type safety throughout database interactions
- Remove in-memory store and related tests
- Add Decimal to number conversion in API responses
- Update integration tests to handle Prisma Decimal type
- Fix test configuration to only run db-integration tests
This commit resolves an issue where the Update button in the transaction form
would remain disabled when attempting to edit a transaction. The problem was
in how the transactionStore was managing state updates during transaction editing.
Key changes:
- Enhanced startEditingTransaction function in transactionStore.ts to ensure proper reactivity
- Added clean copy creation of transaction objects to avoid reference issues
- Implemented a state update cycle with null value first to force reactivity
- Added a small timeout to ensure state changes are properly detected by components
The Transaction form now correctly enables the Update button when in edit mode,
regardless of account selection state.
- Added React testing setup with JSDOM
- Added component tests for AddTransactionForm and TransactionTable
- Improved error handling and success messages in components
- Updated test configuration and dependencies
- Added CSS for error and success states
- Fix container image labels to link with GitHub repository
- Enhance build script with better error handling
- Update documentation with cross-platform build instructions
Part of #29