Editor has no 'next/previous path' arrow navigation in the right panel's path list — only single-click selection works, and Tab/Shift+Tab cycle nodes within a path #201
Labels
No labels
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:verify-failed
bug
deferred
feature-request
in-progress
needs-decompose
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/Kimi_Agent_Brother_10_Digitizing_App#201
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding
src/components/editor/EditorRightPanel.tsx's "Path List" section (line 142-180) renders one row per path. Each row has:There are no "next/previous" navigation buttons or arrow-key handlers. The user with 5 paths in a design:
grep -n 'nextPath\|prevPath\|arrow.*path\|cyclePath' src/components/editor/EditorRightPanel.tsxreturns 0 hits.The keyboard shortcut
Alt+]/Alt+[(per #194) would address this, but the right panel UI itself has no visible affordance either. Power users will discover the keyboard; new users won't.Where
src/components/editor/EditorRightPanel.tsx:142-180grep -n 'cyclePath\|nextPath' src/components/editor/EditorRightPanel.tsxreturns 0src/components/editor/useKeyboardShortcuts.ts(no path cycle binding)Suggested fix shape
Two changes:
Alt+]/Alt+[touseKeyboardShortcuts.ts(per #194).cyclePath(delta: 1 | -1)finds the current path's index inpaths, advances bydelta(modulo length), and dispatchessetSelectedPathId.Severity
Low. The user can click in the list. Power users with many paths feel the friction.
Discovered by
Gap analysis (2026-10-02) of editor path navigation.
Related
Shipped in
2b8f640on origin/main.Companion UI for #194 (Alt+]/Alt+[ keyboard cycle).
Changes:
src/components/editor/EditorRightPanel.tsx: added optionalonCyclePathprop + apaths-cycle-toolbarrow with Prev/Next buttons (ChevronUp/ChevronDown) at the top of the Paths section. Wired toEditor.handleCyclePathso the buttons and keyboard stay in lockstep.src/pages/Editor.tsx: passeshandleCyclePathinto the panel.currentIndex === -1-> no-op contract). Hidden when there are no paths or when the parent doesn't wire the prop (backwards-compatible).src/components/editor/EditorRightPanel.test.tsx: +6 tests covering render, click-prev, click-next, disabled state, hide-on-empty-paths, hide-on-unwired-prop.Verification: 47/47 panel tests pass, full suite 894/894 pass,
tsc -bclean, ESLint clean,vite buildsucceeds.