Skip to content

PWA and live design audit: iOS launch screens, landscape notch fix, label-in-name, faster first paint, visual polish - #137

Merged
BigSimmo merged 9 commits into
claude/project-thread-kog66vfrom
claude/project-thread-jd5e60
Nov 21, 2026
Merged

BigSimmo merged 9 commits into
claude/project-thread-kog66vfrom
claude/project-thread-jd5e60

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Requested by josh · project thread

Stacked on #134 (base is its branch). Once #134 merges, this retargets to main.

Summary

A PWA, accessibility, speed and live visual audit of the production build. Phone (393), desktop (1280, 1440) and iPad (744) widths, light and dark, in headless Chromium.

PWA and iPhone

  • The app was already installable, with no manifest errors, and it works offline. The service worker, precache (about 1.85 MB), offline reload of the five main routes and the update toast all pass.
  • iOS launch screens added. There were none, so iOS showed a blank screen at launch. There are now 11 portrait sizes, from SE to 17 Pro Max and Air. Each is about 42 KB and none are precached. launch-screens.ts adds the links and scripts/generate-launch-screens.ts regenerates the images.
  • Landscape notch fix. On a notched iPhone turned sideways, the sidebar and right edge sat under the notch. The sidebar, main content, search, dock, sheets, Quick Lookup and the update toast now respect the side safe-area insets.
  • The manifest orientation is now any instead of portrait.

Accessibility and speed

  • Fixed every WCAG 2.5.3 label-in-name mismatch (9 groups, axe clean), which matters for iPhone Voice Control. Affected: the search link, category chips, Filters and Reset, tab-bar badges, drill ratings, prev/next, copy rows and template cards.

  • Inter 400, 600 and 700 are now preloaded (font-preload-plugin.ts), and a cold load of a card or Phrase Bank warms its route chunk early (route-warmup.ts).

  • Lighthouse mobile, median of 3:

    Page Perf before Perf after First paint
    / 91 95 −450 ms
    /card/TC001 92 95 −520 ms
    /phrases 82 87 unchanged

    Desktop scores 100 on all three pages.

Visual polish

  • The selected segment in dark mode no longer looks sunken. A new --surface-segment-active token is used by the card tabs, Appearance, the drill pace picker and the share mode tabs.
  • On desktop, bottom sheets are a centred 600px panel instead of full width.
  • The dock fade no longer lets rows show through around the floating button.
  • Phrase Bank tone chips wrap on desktop instead of being clipped.
  • Playbooks template headings line up with the cards.
  • The desktop search field lines up with the results column.

Screenshots are in the project files under pwa-audit/: design/before|after, pwa/, combined/, plus perf/lighthouse-summary.md.

Checks

  • Fresh on the merged branch: format:check, lint, typecheck, app tests (65 files, 919 tests) and iphone-chromium e2e (24/24, including new landscape and launch-screen specs).
  • Not run here: WebKit e2e, which runs in CI via e2e-webkit.yml.
  • Not verified: a physical iPhone. Still open on a real phone: launch screen display, the light-theme status bar with black-translucent, VoiceOver and Dynamic Type. All are in docs/iphone-test-checklist.md.

Generated by Claude Code


Summary by cubic

PWA, accessibility, speed, and visual polish pass on the production app, audited in headless Chromium across phone, tablet, and desktop widths.

  • Adds 11 portrait iOS launch screens so Home Screen launches aren't blank; a script regenerates them from the app icon.
  • Landscape notched iPhones no longer put the sidebar, content, search, dock, sheets, Quick Lookup, or update toast under the notch.
  • Manifest orientation is now any so Android tablets and foldables aren't locked to portrait.
  • Fixes all WCAG 2.5.3 label-in-name mismatches (Library search, category chips, Filters/Reset, tab badges, drill ratings, prev/next, copy rows, template cards), so iPhone Voice Control matches visible text.
  • Preloads Inter 400/600/700 fonts and warms page chunks and data for cold /card/:id and /phrases loads; Lighthouse mobile first paint drops ~450–520 ms on the home and card pages.
  • Dark-mode selected segments no longer look sunken; desktop bottom sheets are centered 600 px panels; the dock fade is solid behind the floating button; Phrase Bank chips wrap on desktop; headings and search field align.

