Repository navigation
fix(hud): keyboard navigation in the language menu - #1050
Conversation
Opening the HUD language menu now focuses the language in use, and ArrowUp/ArrowDown move between languages, wrapping. The arrow handling is the editor wordmark menu's, moved to src/lib/menuKeyboard.ts so both menus share it.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (4)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughA shared helper handles arrow-key focus movement in the editor app menu and HUD language menu. The HUD language menu focuses the active locale when it opens. Tests cover focus, navigation, and locale selection. ChangesMenu keyboard focus
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The language menu’s keyboard navigation is covered by the supplied tests, with no established issue blocking merge. 🚥 Pre-merge checks | ✅ 3 | ❌ 1 | ❓ 1❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
Full details: Linked Issues checkExplanation [
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
src/lib/menuKeyboard.tsand shared by both menus.Related issue
Closes #1015
Type of change
Release impact
Desktop impact
Testing
🤖 Generated with Claude Code
Summary by CodeRabbit