feat: create ChartSelector component with dropdown, delete, and empty state

This commit is contained in:
Marko Djordjevic 2026-02-13 00:14:53 +01:00
parent 90e1e179cc
commit a3c7137b01
2 changed files with 123 additions and 3 deletions

View file

@ -28,9 +28,9 @@
## 5. Chart Selector UI Component
- [ ] 5.1 Create a `ChartSelector` component with dropdown listing all charts (name + created date), positioned in the sidebar between header and file upload
- [ ] 5.2 Add delete button per chart in the dropdown with confirmation dialog
- [ ] 5.3 Show "No charts — upload a CSV to get started" placeholder when no charts exist
- [x] 5.1 Create a `ChartSelector` component with dropdown listing all charts (name + created date), positioned in the sidebar between header and file upload
- [x] 5.2 Add delete button per chart in the dropdown with confirmation dialog
- [x] 5.3 Show "No charts — upload a CSV to get started" placeholder when no charts exist
## 6. Frontend State & Data Flow