Repository navigation
improve(ui): search within Settings pages - #104675
shakkernerd merged 13 commits into
Conversation
|
Codex review: found issues before merge. Reviewed July 12, 2026, 7:43 AM ET / 11:43 UTC. Summary PR surface: Source +461, Tests +231. Total +692 across 18 files. Reproducibility: not applicable. This PR adds a deeper Settings search capability rather than reporting broken established behavior; the intended interaction is covered by mocked-Gateway E2E but not independently reproduced in a real setup. Review metrics: none identified. Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Keep the single shared matcher and router-backed deep-link design, but derive nested labels and searchable copy from localized/schema-owned metadata, adapt it to current main, and provide real-browser proof of selection through active destination state. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds a deeper Settings search capability rather than reporting broken established behavior; the intended interaction is covered by mocked-Gateway E2E but not independently reproduced in a real setup. Is this the best way to solve the issue? Mostly yes at the architecture level: reusing the recursive config matcher and router state is preferable to a parallel search system, but the English-only static metadata is not the narrowest maintainable owner boundary. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1389d7ee88c5. Label changesLabel justifications:
Evidence reviewedPR surface: Source +461, Tests +231. Total +692 across 18 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
5c2e104 to
64100f9
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
64100f9 to
ecb9f22
Compare
|
Merged using rebase. What changed after review:
Verification:
Landed on
Thanks @vyctorbrzezowski! |
Related: #103138
What Problem This Solves
The Settings sidebar search only matches top-level pages and group headings. Users still need to know which page owns a specific setting, so queries such as
avatar,MCP,CPU, orpush notificationscannot lead them to the relevant block.Why This Change Was Made
This PR extends the existing search with block metadata for Quick Settings and virtual sections, plus the existing recursive schema-field matcher for advanced configuration. Direct page matches stay first, nested results are grouped under the same localized page label used by the sidebar, and selecting a result opens and scrolls to the matching block.
One- and two-character queries use word-prefix matching instead of arbitrary substrings, so
cpmatchesCPUwithout also matchingMCPorACP. Queries of three or more characters retain substring matching.User Impact
Users can search for the setting they remember instead of first guessing its page. Results preserve their page context, and deep links open the correct Quick Settings card, virtual section, or schema section.
Evidence
node scripts/run-tsgo.mjs -p tsconfig.ui.json --incremental false.cpregression.git diff --check origin/main...HEAD.Proposed deep-search results
Gateway-related pages and matching blocks:
MCP page plus the matching General block:
Avatar search routed to the Personal block:
This is AI-assisted work. The implementation was manually reviewed against the current Settings navigation, config schema search, route behavior, and focused automated proof.