Claude/site formatting polish b91374#506
Conversation
…n taps Rebuilt on top of #483's redesigned interactive detail page (which already fixed the wrapping action labels and tab-label wrap). Remaining polish: - Add a .focus-ring-tab class (inset rounded ring: outline-offset -4px, no halo) so keyboard focus no longer draws a full-height box that collides with the tablist border; inactive tabs get a transparent bottom border to remove the 2px layout jump on tab switch. - Keep #483's roving-tabindex keyboard nav, nowrap and flex-1 layout intact. - shrink-0 on the desktop action cluster so the Save icon button stops being crushed below 44px at ~1024px; nowrap on the Compare button. - Bump the two overlap-diagnosis chips to the 44px tap standard. - Regression test: detail Save action >=44px at 1024px, Overview tab single-line with no page overflow at 320px. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…on routes Still-present defects confirmed by a fresh sweep of current main (15 routes x 7 widths); none were addressed by recent main changes: - DocumentTagCloud: drop the focus: ring classes that painted a ring on mouse click; the global :focus-visible rule keeps the keyboard ring. - applications launcher category filters: mobile 28px / desktop 36px -> 44px, with whitespace-nowrap. - service detail Copy row buttons: 40px -> 44px. - favourites command-library More-actions buttons and library sidebar rows and compact toggle: 36px -> 44px. Deliberately left main's intentional lg:min-h-9 desktop density on the mode-home quick-link pills (AA-compliant for pointer). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…g home
The MedicationHome actions hardcoded description: "Prescribing-focused search."
for every prompt, ignoring the authored `medicationPrompts[].description` values
("Check renal dosing…", "Review opioid-use…", "Check maximum dose…") that the
prescribing-home responsive test asserts. Restore `description: prompt.description`
so each card shows its specific guidance and the advisory UI regression passes.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
📝 WalkthroughWalkthroughAdded JSDoc comments to eight React components across document tags, applications, favourites, differentials, and services. No executable logic, rendering behavior, or public interfaces changed. ChangesUI Component Documentation
Estimated code review effort: 1 (Trivial) | ~3 minutes 🚥 Pre-merge checks | ✅ 9 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (9 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
Summary
Verification
npm run verify:pr-localDuring development, use
npm run verify:cheapas the faster iteration gate before the final PR-local preflight.npm run verify:uiwhen UI, routing, styling, browser behavior, reduced-motion, or forced-colors behavior changednpm run verify:releasebefore release or handoff confidence claimsFor retrieval, ranking, selection, chunking, source/citation rendering, or answer-contract changes,
verify:pr-localrunseval:rag:offlineautomatically. Run the offline command directly during iteration before spending a live eval.npm run eval:retrieval:quality(must stay 36/36) when retrieval, ranking, selection, chunking, or scoring behavior changed — CI cannot run it (needs live keys), so run it locally and paste the summary. A metadata/governance-weighting change once buried correct docs (recall 1.0→0.76) and only this eval caught it.npm run eval:rag -- --limit 15+npm run eval:quality -- --rag-onlywhen answer generation, the synthesis prompt, or answer post-processing changed (grounded-supported must not drop; citation-failure 0)npm run check:production-readinesswhen clinical workflow, privacy, environment, Supabase, source governance, or deployment behavior changednpm run check:deployment-readinesswhen deployment startup, hosting, or rollout behavior changedClinical Governance Preflight
Complete this section when the change touches ingestion, answer generation, search/ranking, source rendering, document access, privacy, production env, or clinical output.
Clinical KB Database(sjrfecxgysukkwxsowpy)Notes