feat: complete SVG overlay removal and line endpoint dragging (tasks 6.1-7.3)
This commit is contained in:
parent
aea1791122
commit
73e07c9050
4 changed files with 159 additions and 601 deletions
|
|
@ -37,15 +37,15 @@
|
|||
|
||||
## 6. Remove SVG Overlay
|
||||
|
||||
- [ ] 6.1 Remove `SvgOverlay` import and JSX from `CandleChart.tsx`
|
||||
- [ ] 6.2 Delete `src/components/SvgOverlay.tsx`
|
||||
- [ ] 6.3 Move line annotation primitive management into CandleChart (replace what SvgOverlay was doing — loading saved lines, managing line primitives on annotation fetch/delete)
|
||||
- [x] 6.1 Remove `SvgOverlay` import and JSX from `CandleChart.tsx`
|
||||
- [x] 6.2 Delete `src/components/SvgOverlay.tsx`
|
||||
- [x] 6.3 Move line annotation primitive management into CandleChart (replace what SvgOverlay was doing — loading saved lines, managing line primitives on annotation fetch/delete)
|
||||
|
||||
## 7. Line Endpoint Dragging
|
||||
|
||||
- [ ] 7.1 Implement drag detection — when a selected line's endpoint handle is clicked (via hitTest near endpoint), enter drag mode
|
||||
- [ ] 7.2 On crosshair move during drag, call `trendLine.updatePoints()` to reposition the dragged endpoint in real-time
|
||||
- [ ] 7.3 On click to release drag, persist updated geometry via PATCH /api/annotations/{id}
|
||||
- [x] 7.1 Implement drag detection — when a selected line's endpoint handle is clicked (via hitTest near endpoint), enter drag mode
|
||||
- [x] 7.2 On crosshair move during drag, call `trendLine.updatePoints()` to reposition the dragged endpoint in real-time
|
||||
- [x] 7.3 On click to release drag, persist updated geometry via PATCH /api/annotations/{id}
|
||||
|
||||
## 8. Verification
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue