Relocate and redesign Also in your library cross-mode links - #340
Conversation
…ver, medication badges - Redirect /?mode=favourites and /?mode=differentials to their standalone routes preserving q/focus/run query params; add matching Playwright tests - Add CrossModeLinksSection component and cross-mode-links/differentials libs; show in ClinicalDashboard after document search - Add SourcePreviewPopover component fixing missing-module build error (answer-content.tsx already imported it); fix click-outside anchorRef race - Add clinical-badge.tsx and medication-badges.ts with badge logic + unit tests - standalone /applications route now uses desktopSearchPlacement=hero - differentials route passes run param; DifferentialsHomePage respects it - Update global search shell, sidebar, answer surfaces, source-actions, medications API, and prescribing workspace for this feature set - Expand ui-smoke and ui-tools Playwright coverage for new routing
Lock in the inline placement contract so the strip stays directly below answer content rather than at the page footer. Co-authored-by: Cursor <cursoragent@cursor.com>
This pull request has been ignored for the connected project Preview Branches by Supabase. |
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
BigSimmo
commented
Jul 6, 2026
@copilot resolve the merge conflicts in this pull request |
BigSimmo
commented
Jul 6, 2026
@copilot resolve the merge conflicts in this pull request |
Integrate main's tools-catalog launcher, portal-based SourcePreviewPopover, and API comment updates while preserving PR #340's relocated cross-mode links strip (inline below answer content, redesigned cards). Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Merge left two identically named Playwright tests in ui-smoke.spec.ts; keep the answer-surface placement assertion. Format six files that failed format:check on CI. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
BigSimmo
commented
Jul 7, 2026
ui-smoke failure diagnosis (run 28839214460, both retries — not a flake): All five failures are this PR's own new/extended expectations in Likely wiring gap: Also in the logs mid-run: a 400 Left unfixed deliberately: this branch was pushed minutes before the run and looks actively iterated, so patching it externally risked colliding with in-flight work. 🤖 Diagnosis by Claude Code |
…ssertions Pass modeHomeDesktopComposerSlotId and URL query into the standalone applications launcher so the shared global search portals into the hero. Fix ui-tools search-route coverage to assert each mode's own toggle (Forms, Favourites, Differentials) instead of always Mode Services. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
…format check) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
BigSimmo
commented
Jul 7, 2026
Pushed 🤖 Addressed by Claude Code |
Read the shell query from SearchCommandProvider so typing in the shared composer live-filters the tools grid on /applications. Drop /applications from tablet hero-centering coverage (wider hub layout) and remove the /?mode=favourites hero-sizing case now that it redirects to the command library surface. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
…ions - Only pass controlled query prop when URL has ?q= so SearchCommandProvider can drive filtering when the user types in the shared composer - Drop /applications from mobile centering loop (tools hub layout differs) - Drop /favourites from tablet centering loop (command library layout differs) Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Summary
src/lib/cross-mode-links.ts), slim medications index API (fields=index), click telemetry, and documents-mode strip above search resultsTest plan
tests/cross-mode-links.test.ts— entity matching and thread fallbacktests/search-interaction-route.test.ts— cross-mode click telemetrytests/ui-smoke.spec.ts— strip visible inside[data-dashboard-stage="answer-surface"], above follow-ups when present, navigates to medication detailnpm run verify:uion CI