Repository navigation
Show ⌘K thread titles first with the matching message underneath - #4962
Merged
Merged
Conversation
- Keep a highlighted ⌘K row visible when server results push it past the group limit, so Enter still opens the chosen thread. - Build ⌘K rows only for the top 50 local matches, match project names once per project, and skip the Personal project's hidden name. - Put Go back / Go forward first in the default bindings so a user's own Mod+[ / Mod+] binding wins, and skip them while the in-app browser has focus. - Offer Go back / Go forward in ⌘⇧P only when there is somewhere to go. - Correct the docs on what the shortcuts do at either end of history. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Thread title text keeps whitespace exactly, so message excerpts with line breaks or code blocks rendered as tall multi-line rows in ⌘K. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every thread row keeps the hint's space and shows it only when highlighted, so excerpts truncate at the same edge. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A thread that matched by title and by a message showed the message excerpt and moved its title to the details line. The title now stays on top, and Enter still opens the thread at the matched message. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every row leads with the thread title. When a message matched, the second line shows that excerpt instead of project and time, so the row shows what Enter will jump to. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Threads whose title contains every query word now come before threads found only by a message, in both Active and Archived. Adds an eval for searching "moss plugins", where the server ranked the exact title match third. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…iew-followups-thr_tm8utsbqpb
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… open Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n highlight Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl
added a commit
that referenced
this pull request
Oct 6, 2026
## Human comments ## What was wrong The ⌘[ / ⌘] shortcuts from #4897 overrode a user's own binding on the same key, ran inside the in-app browser, and showed in ⌘⇧P with nowhere to go. The docs also said the keys do nothing at either end of history, but on the web the browser's own Back runs. ## What changed - A user's own ⌘[ / ⌘] binding now wins over Go back / Go forward. - Go back / Go forward no longer run while the in-app browser has focus. - ⌘⇧P lists Go back / Go forward only when there is somewhere to go. - `docs/configuration.md` describes what happens at either end of history. ## How you verified - Remote CI: passed on 7a435a3. [Run](https://github.com/get-bb/bb/actions/runs/37443067390) - Chrome for Testing via bb Browser Automation, headless at 2×, on 7a435a3. - A fresh window's ⌘⇧P lists neither command; after opening another thread, only Go back. - Earlier QA: with Previous thread rebound to ⌘[, ⌘[ opened the thread above instead of going back. - Not run end to end: the desktop-only in-app browser case, covered by a server binding test. ### Screenshots Before: fd31b75 (merge base) · After: 7a435a3 · Captured at 2× | Screen / state | Viewport | Before | After | | --- | --- | --- | --- | | ⌘⇧P / type "go", fresh window | Desktop · 1440×900 |  |  | | ⌘⇧P / type "go", fresh window | Mobile · 390×844 |  |  | | ⌘⇧P / type "go", after opening another thread | Desktop · 1440×900 |  |  | Split out of #4962. Follows #4897. BB-Thread: [⌘K improvements](https://brsbl.getbb.app/projects/proj_khiw2za95v/threads/thr_tm8utsbqpb) 🤖 Generated with [Claude Code](https://claude.com/claude-code) > AGENT GENERATED Co-authored-by: Claude Opus 5.5 <[email protected]>
brsbl
added a commit
that referenced
this pull request
Oct 6, 2026
## Human comments ## What was wrong Server thread search kept `_` inside a query word, so `foo_bar` became the full-text phrase "foo" then "bar". ⌘K's title check, and the search index itself, treat `_` as a word break. As a result, ⌘K could move a thread into its title-match section when the server had ranked it as a message-only match, and a title with both words apart, like "Search the thread list" for `thread_search`, wasn't found at all. ## What changed - Thread search now splits queries on `_` the same way it splits on spaces and hyphens. - `thread_search` finds threads containing both "thread" and "search", ranking titles with both words first. - Highlights cover each word separately. - Underscored queries no longer require the words to be next to each other, matching how hyphenated queries already behave. ## How you verified - Remote CI: passed on 44e1c7a, including the new db test. Two unrelated Windows server timeouts passed on rerun. [Run](https://github.com/get-bb/bb/actions/runs/37511624334) - New db test: `thread_search` ranks "Search the thread list" first and highlights both words. Today's code doesn't find that title at all. - New ⌘K unit case: `thread_search` treats "Search the thread list" as a title match, the same as the server. Follows #5003 and #4962. BB-Thread: [⌘K improvements](https://brsbl.getbb.app/projects/proj_khiw2za95v/threads/thr_tm8utsbqpb) 🤖 Generated with [Claude Code](https://claude.com/claude-code) > AGENT GENERATED Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Human comments
What was wrong
⌘K buried exact title matches under message matches, and multi-line excerpts hid each row's thread name. Its highlight could also jump to another thread when server results arrived.
What changed
How you verified
Screenshots
Before: fd31b75 (merge base) · After: a258a28 · Captured at 2×
The back/forward shortcut fixes moved to #5013.
BB-Thread: ⌘K improvements
🤖 Generated with Claude Code