Tests: 65 files/919 unit tests and 24/24 iPhone-Chromium e2e pass, including new landscape and launch-screen specs. WebKit e2e runs in CI only; a physical iPhone isn't verified (checklist added in docs/iphone-test-checklist.md).

Written for commit c795d1d. Summary will update on new commits.

View guided diff


Summary by Gitar

  • Accessibility fixes:
    • Accessible names now start with the visible label text (WCAG 2.5.3) across chips, filters, copy rows and tab badges
  • Drill rating spoken gaps:
    • Rating buttons speak the same gap words as their visible labels
  • Landscape safe-area fixes:
    • Sidebar, header, search and overlays now clear side insets

This will update automatically on new commits.

BigSimmo and others added 7 commits November 21, 2026 20:14
Brings AGENTS.md's managed section and docs/agents/shared-context-and-memory.md
up to the approved shared text. Generated; no project-owned text is changed.

Agent: Claude Code (estate coordinator)
Task: agent estate plan v6, stage 1.6
Approved-by: Josh, 21 Nov 2026 (plan v6); merge is Josh's

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- iOS launch screens (apple-touch-startup-image) for 11 current iPhone
  screen sizes, portrait: app icon on #0f1724, ~42 KB each, injected by
  a small Vite plugin and kept out of the precache. Generator script
  renders them with Playwright Chromium.
- Landscape iPhones (780-956pt wide) get the sidebar layout, which sat
  under the notch/Dynamic Island: the rail now grows by the left inset,
  main content, search, dock bar, sheets, Quick Lookup and the update
  toast clear the side insets, and the header no longer doubles the
  left inset beside the sidebar.
- Manifest orientation "portrait" -> "any": the layout adapts, and the
  lock pinned Android tablets and foldables to portrait.
- Tests: launch-screen files/sizes/links (vitest), landscape safe-area
  and launch-screen/manifest checks (Playwright, Chromium CDP inset
  emulation). iPhone checklist gains launch-screen and light-mode
  status bar checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GxPPxjtHCQRLDHwTbGHhTp
- Dark theme: selected segment (card tabs, Appearance, drill pace, share
  mode) now lifts above its track via --surface-segment-active instead of
  sinking below it.
- Bottom sheets (Settings, Filters, Share) are a centred 600px sheet on
  md+ instead of stretching the full window width.
- Dock fade reaches the bottom of the screen and is solid behind the dock,
  so rows no longer show through the gap above the tab bar, around its
  corners, or through the translucent disabled "Rate it to finish" button.
- Phrase Bank filter chips wrap within the column on md+ instead of being
  clipped at the column edge.
- Playbook template headings align with the cards below them.
- Search field row matches the results column width on desktop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GxPPxjtHCQRLDHwTbGHhTp
Regenerated from the rules master's public projection, which now carries
the 21 Nov Standing decisions (merging, money, roles and tasks) in a
form without private names. AGENTS.md managed section only.

Agent: Claude Code (lane C, rules)
Task: agent estate plan v8, stage 1.6, second round
Approved-by: Josh, 21 Nov 2026 (plan v8 D32); merge is Josh's

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
WCAG 2.5.3 (label in name), so voice control matches what is on screen:
the Library search link, category chips, Filters/Reset buttons, tab bar
badges, drill rating, prev/next, copy rows, Phrase Bank rows and playbook
templates now carry their visible text in order. An axe scan of every
route and state finds no label-content-name-mismatch.

Load: preload the Latin Inter 400/600/700 faces (hashed URLs via a small
build plugin), and warm the page chunk plus card or phrase data for cold
/card/:id and /phrases loads. Lighthouse mobile medians: FCP on / 2.17s ->
1.71s, /card/TC001 LCP 2.99s -> 2.77s, /phrases LCP 3.63s -> 3.51s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GxPPxjtHCQRLDHwTbGHhTp
…hread-jd5e60

# Conflicts:
#	artifacts/tc-reference/vite.config.ts
@BigSimmo BigSimmo self-assigned this Nov 21, 2026
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: a5deca8c-c99c-4539-b12e-88893dc3c5d7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@gitar-bot

gitar-bot Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Gitar is working

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

Gitar

@BigSimmo
BigSimmo marked this pull request as ready for review November 21, 2026 19:04
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T19:05:41.763021Z c795d1d Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@BigSimmo
BigSimmo merged commit 01df28b into claude/project-thread-kog66v Nov 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants