Mockup: Tasks app and Composer #617
Open
opened 2026-10-19 10:31:28 +00:00 by kayg
·
6 comments
No Branch/Tag specified
main
port/tasks-float-2
fix/train-1116-2
fix/train-1116-3
fix/train-1116-1
fix/flake-1134
fix/server-1182
dev
port/notes-float-3c
docs/auto-update-ig
feat/dav-transport
port/tasks-float-1
wip/mail1011-sv-order-1116
fix/flake-1179
fix/flake-1178
fix/guards-1153-fsio-split
fix/guards-1153-notes-split-we
fix/guards-1153-notes-lib
fix/guards-1153-notes-home
fix/guards-1153-ui-primitives
fix/guards-1153-primitives-e2e
fix/guards-1153-visibility-doc
feat/paper-grey-1116
fix/flake-1165
fix/flake-1119
docs/imap-766-plan-v2
fix/e2e-unique-ports
t3/paged-search-reconcile-final
wip/mail1011-final-1115
docs/tasks-float-port
perf/editor-first-paint-1c
feat/imap-notes-fetch
feat/imap-notes-projection
feat/imap-notes-readonly
feat/imap-notes-auth
feat/imap-notes-server-foundation
wip/mail1011-txn-ownvocab-1115
wip/mail1011-txn-novocab-1115
perf/p1117-final-harness
perf/single-shot-repeats
port/tasks-matrix
wip/mail1011-txn-1115
fix/static-gates-1155
feat/files-s1-identity-r7
fix/files-r7-idle-loop
fix/daily-train-1152
port/notes-float
fix/editor-tables-test-types
port/notes-float-listscript
feat/tasks-actions
port/notes-float-phone-preload
perf/sound-comparator
port/notes-float-listscroll
port/notes-float-budgets
port/notes-float-suite-fix-b
port/notes-float-sidebar-fix
port/notes-float-trim
port/notes-float-3-lists
fix/attachments-meta-capability
docs/carddav-writes-v2-plan
feat/contacts-companion-pure
issue/carddav-read-perf-fix-r2
issue/carddav-read-r2
port/notes-float-devsync2
review/calendar-2
review/switcher-a-pills
port/notes-float-switcher-a
port/port-tables-2
review/switcher-ends
wip/whiteboard-s1-1114
port/port-tables
wip/mail1011-perfneutral
review/photo-tint
port/notes-float-shell
wip/local/collections-db
wip/local/mail-p1
wip/local/cold-growth-on-tiering
wip/local/tiering-v3-s1
wip/local/wal1051-cap
wip/local/tiering-v3-s1-resume
wip/local/index-position-startup-scan
port/notes-float-flat
port/notes-float-promote
wip/handover/mail1011-candidate
wip/handover/files-s1-candidate
port/notes-float-shell-only
port/notes-float-perf
feat/whiteboard-s1
feat/tiering-v5
fix/app-switch-hitch
wip/local/files-s1-dev-v4-final
feat/files-s1-dev-v4
fix/c2-glass-shared
feat/flat-lists
wip/handover/whiteboard-s1-resume
wip/att-lazy-861
feat/switcher-browse
wip/att-lazy-860
feat/tasks-float
recovered/flat-backup-candidate
perf/stalls-1054-kc
land/ai-toolbar
feat/collections-db
feat/collections-db-fixes
codex/mail-1011-redesign-20261111
fix/ai-toolbar
backup/macos-vm/st3-head
perf/trim-candidate-phonestack
feat/switcher-three
fix/1051-index-idle-checkpoint
perf/stalls-1054-kb
perf/stalls-1054-k
perf/stalls-1054-r3
fix/c2-contrast-tail
perf/stalls-1054-r3-preview
feat/collections-before
feat/tiering-v4
fix/timelog-caret
wip/local/tasks-actions
docs/tasks-writes-v2-plan
st3-r3
feat/pass8
review/calendar-2-before-1111
wip/tiering-v3-cold4
perf/stalls-1054-r2
fix/suite-A4
fix/suite-A5-probe
fix/suite-A6
fix/suite-A3
fix/suite-A2
fix/suite-A5
fix/suite-A1
wip/local/attachments-861-fix
feat/contrast
wip/local/ports-861
storage/wal-checkpoint-off-save-1051
wip/local/mail-1011-reconcile-20261110
feat/style-sheet-fixes
feat/money-round
perf/stalls-1054
wip/tiering-v3-cold5
t3/mail-1011-liveness
feat/iphone-fixes
feat/notes-approve
wip/local/shrow-work
feat/files-s1-identity
feat/quickfix
wip/tiering-v3-cold
wip/local/shared-row-swipes
backup/macos-vm/pfx-B
backup/macos-vm/pfx-C
backup/macos-vm/pfx-D
feat/contrast-r1
feat/tiering-v3-s2-tags
feat/folder-drop
t3/photos-s1
feat/tiering-v3-s1-namespace
wip/local/photos-s1
t3/photos-plan-slice-one
recovered/backup/p1b-61505
t3/paged-search-reconcile
t3/smooth-pane-transitions
t3/index-position-startup-scan
fix/private-staging-759b-r2
backup/macos-vm/hk/hk1009/pr877
backup/macos-vm/hk/hk1009/pr878
docs/undo-block-ids-plan
fix/undo-768
backup/macos-vm/hk/hk1009/pr875
backup/macos-vm/hk/hk1009/pr904
proto/block-identity-v7d
backup/macos-vm/hk/hk1009/pr846
backup/macos-vm/hk/hk1009/pr860
backup/macos-vm/hk/hk1009/pr861
backup/macos-vm/hk/hk1009/pr849
backup/macos-vm/hk/hk1009/pr848
backup/macos-vm/hk/hk1009/pr853
backup/macos-vm/hk/hk1009/pr957
backup/macos-vm/hk/hk1009/pr893
backup/macos-vm/hk/hk1009/pr889
backup/macos-vm/hk/hk1009/pr902
docs/imap-notes-plan
docs/quota-plan-2
fix/parallel-test-flakes
docs/calendar-backend-v2-plan
feat/calendar-ical-converter
backup/macos-vm/hk/hk1009/pr808
docs/contacts-import-v2-plan
issue/610-pm-midnight
feat/calendar-v2-s1-containment
backup/macos-vm/hk/hk1009/pr854
backup/macos-vm/hk/hk1009/pr845
backup/macos-vm/hk/hk1009/pr917
docs/dav-recorder-v2-plan
plan/previews-865
plan/save-log-durable-entry
backup/macos-vm/hk/hk1009/pr934
fix/e2e-data-on-ram
backup/macos-vm/hk/hk1009/pr888
feat/appwindow3
feat/appwindow2
feat/appwindow
feat/money-p1
feat/keys-sheet
review/calendar-2-themes
feat/smooth-cursor
fix/float-style
review/calendar-2-float
release/2026-11-06-hotfix
archive/port/rows-drop-code
archive/port/rows-actions
archive/port/rows
scratch/tasks-894-ui-gates
review/calendar-2-night-wip
recovered/flaky/toast-reduced
release/2026-11-05
archive/flaky/rows-drop-fixed
archive/flaky/rows-actions
archive/flaky/rows
sim/bm15-final
sim/bm15-bis-932
sim/bm15-bis-909
sim/bm15
sim/bm15-bis-887
perf/tiering-option-b
fix/sw-lazy-precache
archive/plan/save-log-durable-entry
mock/money-fix2
archive/fix/e2e-data-on-ram
mock/appearance-all
mock/pill-press
mock/pill-press-mac
backup/macos-vm/appearance-after
mock/auto-swipes
mock/mail-actions
backup/macos-vm/mock/mail-actions
mock/money-static
archive/review/standards-917
perf/tiering-761-fix
mock/type-audit
mock/third-pane
feat/contacts-import-v2-s1
perf/executor-hot-path
archive/port/hidden-blocks
archive/port/devices
scratch/executor-on-894
scratch/executor-spans2
scratch/executor-spans
archive/port/rows-drop
feat/tiering-761-d-scale
feat/tiering-761-c-index
feat/tiering-761-b-reader
archive/review/sharing-pr3-review-9fec3d1f
perf/ports-lazy-budgets
feat/tiering-761-a-migration
archive/review/sharing-pr3-review
archive/review/sharing-pr3-review-code
archive/plan/previews-865
archive/port/port-attachments-3
archive/port/contacts-merge
fix/motion-audit-859
fix/motion-audit-859-mac
archive/port/port-pickers
archive/port/port-tables-2
archive/port/port-tables
recovered/local/sharing-s1-pr2-room-snapshot-candidate
archive/fix/parallel-test-flakes-code-minipc01
docs/imap-766-readonly-slice
feat/dav-recorder-v3
research/788-diagnosis
archive/fix/parallel-test-flakes
archive/perf/pr792-cold-index-edit
docs/sharing-slice-1
recovered/feat/dav-recorder-v2
recovered/feat/dav-recorder-v2-edd7bbb
spike/imap-766-s0-cases
archive/fix/undo-768
recovered/feat/dav-recorder
recovered/feat/dav-recorder-901acd4
feat/contacts-import
perf/cold-growth-on-764
perf/cold-growth-on-tiering
recovered/feat/tasks-set-status
feat/tasks-move-reorder
feat/tasks-delete-promote-duplicate
feat/carddav-writes
perf/quota-on-tiering
perf/quota-simple
perf/cold-growth-on-quota-stack
recovered/perf/cold-growth-on-tiering
feat/calendar-identity
feat/calendar-event-parser
feat/calendar-props-maps
port/glass-when-ring
recovered/feat/tiering-761-s1-wip-8132a84
recovered/feat/tiering-761-s1-wip-9da4094
recovered/feat/tiering-761-s1-wip-724512c
recovered/feat/tiering-761-s1-wip-66e667e
recovered/feat/tiering-761-s1
wip/6by32-01-tier-761-s1-pause-20261030
spike/imap-766-s0
wip/6by32-02-calternal-pause-20261030
wip/8by64-01-review-688-pause-20261030
wip/6by32-01-verify-744-pause-20261030
wip/6by32-01-verify-742-pause-20261030
fix/private-staging-759b
wip/6by32-01-review-748-pause-20261030
wip/6by32-01-review-733c-pause-20261030
wip/6by32-01-review-733b-pause-20261030
review/calendar-month
wip/local/bm15-trash
plan/759b-staging
review/767b-tests
review/preview-2026-10-29
docs/tiering-731-plan
wip/c6b02-review-733d
wip/c6b02-bm1-full-a
docs/deploy-plan
fix/storage-owner-liveness-642
fix/storage-fix-7
feat/tiering-731
wip/tiering-731-first-attempt
perf/idle-honest-2
fix/storage-private-tmp-642-dev
fix/storage-exact-file-quarantine-642
perf/one-flush-save
review/calendar-static
review/indexing-ring
review/when-field-2
proto/block-identity-2-review
proto/block-identity-review
review/when-field
issue/tasks-create-ids
issue/tasks-create
review/combined
review/task-polish
review/top-buttons
review/q1-q5
archive/integ325-293
archive/integ325-ci
issue/calendar-adr
archive/old/train/2026-10-23bk2
archive/old/train/2026-10-23bk
issue/469-mockup-9a
issue/smart-tasks-mockup
issue/469-menus
issue/652-signout-flake
issue/652-history-fix7
issue/652-history-fix6
archive/old/issue/spring-check-perf
issue/spring-check-perf
issue/659-rename-fast
archive/old/train/2026-10-21ar
issue/search-hardening-3
issue/652-history-fix5
issue/660-port-sheets-glass
issue/652-history-fix4
issue/652-history-fix3
issue/652-history-fix2
issue/652-history-flake
train/2026-10-21an
issue/settings-admin-port
issue/search-port
train/2026-10-20am
issue/storage-split-fix2
issue/storage-split
archive/old/issue/folder-ids-fix
train/2026-10-20al
archive/old/issue/folder-ids
train/2026-10-20ak
issue/tables-mockup
train/2026-10-19aj
train/2026-10-19ai
issue/469-merge-fixes
issue/sidebar-band
archive/old/issue/608-settings-spec
train/2026-10-19ah
issue/swipe-offscreen
train/2026-10-19ag
archive/old/issue/590-nlp-adr
archive/old/issue/587-event-after-write-2
train/2026-10-19af
archive/old/issue/587-event-after-write
issue/469-pill-room-c
issue/469-pill-room
train/2026-10-19ae
issue/469-narrow-handle
issue/397-ios-swipe-2
issue/469-desk-fixes
archive/old/issue/auto-update-adr
issue/469-filter-gap
issue/469-port-1b
issue/442-opacity-flake
issue/327-web-fast-3
archive/old/issue/469-port-1
issue/469-port-1
issue/327-web-fast-2
archive/old/issue/327-web-fast
archive/old/issue/425-stt-bench-vq1
archive/old/issue/445-no-bleed
archive/old/issue/400-swipe-mockup-2
issue/426-client-review
issue/426-client-2
issue/426-client
archive/old/issue/476-safe-area-lab
archive/old/issue/445-top-light
issue/471-blocks-mockup
archive/old/issue/448-links-app-2
archive/old/issue/448-links-app
archive/old/issue/398-cold-links
issue/434-442-small-2
issue/434-442-small
archive/old/issue/398-unload
archive/old/issue/445-bottom-band
issue/445-bottom-band
issue/351-rem-3
issue/351-rem-2
issue/351-rem
archive/old/issue/327-first-note
issue/395-width-phone
archive/old/issue/327-typing
issue/396-ios-edges
issue/397-ios-swipe
archive/old/issue/327-notes-index
issue/345-347-contrast-empty-2
archive/old/issue/44-arenas
issue/44-arenas
archive/integ325
archive/old/issue/327-perf-harness
archive/old/issue/44-thp
issue/44-thp
archive/old/issue/285-sticky-pills
archive/old/issue/44-trim-3
issue/44-trim-3
archive/old/issue/165-cards
archive/old/issue/165-picker-2
archive/old/issue/212-multi-select
No results found.
Labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
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#617
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Round 9B mockup (kayg's Tasks + Composer decisions). Page:
apps/mockup/tasks.html, branchissue/tasks-composer-mockup. Deep-linkable states and sheet paths are commented below at each deploy.Deploy 1: https://preview.calternal.cloud/tasks.html (branch
issue/tasks-composer-mockup, Tasks items 1–4 and the Composer in; chrome.html files untouched, other site files checked unchanged).Phone: resize under 760 px or open on a phone. Every state is in the address (
tasks.html#/…):#/tasks/today#/tasks/upcoming#/tasks/anytime,#/tasks/someday,#/tasks/view:important,#/tasks/tag:home#/tasks/today?lists=1#/tasks/today?layout=board,?layout=timeline,?layout=matrix#/tasks/today/t2#/tasks/today/t2#/notes/2026-10-13,?open=t2#/settings/editor/tasks#/tasks/today?find=1?find=1&q=call plumber fri 5,?find=1&q=lunch with Ana tue 1–2 pm,?find=1&q=how did I fix the perf vm,?find=1&q=perf vm notes?find=1&q=accent,?find=1&q=toolbarEnter creates and clears, ⌘Enter creates and opens, Esc closes. A created task lands at the end of today's journal (
#/notes/2026-10-13, highlighted once) and in its list.Perf (Chromium, CDP, CPU x4, software raster so frame times here are not a GPU's; script/style/layout are real): keystroke script median 3.2 ms / p95 10.1 ms at x4 (≈0.8 / 2.5 ms real). Torph was 160 ms of script per phrase with forced layouts, so the intent line now uses an own compositor-only morph (
composer/LineMorph.svelte). iPhone simulator numbers follow in the next comment.Deploy 2: https://preview.calternal.cloud/tasks.html (same state links as the first comment; sheet paths
?prop=when|deadline|repeat|moreon#/tasks/today/t2, Composer?find=1&q=…). Changes: the palette on fixed-clock CSS transitions (Svelte's out transition left it up ~225 ms), task title wraps in a narrow pane, the notes' keyboard guard docks the phone Composer on the keyboard, 44 pt targets on the property pills and checkboxes, README rows. Chrome.html files untouched; every other site file checked unchanged. Focused functional script (35 checks: phrases, kinds, highlights, Enter / ⌘Enter / Esc, ticking, pickers, typing bar, layouts) passes.Perf (kayg's budget: first motion ≤ 1 frame, no frame > 16.7 ms, ≤ 8 ms script per keystroke)
iPhone simulator (real WebKit, real touches, rAF logger via
sim eval; Safari rounds timers to 1 ms so a 60 Hz frame reads 16–17):composer/LineMorph.svelte(stacked cells, opacity / translate / blur only): Chromium at 4x, keystroke script median 3.2 ms, p95 10.1, max 15.3 (≈0.8 / 2.5 / 3.8 ms on a normal CPU). Composer open went from 137 ms to 66 ms long task at 4x.focus()(the same stall for a bare<input>on a blank page; with focus patched out the morph is 16–17 ms every frame; focus moved out of the tap gesture stops the keyboard appearing at all). A native keyboard animation on a real phone may behave differently; worth a device check.kayg review (2026-10-19 18:04 IST, real iPhone):
Deploy 3: https://preview.calternal.cloud/tasks.html. Everything from kayg's device review and the coordinator's notes, with screenshots checked at 390 and 1440, light and dark.
Changes
LayoutMenu.svelte. Desktop keeps the four-segment control, now with 44 pt segments and the shared icon tokens.&align=leftkeeps it by the sidebar), the pane takes the room; picking a task slides the right pane in and the list goes to 380. The sidebar's tabs are centred on its centre line (measured, |d| <= 0.5 at 1100, 1440, 1920). The Composer palette is denser (paper tint under the blur), legible over a dense note in light and dark.text-box, the box sits half acapbelow the top): measured offset 0.0 to 0.4 pt.Audit (computed, tests/tasks-tiers.spec.ts, 320 / 390 / 440, light and dark, Chromium and WebKit, plus desktop 1440; all pass). 390 shown; 320 and 440 differ only in x.
Asserted: top row level (back and layout pill share y = 11), 18 pt from both edges; list dock gaps 10 / 10, margins 18 / 18; sidebar capsule and + one group (+ the capsule's height, level at top and bottom, 10 pt apart, centred: left margin = right margin), both >= 8 pt from the screen edge; every icon the token size and stroke (22 / 2.1 phone, 16 / 1.6 desktop; optical ones by their declared offset); no hit target under 44 pt (capsule buttons, top pills, +, mic, checkbox boxes, property pills); a pill's radius is half its height; checkbox centre vs title cap centre <= 0.6 pt on every row; chips one fixed step (9 pt) under the title's baseline; desktop segments >= 44 wide.
Frame numbers, iPhone simulator (real WebKit, real touches; 60 Hz so 16-17 ms is a frame)
Deploy 4: https://preview.calternal.cloud/tasks.html. kayg's desktop and device notes: ring, resizable panes, nested tint, Matrix, priority colours, and the first low-power pass on the task pane (also for #625).
Fixed
:focus-visible)..press) tint and press scale on top of the row's, which drew the second, square-edged rectangle. The row (List, Matrix) or the card (Board) owns hover, press and selected; the button inside draws nothing. Testtests/tasks-surfaces.spec.ts: in rest, hover, pressed, selected and keyboard focus, for List, Board, Matrix, the sidebar and the notes list, light and dark, at most ONE element with a background under the pointer inside a row/card (chips and the checkbox are marks); keyboard focus is a ring and never a fill; no ring after a mouse. 8 pass.col-resize, a thin hover line, double-click resets (springs; a drag follows 1:1), arrows nudge 16, widths remembered on this device, every layout incl. Board (in Board the edge moves the task pane). Bounds: sidebar 200-360, middle >= 320, right >= 360 (the Notes shell has 180-320 and 260-460; I used your numbers). One width write a frame; the transition is off while dragging and for two frames after (WebKit eased the last step otherwise). Playwright (Chromium + WebKit): clamps, memory, reload, reset, keyboard, Board edge, no ring.&matrix=grid2 x 2 (stacked reads better at 390: cards keep a line of title). Cards drag like the Board (the samednd.svelte.ts); a drop sets priority and urgency: Do = High+ and due within 2 days, Plan = High+ and not urgent, Quick = urgent and below High, Later = neither (the date moves to today / +3 days), the changed chips spring, and the card stays in the list for the visit. Test passes (all four quadrants, ghost gone, chips pop).tests/tasks-matrix.spec.ts.Right pane open/close (the cause and the fix)
flex-basis, so the middle pane re-laid out its whole list every frame. The layout now takes its final shape ONCE (opening: at the start; closing: at the end) and the page slides on the compositor (transform + opacity inside the pane, which never changes size mid-motion). Layouts per open: 8 -> 3; per close: 4-6 -> 1. During a resize drag, panes' widths are set inline (not as root custom properties, which restyled everything).Low-power measurement (what could and could not be done)
taskpolicy -b, 76 processes, restored with-B -t 0 -l 0afterwards; no other process touched): the fixed JS loop barely slows (7 -> 10 ms) but WebKit throttles rAF to ~5 fps (frames 214 ms), so it is not a usable stand-in for LPM's 30 fps and slower CPU. Throughput tiers-t/-l 2,4,5changed nothing on an idle Mac. Numbers from it are not meaningful; I did not use them.Chromium CPU x6, main thread per interaction (x6 values; divide by 6 for a normal CPU), before = deployed Deploy 3, after = this build:
Simulator (real WebKit, 60 Hz, this build), per interaction: first frame after input / worst frame / frames over 16.7 ms. At 60 Hz every frame is 16.7 ms, so "frames over 8.3 ms" cannot be told apart in the simulator (all of them); the 120 Hz question is answered by the main-thread cost above, per frame at normal speed: resize drag ~0.5 ms layout + 0.4 ms style a frame, Board drag ~1 ms a frame between the lift and the drop.
Deploy 5: https://preview.calternal.cloud/tasks.html (kayg's review: corners, Board drops, List swipe and drag).
RowActionsand registry,tasks/rows.ts): left to right Complete (a long swipe runs it; the row stays, struck through) and Copy link; right to left Delete (a long swipe, with Undo), Someday, Tomorrow. The ⋯/right-click menu and shortcuts come from the same list (Open, Complete, Copy link, Tomorrow, Someday, Delete). The hold no longer opens the notes' hold menu on tasks: a hold lifts the row.tests/tasks-drag.spec.ts(corners, Board drops, grip drag to a day, drop on the sidebar, plus Chromium touch for swipe delete + Undo, swipe complete, hold-and-drag, Board low drop) withtasks-surfaces,tasks-matrix,tasks-tiers: 34 pass in Chromium; the same drag/surfaces/matrix specs pass in WebKit (the touch ones need CDP, so WebKit runs them in the iPhone simulator below).Frames, iPhone simulator (real WebKit, 60 Hz; synthetic touch gestures; main-thread cost at 120 Hz is in the earlier tables)
All frames are 16.7 ms at 60 Hz otherwise, so frames over 8.3 ms cannot be told from the simulator; not within the 16.7 floor: the lift frame (22-30 ms), the drop frame (26 ms) and the delete frame (37 ms: the toast library mounting). Not measured on a real iPhone. Matrix (and the Board) keep their one lift-frame cost from before.
kayg referenced this issue2026-11-05 23:21:12 +00:00