When field: date and repeat UI (U1–U5, V1–V6, decided 27 Oct) #702

Open
opened 2026-10-27 11:48:33 +00:00 by kayg · 10 comments
Owner

kayg agreed all of these on 27 Oct (date and repeat UI grill, rounds 1 and 2 in the roadmap doc). Mockup: branch review/when-field, on preview (?when=inplace / ?when=bar).

  • U1: one When field. Date, time and repeat are typed or spoken into it; no separate Repeat form.
  • U2: the Composer's mic inside the field's right edge.
  • U3: a plain sentence under the field reads it back; tap any word to change just that part (C17).
  • U4: 3–4 context chips while focused (Today, Tomorrow, This weekend, Repeat…); the calendar grid opens only from "Pick a date".
  • U5: once a repeat is set, options appear as chips in a sideways-scrolling row (After I finish, Until…, N times, Skip next), never as their own fields.
  • V1: two versions mocked up, the same on desktop and phone: A in place (field opens under the row), B bar morph. kayg picks one after testing.
  • V2: an unsure word ("5", "next Friday") shows its best guess with a dotted underline; tap to switch. It never stops to ask.
  • V3: "No date" and "Don't repeat" chips; no × buttons.
  • V4: hold the mic to talk, let go to finish; or tap for hands-free, which stops after about a second of silence (detected on the device) or on a second tap.
  • V5: Enter accepts, Esc restores, Tab goes into the chips, arrows move between them.
  • V6: English only (VO1); festival and holiday names in any language work through your calendars.

Still open: A or B (V1), and whether Deadline gets the same field.

kayg agreed all of these on 27 Oct (date and repeat UI grill, rounds 1 and 2 in the roadmap doc). Mockup: branch `review/when-field`, on preview (`?when=inplace` / `?when=bar`). - U1: one When field. Date, time and repeat are typed or spoken into it; no separate Repeat form. - U2: the Composer's mic inside the field's right edge. - U3: a plain sentence under the field reads it back; tap any word to change just that part (C17). - U4: 3–4 context chips while focused (Today, Tomorrow, This weekend, Repeat…); the calendar grid opens only from "Pick a date". - U5: once a repeat is set, options appear as chips in a sideways-scrolling row (After I finish, Until…, N times, Skip next), never as their own fields. - V1: two versions mocked up, the same on desktop and phone: A in place (field opens under the row), B bar morph. kayg picks one after testing. - V2: an unsure word ("5", "next Friday") shows its best guess with a dotted underline; tap to switch. It never stops to ask. - V3: "No date" and "Don't repeat" chips; no × buttons. - V4: hold the mic to talk, let go to finish; or tap for hands-free, which stops after about a second of silence (detected on the device) or on a second tap. - V5: Enter accepts, Esc restores, Tab goes into the chips, arrows move between them. - V6: English only (VO1); festival and holiday names in any language work through your calendars. Still open: A or B (V1), and whether Deadline gets the same field.
Author
Owner

Decided by kayg, 28 Oct (roadmap doc): Deadline and due date are the same thing, so the deadline uses the same When field as dates and repeats, with no separate date picker. Still open: When field A (in place) or B (bar morph), after kayg tries both on the phone at https://preview.calternal.cloud/chrome.html#/tasks/today?when=inplace and ?when=bar.

Decided by kayg, 28 Oct (roadmap doc): Deadline and due date are the same thing, so the deadline uses the same When field as dates and repeats, with no separate date picker. Still open: When field A (in place) or B (bar morph), after kayg tries both on the phone at https://preview.calternal.cloud/chrome.html#/tasks/today?when=inplace and ?when=bar.
Author
Owner

kayg, 28 Oct: picked B, the bar morph. Requirement: it must reuse the Style sheet component (same glass, blur, radius, shadow and morph), not a separate surface. Variant A is removed. Work on branch review/when-field-2 (Sonnet), verified with a Style-vs-When parity table within 1 pt.

