Repository navigation
Post-redesign follow-ups: iPhone data safety, drill spacing and progress, smoke tests, phrase dedupe, design polish - #134
Conversation
…d search A stock line that several cards share (e.g. "That sounds like it mattered") now appears once in the all-cards views, under its first card, with a note that it is on other cards. Each card's own phrase bank is unchanged, and a line saved from any of its cards still shows as saved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxjfPnzopEHAJKSC3rp
Adds Start here, Help me right now, Saved naming, Settings and the /search, /help and /start routes, and leaves marked spots for features landing in parallel work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxjfPnzopEHAJKSC3rp
Ask the browser to keep storage persistent, show a one-time Add to Home Screen hint on iPhone/iPad Safari, and a calm monthly backup reminder. Record the last backup export time, show it in Settings, add Help me right now and Search manifest shortcuts, and pad the PDF sheet for landscape notches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxjfPnzopEHAJKSC3rp
A first rating now brings a technique back tomorrow (Not yet), in 3 days (Getting there) or in a week (Confident). Later passes grow by the ease factor, Getting there by half its growth so it always returns sooner, and never below those first gaps; Not yet still resets to tomorrow. Gaps are worded as "tomorrow", "in 3 days", "in a week", "in about 5 weeks" on the rating buttons, the review announcement and the done screen. Reviews now keep their latest rating (optional field; older reviews without it stay valid and read their status from the schedule). A new "Your progress" section counts techniques as Confident, Getting there, Not yet, Not started and due, overall and per category; a category row opens the track picker on that category. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxjfPnzopEHAJKSC3rp
- Add a shared EmptyState (components/ui) and use it for the 404 page, unknown and coming-soon cards, the Help "situation not found" page and Saved's empty list. - A card that fails to load now explains why (offline or not) and offers Try again and Back to Library instead of a bare sentence. - 404 page names itself in the header, drops the "404:" prefix and offers search and Help me right now alongside the Library. - Use it now ends with up to three "Pairs well with" techniques before previous/next, so related cards are reachable without switching tabs. - Library rows spell out "High impact" and "Easy to medium", so difficulty and impact no longer read as "Medium · Medium". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxjfPnzopEHAJKSC3rp
Playwright smoke specs (iPhone 15 emulation) cover the Library, card tabs, search and Back, Help me right now copy, Phrase Bank filter, Daily Drill rating, Saved after reload, offline reloads, console errors, sideways overflow and the tab bar safe-area gap. A new workflow runs them in WebKit; the iphone-chromium project runs them locally. Fixes two bugs the tests found: - server.mjs answered /help, /help/:id, /search and /start with HTTP 404 (app shell still shown), so reloads logged a console error. - Tapping a search result within ~350ms of typing could leave you on search: the pending address write replaced the opened card's history entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxjfPnzopEHAJKSC3rp
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxjfPnzopEHAJKSC3rp
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
…e on WebKit Playwright's WebKit can't reload a service-worker page while emulating offline, so the WebKit run checks the worker and precache instead; Chromium keeps the real offline reload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxjfPnzopEHAJKSC3rp
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a0a8a7fa15
ℹ️ 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".
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".
Quick Lookup now dedupes shared lines only in the unfiltered all-cards view, so picking a situation shows every line it lists and situations made only of shared lines stay in the filter bar. A merged Phrase Bank line keeps the other tones its copies carry, and tone filters and counts use all of them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxjfPnzopEHAJKSC3rp
…elp eyebrow Rating buttons use a short form (Tomorrow, In 3 days, In ~5 weeks) while their accessible names keep the full sentence. An unknown card's header reads Card not found instead of the raw id, and the Help picker's eyebrow no longer repeats the header title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GxPPxjfPnzopEHAJKSC3rp
- 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
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
Requested by josh · project thread
Summary
The follow-ups recommended after the iPhone-first redesign, plus phone, PWA and design polish.
navigator.storage.persist()). Safari, when not running from the Home Screen, shows a one-time Add to Home Screen hint. If saved data hasn't been backed up for 30 days, a calm reminder appears. Settings → Backup shows the last backup date. The bookkeeping lives in a device-only key,tc_data_safety, which backups leave out. The manifest gains Help me right now and Search shortcuts./help,/help/:id,/searchor/startreturned HTTP 404 fromserver.mjs.e2e-webkit.ymlworkflow runs them in WebKit.docs/iphone-test-checklist.mdis a manual pass for a real iPhone.Checks
Generated by Claude Code
Summary by cubic
Implements follow-ups from the iPhone-first redesign: protects saved data on iPhone Safari, changes drill review spacing, lists shared phrases once, and polishes the phone and design details. Also adds Playwright smoke tests in WebKit and fixes several bugs those tests uncovered.
Changes
/,/card/:idand/phrases.Testing and bug fixes
e2e-webkit.ymlCI workflow runs them in WebKit, anddocs/iphone-test-checklist.mdcovers a manual pass. On WebKit the offline spec verifies the worker and precache, since WebKit can't reload offline in emulation; Chromium runs the real offline reload. Launch-screen files, sizes and links have vitest coverage.server.mjsreturned HTTP 404 on/help,/help/:id,/searchand/start; tapping a search result right after typing could leave you stuck on search.Written for commit 01df28b. Summary will update on new commits.