Remove cross-mode “Also matches in other modes” panel and related mounts/tests - #1804
Conversation
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in:46 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (21)
Comment |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:982d912e1f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Uh oh!
There was an error while loading. Please reload this page.
BigSimmo
commented
Aug 10, 2026
@codex resolve actionable Codex review findings for this pull request and current head using the repository instructions. This is the pull request's single automatic repair pass: do not perform a fresh review, create new standalone findings, or request another review. Work only the existing unresolved Codex threads on the current head. The only repository destination is BigSimmo/Database, and the only branch destination is the pull request head branch codex/remove-also-matches-in-other-modes at starting commit 982d912; never publish fixes to a detached or synthetic work branch and never create a stacked pull request. Use the authenticated GitHub connector to commit each approved fix to BigSimmo/Database:codex/remove-also-matches-in-other-modes, then verify that the pull request head contains the published commit before reporting success. Always fix P0 and P1 findings. For P2 and lower findings, fix only clear, scoped, low-risk issues; otherwise disposition them with a concise reason. For a fixed thread, reply with as the first line and as the second line. For a no-code disposition, use followed by . These result markers authorize the workflow to close that exact thread only after it verifies a fixed commit is the pull request head; a local-only commit is not a fix. If publication or verification fails, do not use either result marker, do not claim success, and leave the thread open with the blocker. If human input or new authorization is required, do the same. Finish only after every actionable thread is fixed or dispositioned and closed, or explicitly left open for a human decision. Do not update the branch from main, address unrelated reviews, broaden scope, or create more than one scoped fix commit. Do not use external APIs, paid services, credentials, dependency changes, or broad refactors unless explicitly authorized. Add targeted tests where behavior changes and run the narrowest relevant validation. |
Summary
Testing
Publication Blocker
|
CI triageCI failed on this PR. Automated classification of the 2 failed job(s):
Compared with main CI run #9629 (cancelled). Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger. |
Uh oh!
There was an error while loading. Please reload this page.
Motivation
Also matches in other modes) triggered extra universal-search requests and added fragile UI/layout complexity across many modes.Description
src/components/clinical-dashboard/universal-search-also-matches.tsxand removed its imports and mount points from Tools/Answer/Documents/Forms/Services/Favourites/Prescribing/Differentials/Formulation and the dashboard (src/components/ClinicalDashboard.tsx)..medication-also-matchesCSS usage and cleaned up the related rules insrc/app/globals.css.UniversalSearchAlsoMatches, adjusted the smoke-style contract that previously accounted for the panel, and removed now-obsolete audit assertions; relevant tests updated undertests/.npm run format.Testing
npm run formatand it completed successfully.npm run testfor the affected suites (tests/audit-navigation-auth-regressions.test.ts, favourites/mode/dom tests, medication workspace, style-contracts); the invoked Vitest run completed with passing dots for the targeted suites.npm run ensure(local server identity check) and an automated Playwright run oftests/ui-universal-search.spec.ts(--project=chromium) which completed with statuspassedand produced a phone-sized verification showing the removed panel count = 0 (screenshot produced during verification).test-results/.last-run.jsonshows status: "passed").If you want, I can open a PR with these changes or narrow the removal to a subset of modes first; note that I did not push or create a remote PR from this environment.
Codex Task