Mockup: app switcher, one pill per app (variant A) #1138

Closed
kayg wants to merge 0 commits from review/switcher-a-pills into review/calendar-2
Owner

Mockup: the app switcher with one pill per app (variant A, kayg 14 Nov 21:50 IST). Branched from review/switcher-ends (#1125); that PR's B/C variants are dropped here.

  • Each app is its own Pill inside one Toolbar capsule: 30 px pills, the toolbar's 2 px gap, 3 px of capsule round them, one 20 px bar icon (as Search beside it).
  • Whole pills only: the strip's width is round(down, room, slot) in CSS (at most 3, at most as many as exist), so a fourth pill never peeks. No edge mask any more.
  • Never blank: the strip has no padding. At scroll 0 the first pill is flush with the capsule's left edge, at the end the last is flush on the right. The phone's empty slot before the first app is gone. The capsule is sized to its content (two pills = two pills wide).
  • "All apps" (grid glyph) is the last pill; pressing the open app, or a long press on touch, also opens the list. dock review switch, chevron and the B/C rows removed; the review page lists one pending row.
  • Phone: the capsule is the capsule tier (--tier-cap, 52 pt) so each pill is 46 pt, over the 44 pt hit minimum; profile and search stay 44 pt on the same centre line (decision: the alternative, a 44 pt capsule, gives 38 pt pills that fail the hit-minimum specs).

Preview: https://preview.calternal.cloud/switcher/review.html

Mockup: the app switcher with **one pill per app** (variant A, kayg 14 Nov 21:50 IST). Branched from `review/switcher-ends` (#1125); that PR's B/C variants are dropped here. - Each app is its own `Pill` inside one `Toolbar` capsule: 30 px pills, the toolbar's 2 px gap, 3 px of capsule round them, one 20 px bar icon (as Search beside it). - **Whole pills only**: the strip's width is `round(down, room, slot)` in CSS (at most 3, at most as many as exist), so a fourth pill never peeks. No edge mask any more. - **Never blank**: the strip has no padding. At scroll 0 the first pill is flush with the capsule's left edge, at the end the last is flush on the right. The phone's empty slot before the first app is gone. The capsule is sized to its content (two pills = two pills wide). - "All apps" (grid glyph) is the last pill; pressing the open app, or a long press on touch, also opens the list. `dock` review switch, chevron and the B/C rows removed; the review page lists one pending row. - Phone: the capsule is the capsule tier (`--tier-cap`, 52 pt) so each pill is 46 pt, over the 44 pt hit minimum; profile and search stay 44 pt on the same centre line (decision: the alternative, a 44 pt capsule, gives 38 pt pills that fail the hit-minimum specs). Preview: https://preview.calternal.cloud/switcher/review.html
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
tests: the switcher ends, the three dock variants, the review index lists only pending rows
Some checks failed
CI / web (pull_request) Has been cancelled
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
7ebc07b3d2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
mockup: the same on the phone (capsule tier); specs follow the per-pill switcher
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
3bdce21e13
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
Owner

Evidence

  • Preview: https://preview.calternal.cloud/switcher/review.html (slot switcher, deployed from this branch; one pending row).
  • Specs, chromium on dev-01 (bunx playwright test … --project=chromium): app-switch, look-pins, tasks-tiers, round9c-foot, review-links, review-switches, m9a, round9b and contacts ran at the previous head (239 passed; the only failures were the phone-footer size numbers and the tasks-tiers "one row" check, both fixed); app-switch + tasks-tiers re-ran green at the last head (50 passed).
  • Real Safari 1440 and iPhone Simulator shots, computed-value table (pill 30×30, gap 2, padding 3/3, capsule 100×36, icon 20, 3 whole pills, 0 cut, no mask) and the Mac frames are in the paired product PR: #1139 (comment)

Decisions

  • Variant A only; dock switch, chevron and the B/C rows removed.
  • Phone capsule is the capsule tier (52 pt, pills 46 pt, over the 44 pt hit minimum); profile and search stay 44 pt, on the same centre line (specs updated: "one row" now means one centre line).
  • The mockup keeps all 10 apps (11 pills with All apps); at the narrowest sidebar (220) the cell fits three pills.
## Evidence - Preview: https://preview.calternal.cloud/switcher/review.html (slot `switcher`, deployed from this branch; one pending row). - Specs, chromium on dev-01 (`bunx playwright test … --project=chromium`): app-switch, look-pins, tasks-tiers, round9c-foot, review-links, review-switches, m9a, round9b and contacts ran at the previous head (239 passed; the only failures were the phone-footer size numbers and the tasks-tiers "one row" check, both fixed); app-switch + tasks-tiers re-ran green at the last head (50 passed). - Real Safari 1440 and iPhone Simulator shots, computed-value table (pill 30×30, gap 2, padding 3/3, capsule 100×36, icon 20, 3 whole pills, 0 cut, no mask) and the Mac frames are in the paired product PR: https://git.kayg.org/kayg/calternal/pulls/1139#issuecomment-96870 ## Decisions - Variant A only; `dock` switch, chevron and the B/C rows removed. - Phone capsule is the capsule tier (52 pt, pills 46 pt, over the 44 pt hit minimum); profile and search stay 44 pt, on the same centre line (specs updated: "one row" now means one centre line). - The mockup keeps all 10 apps (11 pills with All apps); at the narrowest sidebar (220) the cell fits three pills.
Author
Owner

Merged into review/calendar-2 with --no-ff at f02b05d5e by the orchestrator after reviewing the Safari and iPhone shots (whole pills only, All apps last, no blank space). Open for kayg: the phone capsule is 52 pt beside 44 pt profile/search pills (keeps the 44 pt hit minimum). Closing.

Merged into `review/calendar-2` with `--no-ff` at `f02b05d5e` by the orchestrator after reviewing the Safari and iPhone shots (whole pills only, All apps last, no blank space). Open for kayg: the phone capsule is 52 pt beside 44 pt profile/search pills (keeps the 44 pt hit minimum). Closing.
kayg closed this pull request 2026-11-14 17:37:20 +00:00
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!1138
No description provided.