feat: implement section 10 - hotkey label assignment for span annotations

This commit is contained in:
Marko Djordjevic 2026-02-14 10:14:17 +01:00
parent 4089aab77c
commit b5e4d6573e
2 changed files with 70 additions and 12 deletions

View file

@ -73,9 +73,9 @@
## 10. Hotkey Label Assignment
- [ ] 10.1 Add keydown listener for span label hotkeys (active only when span tool is active and span range is selected)
- [ ] 10.2 On hotkey press: save span with mapped label (default confidence/outcome/notes), render rectangle, update sidebar — skip popover
- [ ] 10.3 Ignore hotkeys when span tool is inactive or no span range selected
- [x] 10.1 Add keydown listener for span label hotkeys (active only when span tool is active and span range is selected)
- [x] 10.2 On hotkey press: save span with mapped label (default confidence/outcome/notes), render rectangle, update sidebar — skip popover
- [x] 10.3 Ignore hotkeys when span tool is inactive or no span range selected
## 11. Export Endpoints