Skip to content

Fix typography audit issues (clean supersede of #1185)#1200

Merged
BigSimmo merged 27 commits into
mainfrom
cursor/typography-audit-fixes-1c1e
Jul 26, 2026
Merged

Fix typography audit issues (clean supersede of #1185)#1200
BigSimmo merged 27 commits into
mainfrom
cursor/typography-audit-fixes-1c1e

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Summary

Clean re-delivery of the intentional typography audit tip from closed PR #1185, cherry-picked onto current main.

Scope:

  • Broader --font-sans fallback stack in globals.css (Geist remains first)
  • Truncation min-w-0 on recent-search chips
  • Remove redundant leading-tight on bedside sheet title
  • tabular-nums on clinical console abbrev
  • Sheet open-focus fix: late-mounted data-sheet-autofocus (Sources Find) can upgrade off the close-button fallback — unblocks Production UI smoke that failed twice on this tip

Nested answer-evidence mockup titles stay at h3 under section h2.

RAG impact: no retrieval behaviour change — CSS/mockup typography plus Sheet focus retry upgrade only.

Verification

  • npm run verify:cheap on cherry-pick tip (lint/typecheck/static; unit suite aside from known env flakes)
  • node scripts/run-vitest.mjs run tests/sheet.dom.test.tsx (5/5) after autofocus fix
  • Prettier on touched files
  • Hosted: awaiting Production UI / PR required on tip 7a9487774
  • Verification not run: npm run verify:pr-local / verify:ui locally (hosted Production UI is the Chromium gate)

Risk and rollout

  • Risk: Low-medium. Typography is visual-only; Sheet focus change is narrowly scoped to open-retry upgrading from the close fallback onto declared autofocus.
  • Rollback: Revert this PR.
  • Provider or production effects: None

Notes

BigSimmo added 3 commits July 25, 2026 21:41
Prettier wraps the expanded font-sans stack and collapses the mockup
heading so the push format guard passes. Ledger records the fresh
Bugbot/review verdict on contaminated #1185 and the clean replacement.
@supabase

supabase Bot commented Jul 25, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project sjrfecxgysukkwxsowpy because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@BigSimmo, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 49 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d20953c0-ee19-444e-90bf-20aa0637f9b1

📥 Commits

Reviewing files that changed from the base of the PR and between 79d1c87 and 6cf1fbc.

📒 Files selected for processing (7)
  • docs/branch-review-ledger.md
  • src/app/globals.css
  • src/app/mockups/recent-searches-bottom/page.tsx
  • src/components/calculator-mockups/bedside-sheet-mockup.tsx
  • src/components/calculator-mockups/clinical-console-mockup.tsx
  • src/components/clinical-dashboard/document-admin.tsx
  • tests/sheet.dom.test.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/typography-audit-fixes-1c1e

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

github-actions Bot and others added 5 commits July 25, 2026 14:08
Append ledger outcome for head 6bc0569: not ready due to nested
heading hierarchy regression and draft/CI blockers.
Keep sheet/modal titles as h3 under Section h2 so the mockup stays
h1 → h2 → h3. Add PR_POLICY_BODY.md with the typography summary so
Sync PR policy body stops reapplying the unrelated audit-remediation
description.
@BigSimmo
BigSimmo marked this pull request as ready for review July 25, 2026 14:31
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

CI triage

CI failed on this PR. Automated classification of the 2 failed job(s):

  • Production UIneeds investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.
  • PR requiredneeds investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.

Compared with main CI run #5589 (success).

Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger.

BigSimmo and others added 11 commits July 25, 2026 23:07
Sources Find failed Production UI because open-focus retries would not
move off the close control once a late-mounted data-sheet-autofocus
input appeared. Allow that upgrade during the open retry window and
cover it with a Sheet DOM regression test. Drop temporary PR policy
body template after the live description was restored.
Merge-union left two identical ledger-066/067 READY records; the
static ledger guard rejects exact duplicates. Keep the first copy and
record the correction.
@BigSimmo BigSimmo added the skip-branch-sync Opt out of hosted pr-branch-sync / update-branch on this PR label Jul 25, 2026
BigSimmo added 3 commits July 26, 2026 00:06
Retries previously stopped as soon as the close-button fallback held
focus, so late-mounted data-sheet-autofocus inputs (Sources Find) never
received focus. Only preferred autofocus/initialFocus targets end the
retry loop early now.
Results-ribbon Sources still missed autofocus after Sheet settled on
Close. Focus the Find field in useLayoutEffect, extend Sheet open
retries to 4s, and give the smoke poll 15s.
BigSimmo added 3 commits July 26, 2026 00:30
Resolve Sheet/ui-smoke conflicts by taking main's stronger open-focus
defense (full-window retries) and toBeFocused waiter. Keep DocumentDrawer
mount focus. Drop exact-duplicate ledger rows from union merge.
@BigSimmo

Copy link
Copy Markdown
Owner Author

Hygiene review (2026-07-26): this PR is MERGEABLE against current main with green required checks (or Production UI finishing). Prior contaminated Antigravity originals were closed; this clean supersede/fix is the intended land path. No code change from this note — ready for human merge when review/blockers clear.

@BigSimmo
BigSimmo merged commit 140dad1 into main Jul 26, 2026
18 checks passed
@BigSimmo
BigSimmo deleted the cursor/typography-audit-fixes-1c1e branch July 26, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-branch-sync Opt out of hosted pr-branch-sync / update-branch on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant