You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A quoted thread search such as "open cafe" also matched a title like "Open Caféteria" when the accent was stored as a separate mark, because the mark after the last quoted word was read as the end of the word. The exact-phrase matcher now treats separate accents (including the extended combining blocks) as part of the word before them. Title word boundaries also look through those accents to the base letter, so "Open CaféTools" splits the same way whether the é is composed or decomposed.
Commit 8fc71a2eec (main). The results include Open Caféteria. Expected: A quoted search matches the whole words open cafe.
Name a thread Open Caféteria, using a separate accent mark after the e.
Open the command palette.
Search for "open cafe", including the quotes.
The cause is at packages/shared/src/paletteSearch.ts:483. Ran pnpm scenarios:prove scripts/scenarios/quoted-thread-search-excludes-longer-accented-title.e2e.ts --target web with the repro scenario added: it failed in 2 of 2 runs on a clean boat.dev VM, with expect.toHaveCount failed in the output.
Evidence
Environment: The web app in Chromium on Linux x64, a fresh checkout on a boat.dev VM reset before each run.
…nger accented word
A separate accent mark after the last quoted word was read as a word
boundary, so "open cafe" matched "Open Caféteria". The accent now
belongs to the word before the boundary check.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…s decomposed accents
A decomposed accent now takes its letter's place when finding title word
starts, so "CaféTools" splits like "CaféTools", and accents from the
extended combining blocks no longer end a quoted word.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Macroscope's review found this PR approvable — This change makes quoted search respect word boundaries around decomposed accents and keeps accented camelCase boundaries consistent. Its effects are limited to search matching and highlighting, with no material operational or data risk identified.
You can add or adjust custom eligibility rules. Learn more.
Reviewing files that changed from the base of the PR and between 6f26921 and 7e9926e.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
Quoted phrase search now handles combining marks when detecting word boundaries and setting match ranges. Unit and browser tests cover accented titles, quoted queries, and highlight ranges.
The search logic recognizes additional combining-mark ranges, preserves word-start detection across combining marks, and extends phrase matches over trailing marks. Unit and browser tests cover longer accented titles, valid phrase boundaries, and highlight ranges.
Quoted thread search should no longer match a longer accented word such as "Caféteria" for the query "open cafe". The change is small, self-contained and covered by tests, so merge risk is minimal.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: quoted thread search no longer matches the start of a longer accented word. It follows the conventional commit form and is specific to the fix in paletteSearch.ts and …
Description check
The description covers the problem, the change, the reproduction steps, the scope link (#47191 as related), and the verification. It states the expected behavior, shows before and after evidence with …
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: quoted thread search no longer matches the start of a longer accented word. It follows the conventional commit form and is specific to the fix in paletteSearch.ts and its tests. The title is 87 characters, which is long, but it is still a single clear sentence.
Full details: Description check
Explanation
The description covers the problem, the change, the reproduction steps, the scope link (#47191 as related), and the verification. It states the expected behavior, shows before and after evidence with a failing test on the test commit and a passing run on the head, and lists the commands run. It also names the out-of-scope items and the authors. The Scope section gives a related issue reference but does not clearly say the reference is the bug report. The description covers the template well enough to pass.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
On each commit, seeded a fresh demo project through t3.project/t3.thread with Open Cafe today, Open Cafe\u0301 today, Open Cafe\u0301teria, Open Caf\u00e9teria composed, Open Cafe\u0301Tools, and Open Caf\u00e9Tools composed. Opened the first thread, pressed Ctrl+K, captured unquoted open cafe, quoted "open cafe", and quoted "tools", waiting for message search to settle before each capture.
Environment for every capture: real web client in Chromium, 1280×800, light theme, isolated fresh databases and Replay (dev); same scenario on both commits. Unicode escapes above identify the seeded code points.
Scenario: Quoted searches respect accented word and camelCase boundaries
Base visibly includes decomposed Caféteria for "open cafe" and omits decomposed CaféTools for "tools". Head excludes Caféteria, retains Café today, and finds both CaféTools normalization forms. The composed camelCase control carries the suffix "composed".
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
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.
A quoted thread search such as "open cafe" also matched a title like "Open Caféteria" when the accent was stored as a separate mark, because the mark after the last quoted word was read as the end of the word. The exact-phrase matcher now treats separate accents (including the extended combining blocks) as part of the word before them. Title word boundaries also look through those accents to the base letter, so "Open CaféTools" splits the same way whether the é is composed or decomposed.
Related: #47191
Reproduction on main
Commit 8fc71a2eec (main). The results include
Open Caféteria. Expected: A quoted search matches the whole wordsopen cafe.Open Caféteria, using a separate accent mark after thee."open cafe", including the quotes.The cause is at
packages/shared/src/paletteSearch.ts:483. Ranpnpm scenarios:prove scripts/scenarios/quoted-thread-search-excludes-longer-accented-title.e2e.ts --target webwith the repro scenario added: it failed in 2 of 2 runs on a clean boat.dev VM, withexpect.toHaveCount failedin the output.Evidence
Environment: The web app in Chromium on Linux x64, a fresh checkout on a boat.dev VM reset before each run.
Proven: the repro fails at the test commit cb8df6b9f9 and passes on the head 6f26921744, both on main ce060f9b11.
The results include
Open Caféteria.A quoted search matches the whole words
open cafe.Tests
pnpm exec vp run check:changed ce060f9b117527e5a61f71ccee3cec970c6f4284passed on head.Not in this change
Who did the work
Made in T3 Code by GPT 6.2 Sol and Claude Opus 5.5