feat(client): add a search box to the revision selector#438
Open
yoshiko-pg wants to merge 2 commits into
Open
Conversation
Add a sticky filter input at the top of the branch/commit dropdown so revisions can be narrowed down by typing, similar to GitHub's branch picker. Matching is case-insensitive across special option labels, commit hashes and messages, and branch names. Pressing Enter selects the first enabled match, and an empty state is shown when nothing matches. Also cap the dropdown height with the floating-ui size middleware so the list (and the new search box) always stays inside the viewport instead of overflowing off-screen. Implements suggestion 2 in #432. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Move the primary search experience into the DiffQuickMenu dropdown: a sticky filter input now sits above the Quick Diffs section. Typing filters across quick diff presets, recent commits (select for commit^...commit), and branches (select for branch...Uncommitted (merge-base)). Enter picks the first match and an empty state is shown when nothing matches. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements suggestion 2 from #432: a searchable branch/commit picker.
Quick menu (main dropdown)
commit^...commitbranch...Uncommitted (merge-base), consistent with the existing presetsDetailed Diff selector
sizemiddleware so the list always fits inside the viewport. Previously it could overflow off-screen when it flipped upward.Test plan
pnpm run dev: typinginlinein the quick menu narrows to the matching commit and thefeat/inline-reply-boxbranchPart of #432
🤖 Generated with Claude Code