Skip to content

Commit c0d2d52

Browse files
committed
docs(mdviewer): add test cases for F-keys, slash menu scroll, popup escape
1 parent 90a303a commit c0d2d52

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src-mdviewer/to-create-tests.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- [ ] Ctrl+A/C/V/X in edit mode work natively (select all, copy, paste, cut)
1212
- [ ] Escape in edit mode sends focus back to Phoenix editor
1313
- [ ] F-key shortcuts (e.g. F8 for live preview toggle) work in edit mode
14+
- [ ] F-key shortcuts work in reader mode
1415

1516
## Document Cache & File Switching
1617
- [ ] Switching between two MD files is instant (no re-render, DOM cached)
@@ -73,6 +74,14 @@
7374
- [ ] Link popover appears when clicking a link in edit mode
7475
- [ ] Link popover URL opens in default browser (not Electron window)
7576
- [ ] Link popover dismissed on scroll
77+
- [ ] Escape in link popover only dismisses popover, refocuses editor
78+
- [ ] Escape in slash menu only dismisses menu, refocuses editor
79+
- [ ] Escape in lang picker only dismisses picker, refocuses editor
80+
81+
## Slash Menu (/ command)
82+
- [ ] Arrow down/up scrolls selected item into view when outside viewport
83+
- [ ] Escape dismisses slash menu without forwarding to Phoenix
84+
- [ ] Selected item wraps around (last → first, first → last)
7685

7786
## Scroll Behavior
7887
- [ ] Cursor sync scroll is instant (not smooth animated)

0 commit comments

Comments
 (0)