Commit Graph

12 Commits

Author SHA1 Message Date
henry 1eddb9173e fix: update admin token check logic and improve comments for clarity
feat: add condition to only delete manually added stocks from DB
docs: clarify stock notes saving method and Alpaca mode indicator fetching
chore: update binary database file
2026-05-16 22:20:29 +02:00
henry 2f1fe5b39a Add settings page redesign implementation plan 2026-05-16 20:40:04 +02:00
henry 14cee9c16a Add settings page redesign spec 2026-05-16 20:35:33 +02:00
henry 8cb7132fe0 Task 6: finalize tests and CI notes for settings feature 2026-05-16 20:21:43 +02:00
henry 7fdef49b8c feat(settings): wire ANALYSIS_BACKGROUND into landing loader and add CI notes 2026-05-16 20:20:36 +02:00
henry 0ee89cf052 feat(settings): add settings route and API updates\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 20:19:35 +02:00
henry d25a7e9ff5 docs: add settings page design (app-wide DB-backed)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 20:05:22 +02:00
henry 329b83a17c UI: ensure dark text on job detail and job history cards (avoid white-on-light backgrounds)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 15:13:38 +02:00
henry 77032a3c3a fix: improve stock detail page design
- Fix font colors (gray-900 for headings, gray-600 for secondary text)
- Replace JSON pre block with styled orders table
- Update design spec with visual details
2026-05-14 11:08:29 +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 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 8429db504a feat: add stock indicators route and Alpaca account info
- New /stocks route with StockViewer component
- New /api/indicators endpoint with SMA, EMA, RSI, MACD
- New /api/alpaca/account endpoint
- AlpacaAccountInfo component on home page
- Indicator calculation utilities
- Tests for utilities and components
- Vite proxy config for /api
2026-05-12 21:07:18 +02:00