Commit Graph

104 Commits

Author SHA1 Message Date
Peter Wood
5ed6d298b9 chore(deps): update dependencies to latest versions
- 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
2025-05-23 13:35:56 -04:00
Peter Wood
802650510c chore: remove devcontainer configuration and related scripts 2025-05-23 07:27:39 -04:00
Peter Wood
d0486671cb feat: add MCP server configuration for GitHub in devcontainer and remove from settings 2025-05-18 08:16:54 -04:00
Peter Wood
fb657d1267 feat: enhance GitHub PAT retrieval and add MCP server configuration 2025-05-18 08:06:40 -04:00
Peter Wood
42c19c5533 fix: update postStartCommand to use bash for improved compatibility 2025-05-18 07:54:19 -04:00
Peter Wood
b01d665496 Merge branch 'main' of https://github.com/acedanger/finance 2025-05-18 07:30:58 -04:00
Peter Wood
c3279f3a16 refactor: migrate Font Awesome to npm package
- 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
2025-05-18 07:30:40 -04:00
Peter Wood
a38c869770 refactor: migrate Font Awesome to npm package
- 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
2025-05-18 07:26:58 -04:00
Peter Wood
9ba3bccd56 Refactor code structure for improved readability and maintainability 2025-05-17 22:02:27 -04:00
Peter Wood
c9ed7d4d2c refactor: standardize import paths and clean up component imports 2025-05-17 21:53:10 -04:00
Peter Wood
9382e41a55 feat: enhance module resolution and improve API error handling 2025-05-17 21:45:43 -04:00
Peter Wood
cf99168f8f Remove migration lock file and update reset environment script to use dynamic working directory 2025-05-17 19:43:42 -04:00
Peter Wood
30db75270e fix: set default value for POSTGRES_PORT in docker-compose.yml 2025-05-17 19:42:54 -04:00
Peter Wood
7bc7328a39 feat: add .gitattributes for LF normalization and file type handling 2025-05-17 14:36:40 -04:00
Peter Wood
ebd9148cb5 feat: add Reset-Environment.ps1 script for resetting finance development environment 2025-05-17 10:46:51 -04:00
GitHub Copilot
587fb7f3f8 Update GitHub PAT configuration and improve script exit handling 2025-05-08 11:47:35 -04:00
GitHub Copilot
96c8bfe9de trying several things to correct the PAT inclusion. things are broken and I'm trying to resolve that. 2025-05-08 08:38:05 -04:00
GitHub Copilot
a58c60c437 expanded dependencies to incldue biomejs and husky, check for compatible node version 2025-05-08 08:37:03 -04:00
GitHub Copilot
8e87fb9d9f replace deprecated apply with write 2025-05-08 08:35:36 -04:00
GitHub Copilot
6733188b20 fix: update ignore pattern in biome.json and format imports in TransactionTable.astro 2025-05-07 17:15:47 -04:00
GitHub Copilot
d8678e68ed Refactor transaction components and styles
- 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.
2025-05-07 17:10:21 -04:00
GitHub Copilot
7b3f9afa1a feat: add Font Awesome integration and usage guide to documentation 2025-05-07 17:09:40 -04:00
GitHub Copilot
825ac2eb4e feat: add Husky pre-commit hook for Biome checks - fixes #38 2025-05-07 14:48:27 -04:00
GitHub Copilot
6d91b331ab reformatted to adhere to the code format section of https://github.com/acedanger/finance/blob/main/.github/copilot-instructions.md#shell-scripts 2025-05-07 14:28:41 +00:00
GitHub Copilot
6f53b593d7 Refactor shell scripts for improved safety and consistency; add guidelines to documentation 2025-05-07 13:54:02 +00:00
GitHub Copilot
3a9dc56559 Refine development environment setup instructions in README.md 2025-05-06 12:24:07 +00:00
GitHub Copilot
f3d3db30bc Add 'chrisdias.promptboost' to VSCode extensions in devcontainer configuration 2025-05-06 12:18:29 +00:00
GitHub Copilot
4eea71ae58 Update project documentation for database integration
- 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
2025-05-06 12:17:11 +00:00
GitHub Copilot
9a43842513 Update types.ts to support Prisma database integration
- 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
2025-05-06 12:03:54 +00:00
GitHub Copilot
4bcc75f707 Add documentation about using path aliases for imports 2025-05-06 11:58:24 +00:00
GitHub Copilot
069faac7bc Update import statements to use path aliases throughout codebase 2025-05-06 11:53:33 +00:00
GitHub Copilot
984cd42f27 Fix TypeScript errors in API endpoints 2025-05-06 11:38:37 +00:00
GitHub Copilot
bfa57a9655 Refactor test configuration and update type definitions for better compatibility with Prisma 2025-05-06 11:17:58 +00:00
GitHub Copilot
4bf29c70eb Add TypeScript path aliases and update import paths 2025-05-06 11:16:49 +00:00
Peter Wood
19a0e55654 Merge pull request #32 from acedanger/feature/database-integration
Replace in-memory store with database persistence
2025-05-06 06:14:56 -04:00
GitHub Copilot
605459a00a Add package-lock.json for Cloudflare Pages build 2025-05-06 10:12:30 +00:00
GitHub Copilot
3f2f8522a4 Merge branch 'main' into feature/database-integration 2025-05-06 10:08:15 +00:00
GitHub Copilot
d52305826a Add Node.js version configuration for Cloudflare Pages 2025-05-06 10:04:12 +00:00
GitHub Copilot
bac13b30c9 Add account creation endpoint and dynamic REST client environment config 2025-05-06 09:13:03 +00:00
GitHub Copilot
a8ec2734c8 Update Copilot instructions to reflect database integration 2025-05-06 08:57:53 +00:00
GitHub Copilot
a5dcad1486 Replace in-memory store with database persistence
- 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
2025-05-06 08:31:15 +00:00
GitHub Copilot
07fbb82385 Fix: Update button remaining disabled in transaction edit mode
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.
2025-05-05 21:29:36 +00:00
Peter Wood
7e4b12ae53 Merge pull request #31 from acedanger/feature/transaction-management
Add testing infrastructure and improve component feedback
2025-05-05 13:44:36 -04:00
GitHub Copilot
7e5ed585f7 feat: add testing infrastructure and improve component feedback
- 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
2025-05-05 17:41:39 +00:00
GitHub Copilot
d3855aa7e4 Merge branch 'main' of github.com:acedanger/finance 2025-05-05 07:05:00 -04:00
GitHub Copilot
ad6693d1d7 refactor: Reorganize imports and improve code consistency across components and API routes 2025-05-05 06:59:13 -04:00
Peter Wood
bf82354ff3 refactor: improve devcontainer configuration and documentation (#29)
- 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
2025-05-04 21:16:40 -04:00
Peter Wood
a298de5af9 feat: add PowerShell build script for Windows users (#29)
- Add build-and-push.ps1 script for Windows users
- Update ENVIRONMENT_SETUP.md with cross-platform build instructions
- Improve error handling and feedback in build scripts
- Add proper Windows path handling

Part of #29
2025-05-04 21:09:44 -04:00
Peter Wood
febbd943b2 feat: enhance devcontainer build script with better error handling (#29)
- Add tool availability checks
- Add GitHub authentication verification
- Improve error messages and user feedback
- Add clear next steps for users

Part of #29
2025-05-04 19:56:16 -04:00
Peter Wood
c06b73a1f3 feat: enhance devcontainer configuration with network settings and host aliases.
Part of #27
2025-05-04 13:38:15 -04:00