kayg, 28 Oct: picked **B, the bar morph**. Requirement: it must reuse the Style sheet component (same glass, blur, radius, shadow and morph), not a separate surface. Variant A is removed. Work on branch review/when-field-2 (Sonnet), verified with a Style-vs-When parity table within 1 pt.
Author
Owner

Starting the combined preview build on review/preview-2026-10-29. The existing worktree starts at dfdd2fa7 (When field review). I am checking the live preview assets and branch history before choosing the final base, then combining #702, #636 and #729. No deployment or merge will be performed.

Starting the combined preview build on review/preview-2026-10-29. The existing worktree starts at dfdd2fa7 (When field review). I am checking the live preview assets and branch history before choosing the final base, then combining #702, #636 and #729. No deployment or merge will be performed.
Author
Owner

Finding: preview is a collection of static builds, not one dev build. Live /chrome.html loads /assets/index-ClAXP8Xi.js and /assets/index-CcxPcCzR.css, while / loads index-BYyup8GJ.js and index-BsG_YSNJ.css. The Chrome CSS contains the --sheet-pad padding added in 6c743e07, lacks --r-select added in bfef9821, and the JS still has the in-place/bar When field removed in 952c7c0b. This identifies 6c743e07 as the matching mockup-line base in the candidate history. dfdd2fa7 is its direct descendant with the three approved #702 commits. I will retain that line and cherry-pick only a2cd865e, 1afdb1e6, b0766abb and 90f9634b, avoiding their unrelated dev ancestry. I saved a read-only snapshot of all 11 existing HTML pages and their referenced assets (80 files, 7,316,205 bytes) outside the repo. The final package will retain the older standalone pages and assets while updating Chrome for the combined review.

Finding: preview is a collection of static builds, not one dev build. Live /chrome.html loads /assets/index-ClAXP8Xi.js and /assets/index-CcxPcCzR.css, while / loads index-BYyup8GJ.js and index-BsG_YSNJ.css. The Chrome CSS contains the --sheet-pad padding added in 6c743e07, lacks --r-select added in bfef9821, and the JS still has the in-place/bar When field removed in 952c7c0b. This identifies 6c743e07 as the matching mockup-line base in the candidate history. dfdd2fa7 is its direct descendant with the three approved #702 commits. I will retain that line and cherry-pick only a2cd865e, 1afdb1e6, b0766abb and 90f9634b, avoiding their unrelated dev ancestry. I saved a read-only snapshot of all 11 existing HTML pages and their referenced assets (80 files, 7,316,205 bytes) outside the repo. The final package will retain the older standalone pages and assets while updating Chrome for the combined review.
Author
Owner

Build progress is temporarily blocked on the required shared build-slot gate. The command is queued through /usr/local/bin/build-slot.sh; the build log is still empty, so dependency installation and compilation have not started. I am keeping only this one slot job queued and continuing read-only base and package work. No other processes or locks have been changed.

Build progress is temporarily blocked on the required shared build-slot gate. The command is queued through /usr/local/bin/build-slot.sh; the build log is still empty, so dependency installation and compilation have not started. I am keeping only this one slot job queued and continuing read-only base and package work. No other processes or locks have been changed.
Author
Owner

Finding: all four ring/calendar commits are now cherry-picked onto dfdd2fa7. The divergent search implementation required wiring StillIndexing into the existing token-aware Field.svelte (22 px), while ListFilter uses 20 px. Calendar supplies pane snippets and sidebar section data through small shared interfaces, so shared components do not import calendar fixtures. Notes and Agenda use the same ListShell, ListRow and ListGroup, retaining the mockup line’s covers, gallery, selection and row actions. /review.html links to every requested state. The final package will keep the 10 other existing live HTML pages byte for byte; only /chrome.html is replaced. The cleaned snapshot has 44 actual static files; non-URL strings found in minified JS returned the site fallback HTML and were discarded.

