Redesign DSM compare page for compact header and mobile-friendly layout - #2409
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Warning Review limit reachedNext included review available in 59 minutes. View limit detailsLimit details: You’ve used the included review currently available. Your 97 included PR review attempts over the past 7 days set your current allowance at 1 review per hour. Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
Comment |
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_052db315-73b0-4a32-8c5e-233f3ac1ba49) |
Co-authored-by: Cursor <cursoragent@cursor.com>
CI triageCI failed on this PR. Automated classification of the 2 failed job(s):
Compared with main CI run #14119 (failure). Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger. |
Point the route-coverage remove step at the shared slot-strip button and compact cleared compare ids so the URL stays ids=<remaining>. Co-authored-by: Cursor <cursoragent@cursor.com>
Uh oh!
There was an error while loading. Please reload this page.
Summary
/dsm/comparewith a compactDsmPageHeader(Compare diagnoses,homeIcon={false}) and unified comparison grid with ask-this prompt and footer disclaimer.homeIcon?: LucideIcon | falsetoInformationPageBreadcrumbsfor pages that should not show a back/home crumb control.Verification
Risk
Low — DSM UI and breadcrumb presentation only.
RAG impact: no retrieval behaviour change — compare page layout and header chrome only.
Test plan
npx vitest run tests/information-page-shell.dom.test.tsx tests/dsm-comparison-page.dom.test.tsx tests/dsm.test.ts tests/dsm-compare-remove-link.dom.test.tsx/dsm/comparewith 0/1/2/3 selected diagnoses (mobile + desktop)Note
Low Risk
Presentation-only changes to DSM compare UI and breadcrumb chrome; no API, auth, or clinical data logic changes.
Overview
Redesigns
/dsm/comparearound a single responsive comparison card instead of separate selected-diagnosis tiles, a desktop table, and mobile row cards. Diagnoses are labeled A/B/C, each column shows summary plus Open record, criteria rows reuse the same badges, and Differential review is offered per diagnosis at the bottom.The page header is tightened: title Compare diagnoses, shorter description, no page icon, and breadcrumb home can be text-only when mode nav already handles wayfinding.
DsmPageHeadernow points the home crumb at DSM search (dsmSearchHref) and accepts optionalhomeIcon/iconoverrides;InformationPageBreadcrumbsaddshomeIcon?: falsefor the same pattern elsewhere.Adds an Ask this clinical prompt block and a centered footer disclaimer. DOM and Playwright coverage are updated for the new title and unified layout (no duplicate “Selected diagnoses” section).
Reviewed by Cursor Bugbot for commit 5c5513b. Configure here.