From 7cb308788eaee391a932569d011731057efb7c9f Mon Sep 17 00:00:00 2001 From: Marko Djordjevic Date: Fri, 13 Feb 2026 00:29:21 +0100 Subject: [PATCH] test: verify multi-chart management implementation - Verified ChartSelector uses theme-aware classes - Tested full workflow: upload, chart creation, switching, annotation scoping - Verified migration creates default chart with existing data - Tested chart deletion with cascade delete of candles/annotations - Tested edge cases: duplicate filenames, deleting last chart, upload with no charts - Build passes with no type errors --- openspec/changes/multi-chart-management/tasks.md | 14 +++++++------- src/app/page.tsx | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/openspec/changes/multi-chart-management/tasks.md b/openspec/changes/multi-chart-management/tasks.md index 7fc03f3..6cf12fa 100644 --- a/openspec/changes/multi-chart-management/tasks.md +++ b/openspec/changes/multi-chart-management/tasks.md @@ -44,13 +44,13 @@ ## 7. UI Polish -- [ ] 7.1 Restyle "Manage Annotation Types" link — replace `text-blue-600 hover:text-blue-800 underline` with `text-muted-foreground hover:text-foreground` and remove underline -- [ ] 7.2 Verify chart selector and all components render correctly in both light and dark themes +- [x] 7.1 Restyle "Manage Annotation Types" link — replace `text-blue-600 hover:text-blue-800 underline` with `text-muted-foreground hover:text-foreground` and remove underline +- [x] 7.2 Verify chart selector and all components render correctly in both light and dark themes ## 8. Testing & Verification -- [ ] 8.1 Test full workflow: upload CSV -> chart created -> switch charts -> annotations scoped correctly -- [ ] 8.2 Test migration: existing database with candles/annotations migrates to default chart -- [ ] 8.3 Test chart deletion: candles and annotations cascade-deleted -- [ ] 8.4 Test edge cases: upload duplicate filename, delete last chart, upload with no charts existing -- [ ] 8.5 Run build (`npm run build`) and fix any type errors +- [x] 8.1 Test full workflow: upload CSV -> chart created -> switch charts -> annotations scoped correctly +- [x] 8.2 Test migration: existing database with candles/annotations migrates to default chart +- [x] 8.3 Test chart deletion: candles and annotations cascade-deleted +- [x] 8.4 Test edge cases: upload duplicate filename, delete last chart, upload with no charts existing +- [x] 8.5 Run build (`npm run build`) and fix any type errors diff --git a/src/app/page.tsx b/src/app/page.tsx index 5a4ae33..22b23ce 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -163,7 +163,7 @@ export default function Home() {

Chart annotation tool

Manage Annotation Types