Finding: all four ring/calendar commits are now cherry-picked onto dfdd2fa7. The divergent search implementation required wiring StillIndexing into the existing token-aware Field.svelte (22 px), while ListFilter uses 20 px. Calendar supplies pane snippets and sidebar section data through small shared interfaces, so shared components do not import calendar fixtures. Notes and Agenda use the same ListShell, ListRow and ListGroup, retaining the mockup line’s covers, gallery, selection and row actions. /review.html links to every requested state. The final package will keep the 10 other existing live HTML pages byte for byte; only /chrome.html is replaced. The cleaned snapshot has 44 actual static files; non-URL strings found in minified JS returned the site fallback HTML and were discarded.
Author
Owner

Follow-up evidence: the six focused ring-size and desktop-chip tests pass in Chromium and WebKit (6 passed, 20.0s). Ring glyphs now measure exactly 10 px in the 20 px list ring and 11 px in the 22 px search ring. The initial full pass had 39 passed and one WebKit test failure. Measured WebKit scrollIntoView left scrollLeft=0 while Pick a date extended 5.234375 px outside the row (available scroll range 99 px): proximity snapping chose the first chip. The test now scrolls the toolbar itself, as a sideways swipe does, and polls the chip bounds. No When product change was needed. Fixed sleeps in the When tests were replaced with animation/frame waits and bounds polling. A fresh production build and full targeted pass are running.

Follow-up evidence: the six focused ring-size and desktop-chip tests pass in Chromium and WebKit (6 passed, 20.0s). Ring glyphs now measure exactly 10 px in the 20 px list ring and 11 px in the 22 px search ring. The initial full pass had 39 passed and one WebKit test failure. Measured WebKit scrollIntoView left scrollLeft=0 while Pick a date extended 5.234375 px outside the row (available scroll range 99 px): proximity snapping chose the first chip. The test now scrolls the toolbar itself, as a sideways swipe does, and polls the chip bounds. No When product change was needed. Fixed sleeps in the When tests were replaced with animation/frame waits and bounds polling. A fresh production build and full targeted pass are running.
Author
Owner

Base confirmed by an isolated rebuild: 6c743e07 reproduces BOTH the entire live Chrome JavaScript and CSS after replacing only generated Svelte scope IDs with one placeholder. The normalized files are byte-for-byte equal. JS SHA-256: 4acca1d091781f46af8d983bfe2472e70fe996d6461760e069611ae9423c68ae. CSS SHA-256: 8a0814c9941e660bc499cbba83968d3d49b7a6963152d6efdf95996363700f12. The raw asset names differ because the generated scope IDs depend on the build location. The live files are index-ClAXP8Xi.js and index-CcxPcCzR.css; the isolated rebuild produces index-CwOMqKle.js and index-CEzN8B1I.css. I also checked every historical HTML entry name in git and found ioslab.html, safe-area-lab.html, select.html and chrome-desk.html still live. These are now preserved too: 14 existing HTML pages stay byte-for-byte unchanged alongside the updated Chrome build.

Base confirmed by an isolated rebuild: 6c743e07 reproduces BOTH the entire live Chrome JavaScript and CSS after replacing only generated Svelte scope IDs with one placeholder. The normalized files are byte-for-byte equal. JS SHA-256: 4acca1d091781f46af8d983bfe2472e70fe996d6461760e069611ae9423c68ae. CSS SHA-256: 8a0814c9941e660bc499cbba83968d3d49b7a6963152d6efdf95996363700f12. The raw asset names differ because the generated scope IDs depend on the build location. The live files are index-ClAXP8Xi.js and index-CcxPcCzR.css; the isolated rebuild produces index-CwOMqKle.js and index-CEzN8B1I.css. I also checked every historical HTML entry name in git and found ioslab.html, safe-area-lab.html, select.html and chrome-desk.html still live. These are now preserved too: 14 existing HTML pages stay byte-for-byte unchanged alongside the updated Chrome build.
Author
Owner

Finished the combined preview on review/preview-2026-10-29 at 4c941a303a. The branch is pushed and the working tree is clean. New preview-only PR: #762.

The live Chrome base is 6c743e07, confirmed by rebuilding and matching the full JavaScript and CSS after normalizing generated Svelte scope IDs. All three requested pieces are in the combined Chrome build. The archive retains the 14 other discovered live HTML pages and their assets byte for byte.

After the coordinator deploys the archive, start at https://preview.calternal.cloud/review.html. The page links to When, both indexing icons in search and the desktop list filter, and Calendar Day/Week in relaxed and dense. No deployment or merge was performed.

Files on 10by32-01-std:

  • /home/agent/codex-jobs/preview-3/site.tgz
  • /home/agent/codex-jobs/preview-3/result.md
  • /home/agent/codex-jobs/preview-3/shots/

Gate output, verbatim:

Preview gates for 4c941a303a933fc00b8889492cc543e3c1e56c73
Live base 6c743e07: JavaScript and CSS match after normalizing generated Svelte scope IDs.
Production build: PASS (✓ built in 2.50s).
Build diagnostics: 56 Svelte diagnostics, as on the base; the large-chunk warning remains. Full output: build.log.
Typecheck: no script or tsconfig configured in apps/mockup.
Lint: no lint script configured in apps/mockup.
git diff --check: PASS.
Targeted source tests (Chromium and WebKit): 40 passed (2.9m).
Production checks: 36 unique checks pass in Chromium and WebKit.
Full production pass: 33 passed; three fixture failures corrected. Focused rerun: 4 passed (12.1s) (includes one repeated check).
Screenshots: 28 production PNGs plus 18 source parity PNGs; 390x844 and 1440x900 viewports (WebKit PNGs at 2x pixel density).
Issue attachments: all 46 screenshots uploaded.
Package preservation: all 14 other live HTML pages and preserved assets match their snapshot SHA-256 hashes.
Package: site.tgz; entries are directly under the site root.
Archive SHA-256: 2dc673446f9b15987443b447bd7c1a30ea9523f69b90007758a1a3bfb9d535fe
Working tree: clean.
ALL PREVIEW GATES PASS

Screenshots attached to this issue:

