refactor: remove line-deletion capability (already implemented)

Line deletion via Delete tool already exists in current implementation.
Focus on three new capabilities: label-management, docker-deployment, hacker-theme
This commit is contained in:
Marko Djordjevic 2026-02-12 14:46:23 +01:00
parent a236d2c065
commit c41eb622fe
3 changed files with 2 additions and 75 deletions

View file

@ -4,10 +4,6 @@ The candle annotator currently has basic line drawing functionality (Phase 1-4 c
## What Changes
### Line Management Enhancements
- **Delete Selected Line**: Add ability to delete the currently selected line using keyboard shortcut (Delete/Backspace key)
- **Delete All Lines**: Add button in Toolbox to clear all line annotations at once with confirmation dialog
### Label Management System
- **Delete All Labels**: Add button to remove all break_up/break_down markers with confirmation
- **Select Label**: Make label markers (arrows) clickable to select/highlight them
@ -43,7 +39,6 @@ The candle annotator currently has basic line drawing functionality (Phase 1-4 c
## Capabilities
### New Capabilities
- `line-deletion`: Delete selected line or all lines at once
- `label-management`: Complete CRUD interface for label annotations in sidebar
- `docker-deployment`: Containerized deployment with docker-compose
- `hacker-theme`: Terminal-inspired minimal dark theme with neon accents
@ -56,7 +51,6 @@ The candle annotator currently has basic line drawing functionality (Phase 1-4 c
### Code Changes
- **Database**: No schema changes needed (existing tables support all operations)
- **Components**:
- `SvgOverlay.tsx`: Add keyboard delete handlers, bulk delete logic
- `Toolbox.tsx`: Add label list UI, delete buttons, collapsible sections, theme styling
- `CandleChart.tsx`: Add label selection click handlers, highlight logic
- `page.tsx`: Add state for selected label, pass callbacks