Commit Graph

126 Commits

Author SHA1 Message Date
henry ff798abf04 chore: remove verbose console.log output from analyze API, keep only error/warn logs 2026-05-16 22:24:22 +02:00
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 17ba788419 fix: delete button - add error handling and fix variable shadowing in filter callback 2026-05-16 22:16:42 +02:00
henry f8a3b7840f fix: consolidate 3 fetchBars calls into 1 per stock and add 500ms delay between sequential loads to avoid rate limiting 2026-05-16 22:14:21 +02:00
henry 5e865b9c26 feat: auto-load technical indicators on page load and show loading states in all cells 2026-05-16 22:09:03 +02:00
henry 046e81ffc1 feat: rewrite analyze page with technical indicators column and signal summary 2026-05-16 22:05:01 +02:00
henry 898f4f48dc fix: show running job status when viewing in-progress jobs and auto-poll for completion 2026-05-16 21:54:54 +02:00
henry 115363baad refactor: rewrite analyze.ticker page with compact job history, live results, position and orders display 2026-05-16 21:48:58 +02:00
henry 2ab55060f3 feat: wire TradingGraph to use settings for model, temperature, and risk config 2026-05-16 21:37:27 +02:00
henry ae45071973 fix: address final review issues - promise handling, error scoping, controlled inputs, SortHeader 2026-05-16 21:30:00 +02:00
henry 2c0d639c32 fix: use shared db instance in settingsService to resolve Prisma type errors 2026-05-16 21:23:19 +02:00
henry 1f7c07b427 fix: improve settings page error handling, race condition, and metadata 2026-05-16 21:21:35 +02:00
henry 07c7182ed6 feat: rewrite settings page with sidebar navigation and structured sections 2026-05-16 21:17:41 +02:00
henry 47e48c4902 fix: use useMemo for derived rawSettings and remove unused imports in SystemSettings 2026-05-16 21:14:58 +02:00
henry 8f58caee01 feat: add SystemSettings component with Alpaca mode and raw settings 2026-05-16 21:11:37 +02:00
henry d83620c493 fix: improve StockTable save behavior, accessibility, and structure 2026-05-16 21:09:11 +02:00
henry bf628f67b6 feat: add StockTable component with search, sort, pagination, inline editing 2026-05-16 21:04:09 +02:00
henry 2d6551fd35 fix: improve TradingSettings validation, debounce, accessibility, and cleanup 2026-05-16 21:01:08 +02:00
henry faf642b043 feat: add TradingSettings component with risk management defaults 2026-05-16 20:57:16 +02:00
henry c04f35a1b9 fix: improve LlmSettings types, accessibility, debounce, and defaults 2026-05-16 20:55:03 +02:00
henry 5dca683b88 feat: add LlmSettings component with model, temperature, debate rounds 2026-05-16 20:50:33 +02:00
henry fd47982086 fix: remove unused React import and add aria-current to SettingsSidebar 2026-05-16 20:48:53 +02:00
henry c3886f0925 feat: add SettingsSidebar component with section navigation 2026-05-16 20:45:56 +02:00
henry bf67a93b31 feat: add notes field to stocks API upsert 2026-05-16 20:42:22 +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 d370412c51 feat(settings): register admin settings API routes\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 20:26:49 +02:00
henry 699c4eae26 test(e2e): fix duplicate base const in job-history spec 2026-05-16 20:25:06 +02:00
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 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 eb999444d7 fix(.gitignore): add playwrite-out to ignored files
Run Tests / test (push) Successful in 38s
2026-05-16 20:20:03 +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 9b63d981b0 fix(settings): store JSON as string in DB and parse on read\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 20:18:32 +02:00
henry dba81832c1 feat(settings): add SettingsService with cache and emitter\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 20:11:02 +02:00
henry 9b8afa2605 feat(settings): add admin settings API routes
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-16 20:10:46 +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 364b1cd7e0 chore(db): add AppSetting model
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-16 20:10:40 +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 74ebf0b6e3 Feat(api): support fetching bars from paper or live Alpaca (default paper) via alpacaClient.fetchBars\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 18:08:15 +02:00
henry e88deac193 Add API route for price-stream 2026-05-16 18:01:48 +02:00
henry 91659e997a Build: make server-only imports dynamic in analyze route to avoid client bundling errors\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 17:58:25 +02:00
henry b2e0568bfd Fix(types): LLM types, execution LLM call safety, analyze defaults; skip tests in tsconfig for dev typecheck\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 17:57:53 +02:00
henry c4873daf3b Dev: disable SSR to avoid jsx-dev-runtime mismatch during local dev (temporary)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 17:51:20 +02:00
henry 5358ee6f97 Fix: use ReadableStream cancel() to cleanup interval (avoid controller.signal TS error)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-16 17:44:03 +02:00
henry 93056b7ecd Fix JSX syntax: close conditional expression in analyze.ticker.tsx (add missing }) 2026-05-16 15:31:00 +02:00
henry 0e8339d614 UI: surface buying/selling suggestion and execution plan in portfolio and stock detail (show last saved suggestion)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-05-16 15:27:41 +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 3ed894015a 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:19 +02:00