fix(ui): restore edge-to-edge phone search dock (no white strip)#1090
Conversation
Stop the white strip under the bottom search bar by pinning the ClinicalDashboard phone shell with fixed inset-0 (no 100dvh dead band), forcing dock bottom:0 with safe-area as internal padding, and painting opaque dock chrome through the home-indicator band. Tighten Playwright geometry asserts and cover factsheets mode-home hero placement. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
📝 WalkthroughWalkthroughPhone dock scrims, edge-to-edge positioning, mobile shell sizing, composer reserve documentation, and UI regression tests were updated for small-screen safe-area behavior. ChangesPhone dock edge and mobile shell layout
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Revert ModeHomeHero data-testid to avoid duplicating ModeHomeTemplate ids. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Compress shell comments so the file stays within the 4140-line no-growth hotspot cap enforced by Static PR checks. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
CI triageCI failed on this PR. Automated classification of the 2 failed job(s):
Compared with main CI run #4517 (success). Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger. |
Static PR checks failed format:check on tests/ui-tools.spec.ts. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
|
@codex review this PR for any issues |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Summary
Fix the phone bottom search bar white strip so the dock remains edge-to-edge: dock chrome reaches the viewport edge while the pill stays inset by safe-area padding.
Changes
fixed inset-0and remove the phonedvhclamp that could leave an iOS Safari toolbar dead band.bottom: 0and paint the safe-area region as dock chrome./factsheetsmode-home placement.origin/maininto the PR branch so hosted checks validate the exact landing tree.Verification
npm run ensure— passed; identity-checked local app athttp://localhost:3202.node scripts/run-playwright.mjs tests/ui-tools.spec.ts --project=chromium --grep "phone mode homes keep|phone bottom search dock stays"— 2 passed.node scripts/run-playwright.mjs tests/ui-tools.spec.ts --project=webkit --grep "phone mode homes keep|phone bottom search dock stays"— 2 passed.origin/main:0a97a16e9f5e90363967d6afbc77f6cf0684e994; actual merge commit has the same tree.761de7e9ad623b6bd8d634d849a9eb465d622e48.Checks not run locally
npm run verify:uiandnpm run verify:pr-localwere not repeated locally: the original PR head passed hosted unit/build/production UI checks, and this current-main tree received focused Chromium and WebKit coverage. The refreshed hosted required checks are the landing gate.RAG impact: no retrieval behaviour change — UI shell/CSS/composer layout only.
Risk and rollback
main.Summary by CodeRabbit