Finished the combined preview on review/preview-2026-10-29 at 4c941a303a933fc00b8889492cc543e3c1e56c73. The branch is pushed and the working tree is clean. New preview-only PR: https://git.kayg.org/kayg/calternal/pulls/762. The live Chrome base is 6c743e07, confirmed by rebuilding and matching the full JavaScript and CSS after normalizing generated Svelte scope IDs. All three requested pieces are in the combined Chrome build. The archive retains the 14 other discovered live HTML pages and their assets byte for byte. After the coordinator deploys the archive, start at https://preview.calternal.cloud/review.html. The page links to When, both indexing icons in search and the desktop list filter, and Calendar Day/Week in relaxed and dense. No deployment or merge was performed. Files on 10by32-01-std: - /home/agent/codex-jobs/preview-3/site.tgz - /home/agent/codex-jobs/preview-3/result.md - /home/agent/codex-jobs/preview-3/shots/ Gate output, verbatim: ```text Preview gates for 4c941a303a933fc00b8889492cc543e3c1e56c73 Live base 6c743e07: JavaScript and CSS match after normalizing generated Svelte scope IDs. Production build: PASS (✓ built in 2.50s). Build diagnostics: 56 Svelte diagnostics, as on the base; the large-chunk warning remains. Full output: build.log. Typecheck: no script or tsconfig configured in apps/mockup. Lint: no lint script configured in apps/mockup. git diff --check: PASS. Targeted source tests (Chromium and WebKit): 40 passed (2.9m). Production checks: 36 unique checks pass in Chromium and WebKit. Full production pass: 33 passed; three fixture failures corrected. Focused rerun: 4 passed (12.1s) (includes one repeated check). Screenshots: 28 production PNGs plus 18 source parity PNGs; 390x844 and 1440x900 viewports (WebKit PNGs at 2x pixel density). Issue attachments: all 46 screenshots uploaded. Package preservation: all 14 other live HTML pages and preserved assets match their snapshot SHA-256 hashes. Package: site.tgz; entries are directly under the site root. Archive SHA-256: 2dc673446f9b15987443b447bd7c1a30ea9523f69b90007758a1a3bfb9d535fe Working tree: clean. ALL PREVIEW GATES PASS ``` Screenshots attached to this issue: - [chromium-1440x900-when.png](https://git.kayg.org/attachments/a74a4161-db4e-4f06-8939-4ad7788deb60) - [chromium-390x844-when.png](https://git.kayg.org/attachments/e45aae79-aae7-4184-b51b-1ed73b766f80) - [chromium-desktop-dark-style.png](https://git.kayg.org/attachments/d04146fe-e67e-4c52-80ac-61d23a1ed91e) - [chromium-desktop-dark-when.png](https://git.kayg.org/attachments/fe35ec56-18fd-4db4-b5ce-58f209f62513) - [chromium-desktop-light-style.png](https://git.kayg.org/attachments/7ffc7dba-b22b-45a8-aec4-6fedd0de42ad) - [chromium-desktop-light-when.png](https://git.kayg.org/attachments/2c2e9d2f-2e00-4093-bd27-3f7a4c4d3a47) - [chromium-phone-dark-style.png](https://git.kayg.org/attachments/77264bed-22fa-454a-b2f4-50bf2e7e02ae) - [chromium-phone-dark-when.png](https://git.kayg.org/attachments/e719bd15-c005-470c-b561-914dc0c6ed8a) - [chromium-phone-keyboard-when.png](https://git.kayg.org/attachments/06c8fc72-d586-40ff-a1a8-ff4f12380f89) - [chromium-phone-light-style.png](https://git.kayg.org/attachments/ee299e73-1f01-483a-9a61-d0c0cea1db5d) - [chromium-phone-light-when.png](https://git.kayg.org/attachments/0e4bb0cf-0d4c-4aae-884c-167640c69fff) - [webkit-1440x900-when.png](https://git.kayg.org/attachments/f42c3e65-4452-45bb-a09f-fc1d450a985b) - [webkit-390x844-when.png](https://git.kayg.org/attachments/0e3fe084-da4d-4c52-b675-5d00d00abc0f) - [webkit-desktop-dark-style.png](https://git.kayg.org/attachments/203f154b-aa61-403d-affe-21a0a8a627ed) - [webkit-desktop-dark-when.png](https://git.kayg.org/attachments/789c1109-506a-4d51-8446-7a9e115ed08d) - [webkit-desktop-light-style.png](https://git.kayg.org/attachments/a51a2cb4-8ef3-4b98-926d-248aa8f8b9af) - [webkit-desktop-light-when.png](https://git.kayg.org/attachments/8b1668f8-185f-4422-95ae-90e68ce79ecd) - [webkit-phone-dark-style.png](https://git.kayg.org/attachments/1b3c1d1f-5509-430f-a21c-2b396065e287) - [webkit-phone-dark-when.png](https://git.kayg.org/attachments/f8e24f89-9c23-447f-ba27-ab0051c0e228) - [webkit-phone-keyboard-when.png](https://git.kayg.org/attachments/127a085b-c57e-476f-addc-67990722b8ed) - [webkit-phone-light-style.png](https://git.kayg.org/attachments/d6e65ca2-6365-475e-9b3e-6ba7bb08bf31) - [webkit-phone-light-when.png](https://git.kayg.org/attachments/d3e134ff-1d73-4375-a403-3f77749a3a11)
Author
Owner

kayg, 29 Oct (preview review): the When sheet rendered as an opaque card, not translucent. The decision stands: the When sheet reuses the Style sheet's component, including its glass. Fix in progress: one shared glass sheet component in packages/ui used by the Style sheet, When sheet, search palette and other floating sheets.

🤖 Generated with Claude Code

kayg, 29 Oct (preview review): the When sheet rendered as an opaque card, not translucent. The decision stands: the When sheet reuses the Style sheet's component, including its glass. Fix in progress: one shared glass sheet component in packages/ui used by the Style sheet, When sheet, search palette and other floating sheets. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
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#702
No description provided.