Repository navigation
feat: filter keybind help - #1832
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughKeybind help now supports ChangesKeybind Help Search
Estimated code review effort: 3 (Moderate) | ~30 minutes Sequence Diagram(s)sequenceDiagram
participant Terminal
participant AppInput
participant KeybindHelpState
participant KeybindHelpUI
Terminal->>AppInput: Send search key
AppInput->>KeybindHelpState: Update query or focus
KeybindHelpState->>KeybindHelpUI: Apply query to keybind groups
KeybindHelpUI-->>Terminal: Display filtered bindings
Possibly related issues
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Greptile SummaryAdds searchable filtering to the keybind-help overlay.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/app/state.rs`:
- Around line 1385-1389: Move the presentation-only query and search_focused
fields out of the shared KeybindHelpState in AppState and into each client’s
overlay state, while keeping shared keybind-help data such as scroll where
appropriate. Update all keybind-help input and rendering paths to read and
mutate the client-local fields so one client’s filter state cannot affect
another.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 1893e009-98e6-4bc8-b753-3345a743428b
📒 Files selected for processing (9)
docs/next/website/src/content/docs/ja/keyboard.mdxdocs/next/website/src/content/docs/keyboard.mdxdocs/next/website/src/content/docs/zh-cn/keyboard.mdxsrc/app/input/mod.rssrc/app/input/modal.rssrc/app/input/overlays.rssrc/app/mod.rssrc/app/state.rssrc/ui/keybind_help.rs
commented
Jul 24, 2026
|
ty |
Summary
/-focused substring filtering to keybind help by displayed action and shortcutj/kscrolling outside search, withEscreturning to command mode before closingChecks
just checkrefs #1825
Summary by CodeRabbit
/to focus search, Backspace to edit, andCtrl+Uto clear; paste now fills the focused query.Esc/Shift+?behavior while searching.