Commit Graph

12 Commits

Author SHA1 Message Date
henry 9aefcc04b8 test(e2e): robust navigate to stock detail via absolute URL to avoid SPA races\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 20:24:48 +02:00
henry 18173f9905 test(e2e): make alpaca bars tolerant and click symbol link to avoid aborted navigation\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 20:23:25 +02:00
henry 078dc25b87 feat(settings): add admin settings UI and Navbar link
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-16 20:10:41 +02:00
henry f7df607a06 tests: add Playwright E2E for JobHistory and job detail navigation + cancel endpoint check\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 14:56:34 +02:00
henry d9f9150d68 Add job queue for background analyze, enqueue from API, update MostActiveStocks form POST, add Playwright E2E for Save button 2026-05-16 14:22:13 +02:00
henry 15e49cb0f9 feat(tests): update Alpaca API tests to include range parameters and improve stock database cleanup
Run Tests / test (push) Failing after 8s
- Modified Alpaca Historical Bars tests to include range parameters in API requests.
- Updated test descriptions for clarity.
- Added cleanup step to delete test ticker after verification in stock database tests.
- Adjusted Vitest configuration to exclude test files from coverage.
2026-05-14 16:46:28 +02:00
henry cc22174b78 Add tests for Alpaca Historical Bars API
- Implemented tests for fetching historical bars for AAPL with different timeframes (1D, 5Min, 1H).
- Verified response structure and data integrity for each timeframe.
- Ensured that the API returns valid data and appropriate status for the requests.
2026-05-14 12:50:14 +02:00
henry 2e22fd5635 feat: add stock detail page with chart, position, and orders
- Add /api/alpaca/orders endpoint for order history
- Add TradingView chart component for candlestick visualization
- Add /analyze/:ticker route with position and orders display
- Make ticker cells in analyze page clickable for navigation
2026-05-14 11:00:35 +02:00
henry 043c3d5afe feat: delete ticker from database when removed from portfolio
- Add DELETE support to /api/stocks endpoint via _method parameter
- Modify removeStock to delete db- prefixed entries from database
- Add confirmation dialog on delete button click
- Add test for stock deletion
2026-05-14 10:29:27 +02:00
henry 3340fd11ca feat: add stock database with prisma for portfolio persistence
- Initialize Prisma with SQLite and Stock model
- Create database service layer with singleton client
- Add API routes for stock CRUD operations
- Integrate database with analyze page to persist ticker entries
- Add Playwright tests for stock database functionality
2026-05-14 10:23:56 +02:00
henry bd033a5d84 feat: add analysis API route 2026-05-14 08:06:24 +02:00
henry 4206b93614 Add Playwright configuration and initial tests for landing page
Copilot Setup Steps / copilot-setup-steps (push) Failing after 17s
- Created playwright.config.ts for test configuration
- Added .last-run.json to store test run status
- Implemented landing.test.ts with tests for navbar visibility and navigation
- Removed unused server proxy configuration from vite.config.ts
2026-05-12 22:10:51 +02:00