107 Commits

Author SHA1 Message Date
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
Peter Wood
4b87bce4b7 docs: add development container setup instructions (#29)
- Add PAT requirements
- Add devcontainer CLI commands
- Add VS Code instructions
- Add troubleshooting tips

Part of #29
2025-05-04 13:34:11 -04:00
Peter Wood
1d540d1731 style: apply Biome formatting to Astro templates and CSS (#27)
- Standardize HTML/CSS formatting
- Fix template indentation
- Apply consistent style to Astro components
- Update component attributes formatting

Part of #27
2025-05-04 10:00:14 -04:00
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
Peter Wood
f2c0373640 refactor: update devcontainer and Biome configuration (#27)
- Remove ESLint and Prettier in favor of Biome
- Configure Biome as default formatter for TS/JS/JSON/MD
- Add development helper extensions
- Update VSCode settings for Biome integration

Closes #27
2025-05-04 08:39:31 -04:00
Peter Wood
377cc63465 chore: updated libraries used; changed dns servers used to mitigate apt update errors 2025-05-03 21:06:27 -04:00
Peter Wood
f68957ef05 removed MCP server code and moved to acedanger/finance-mcp 2025-05-03 20:46:05 -04:00
Peter Wood
d5babec187 Configure GitHub MCP server in devcontainer environment (Closes #25) 2025-05-03 10:51:11 -04:00
Peter Wood
8e12184cc8 Merge branch 'backup-branch' 2025-05-03 08:34:08 -04:00
Peter Wood
79e3831004 docs: add application goal and project setup instructions to documentation 2025-05-03 08:18:41 -04:00
Peter Wood
06dfbf9965 feat: add initial implementation of Finance MCP server with REST API and setup instructions (ref #16) 2025-05-02 23:51:18 -04:00
GitHub Copilot
d8a70e0f08 refactor: Update devcontainer and configuration files for improved formatting and linting, corrected access to ssh keys (ref: #14) 2025-05-02 11:07:35 +00:00
Peter Wood
075cbe1e12 Merge pull request #15 from acedanger/acedanger/issue14
Add VSCode task for automatic build on project open and update dependencies
2025-05-01 17:07:22 -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
8058df41fd - removed .vscode from .gitignore to resolve #13
- updated libraries to further support #14
- feat: Add environment configuration files and update dependencies for Node adapter
2025-05-01 21:03:09 +00:00
GitHub Copilot
6b55395e73 beginning work on #3 to persist data to a database 2025-05-01 16:30:30 -04:00
GitHub Copilot
fe5bd43f3a feat: Add Biome configuration and update project settings for improved development experience. adds devcontainer to satisfy #14 2025-05-01 16:29:36 -04: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
01e8090fc2 feat: Add Vite configuration with alias for React DOM server 2025-04-24 17:31:21 -04:00
GitHub Copilot
ecf1632f66 fix: Add compatibility flags to wrangler configuration 2025-04-24 17:26:55 -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
124b97a397 feat: Enhance AccountSummary and TransactionTable components with refresh functionality and improve loading/empty states 2025-04-24 16:45:46 -04:00
Peter Wood
2cb3bdf117 Merge pull request #12 from acedanger/update_worker_name_to_finance
Update name in Wrangler configuration file to match deployed Worker
2025-04-24 15:57:53 -04:00
cloudflare-workers-and-pages[bot]
c17d2d88e8 Update wrangler config name to finance 2025-04-24 19:49:54 +00: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
d0a9af3dfd chore: update dependencies and add Cloudflare support
- Updated dependencies in package.json for Astro, React, and testing libraries.
- Added .assetsignore to exclude specific files from asset uploads.
- Refactored AccountSummary, MainContent, and Sidebar components for clarity and maintainability.
- Enhanced tsconfig.json to support React JSX syntax.
- Created wrangler.jsonc for Cloudflare Workers configuration.
2025-04-24 14:44:50 -04:00
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