Mockup: third pane only when needed #910

Open
opened 2026-11-04 07:56:35 +00:00 by kayg · 2 comments
Owner

kayg 11-04, Settings > Devices at 1440: a large empty third pane said only "Choose a device." ("Just hide the third pane when not needed.")

Change (head 8e8d8d48 on review/calendar-2): Shell gets noMain. With nothing to show, the detail pane is inert, invisible and slid 24 px aside; the middle pane spans the room, content capped at 760 px and centred. Opening an item fades and slides the pane in (opacity + translate, 260 ms ease-out); closing reverses (160-200 ms). Phone untouched.

Places and decisions (grep of "Choose a" / "Pick a" / empty detail)

Place Decision
Settings > Devices, none chosen ("Choose a device.") two panes; third appears when a device opens
Settings > Plugins, none chosen ("Choose a plugin.") same (when plugins are on)
Settings > Account, Appearance, other pages with no list already two panes, no third ever; unchanged
Mail, no thread ("Pick a conversation.") noMain: two panes. On desktop the first thread is auto-selected, so this only shows for an empty folder
Automations, nothing open same wiring; first item is auto-selected, so only an empty view
Calendar, Notes, Contacts no placeholder, no change
Contacts "Choose a picture", covers "Choose a file" actions, not placeholders; left

Shots at 1440x900 (before = a3efb87c, after = 8e8d8d48) are attached in the next comment. Account is byte-identical before and after, as expected. Only Devices and Devices-open were captured; Plugins, Mail-empty and Automations-empty were not shot.

rAF, pane appearing (600 ms from pointerdown on a device), Mac VM WebKit, two runs: n=37, max 26.0 ms, p95 24.0 and 20.0 ms, 1 frame over 25 ms (the first, click style recalc). Run 1 misses the p95 <= 20 ms gate. There is no before-motion to compare (the placeholder swapped instantly). Linux dev-02 numbers are software-rendered and only show the gesture ran.

Specs: new apps/mockup/tests/third-pane.spec.ts (3 tests) + settings-polish.spec.ts: 8 passed on dev-02 Chromium. Preview redeployed as calendar-2.

kayg 11-04, Settings > Devices at 1440: a large empty third pane said only "Choose a device." ("Just hide the third pane when not needed.") **Change** (head 8e8d8d48 on review/calendar-2): `Shell` gets `noMain`. With nothing to show, the detail pane is inert, invisible and slid 24 px aside; the middle pane spans the room, content capped at 760 px and centred. Opening an item fades and slides the pane in (opacity + translate, 260 ms ease-out); closing reverses (160-200 ms). Phone untouched. **Places and decisions** (grep of "Choose a" / "Pick a" / empty detail) | Place | Decision | |---|---| | Settings > Devices, none chosen ("Choose a device.") | two panes; third appears when a device opens | | Settings > Plugins, none chosen ("Choose a plugin.") | same (when plugins are on) | | Settings > Account, Appearance, other pages with no list | already two panes, no third ever; unchanged | | Mail, no thread ("Pick a conversation.") | `noMain`: two panes. On desktop the first thread is auto-selected, so this only shows for an empty folder | | Automations, nothing open | same wiring; first item is auto-selected, so only an empty view | | Calendar, Notes, Contacts | no placeholder, no change | | Contacts "Choose a picture", covers "Choose a file" | actions, not placeholders; left | **Shots** at 1440x900 (before = a3efb87c, after = 8e8d8d48) are attached in the next comment. Account is byte-identical before and after, as expected. Only Devices and Devices-open were captured; Plugins, Mail-empty and Automations-empty were not shot. **rAF, pane appearing** (600 ms from pointerdown on a device), Mac VM WebKit, two runs: n=37, max 26.0 ms, p95 24.0 and 20.0 ms, 1 frame over 25 ms (the first, click style recalc). Run 1 misses the p95 <= 20 ms gate. There is no before-motion to compare (the placeholder swapped instantly). Linux dev-02 numbers are software-rendered and only show the gesture ran. **Specs**: new `apps/mockup/tests/third-pane.spec.ts` (3 tests) + `settings-polish.spec.ts`: 8 passed on dev-02 Chromium. Preview redeployed as `calendar-2`.
Author
Owner
Author
Owner

Framed page pane + app names (mockup, branch review/calendar-2, code at e6441cbb).

  • Devices/Plugins with nothing open now sit in the same framed page pane as Account (same width/padding); opening an item brings the list pane in beside the detail as in #910. Empty Mail view and empty Automations do the same (noList; noMain removed).
  • Every sidebar says its app name in the pane-title style: Notes (was "Calternal"), Tasks and Contacts (new PaneTitle), Calendar (its route has no ?app=, fixed), Mail, AI, Automations, Settings. Phone back label says the app name too.
  • Specs: third-pane.spec.ts + settings-polish.spec.ts pass on Chromium and WebKit (dev-01, ~/bin/slot, CI=1, --retries=0). third-pane now checks the frame, the same inner box as Account, and the titles incl. Calendar.

Shots: before (4294f153) then after, at 1440 and 402.

1440-devices-empty

before: before-1440-devices-empty.png

after: after-1440-devices-empty.png

1440-devices-open

before: before-1440-devices-open.png

after: after-1440-devices-open.png

1440-plugins

before: before-1440-plugins.png

after: after-1440-plugins.png

1440-mail-empty-junk

before: before-1440-mail-empty-junk.png

after: after-1440-mail-empty-junk.png

1440-notes-title

before: before-1440-notes-title.png

after: after-1440-notes-title.png

1440-calendar-title

before: before-1440-calendar-title.png

after: after-1440-calendar-title.png

1440-automations

before: before-1440-automations.png

after: after-1440-automations.png

402-notes-title

before: before-402-notes-title.png

after: after-402-notes-title.png

402-calendar

before: before-402-calendar.png

after: after-402-calendar.png

Framed page pane + app names (mockup, branch `review/calendar-2`, code at e6441cbb). - Devices/Plugins with nothing open now sit in the same framed page pane as Account (same width/padding); opening an item brings the list pane in beside the detail as in #910. Empty Mail view and empty Automations do the same (`noList`; `noMain` removed). - Every sidebar says its app name in the pane-title style: Notes (was "Calternal"), Tasks and Contacts (new `PaneTitle`), Calendar (its route has no `?app=`, fixed), Mail, AI, Automations, Settings. Phone back label says the app name too. - Specs: `third-pane.spec.ts` + `settings-polish.spec.ts` pass on Chromium and WebKit (dev-01, `~/bin/slot`, CI=1, --retries=0). third-pane now checks the frame, the same inner box as Account, and the titles incl. Calendar. Shots: before (4294f153) then after, at 1440 and 402. **1440-devices-empty** before: ![before-1440-devices-empty.png](https://git.kayg.org/attachments/6fdec455-d8e2-4000-b120-4d735d41ebb3) after: ![after-1440-devices-empty.png](https://git.kayg.org/attachments/f5492f9a-c954-49dd-b6eb-dd1952d4f36e) **1440-devices-open** before: ![before-1440-devices-open.png](https://git.kayg.org/attachments/9d00bbcc-b162-448f-a267-6407e52e7641) after: ![after-1440-devices-open.png](https://git.kayg.org/attachments/8a711931-8a73-4ba4-8312-ea883da008e3) **1440-plugins** before: ![before-1440-plugins.png](https://git.kayg.org/attachments/4816b0b5-cdd1-4a08-bccc-9c028458c777) after: ![after-1440-plugins.png](https://git.kayg.org/attachments/7d327feb-0375-4afa-a8fe-983987b32800) **1440-mail-empty-junk** before: ![before-1440-mail-empty-junk.png](https://git.kayg.org/attachments/1ed61e6d-8555-41f7-8c21-8e8a19872bd8) after: ![after-1440-mail-empty-junk.png](https://git.kayg.org/attachments/be82c9e5-1fd9-4f76-a1ce-64baa09b4965) **1440-notes-title** before: ![before-1440-notes-title.png](https://git.kayg.org/attachments/19381c85-7906-434d-8221-0304c9d89d4f) after: ![after-1440-notes-title.png](https://git.kayg.org/attachments/8a08f48f-1fb6-4e30-8b90-6991d1867e33) **1440-calendar-title** before: ![before-1440-calendar-title.png](https://git.kayg.org/attachments/626f0b78-5865-444b-b30e-a872b967d279) after: ![after-1440-calendar-title.png](https://git.kayg.org/attachments/c8666c8b-8c1b-4b1b-8348-61a740321740) **1440-automations** before: ![before-1440-automations.png](https://git.kayg.org/attachments/a87811ba-e541-4117-9d89-b7170ecbb3ee) after: ![after-1440-automations.png](https://git.kayg.org/attachments/a985017b-89aa-4405-80af-ba176e0f841e) **402-notes-title** before: ![before-402-notes-title.png](https://git.kayg.org/attachments/2100c845-6b6e-4a2c-a3f1-d0808bed60d2) after: ![after-402-notes-title.png](https://git.kayg.org/attachments/7606ec61-313d-413f-b129-517d89a2e87c) **402-calendar** before: ![before-402-calendar.png](https://git.kayg.org/attachments/ab85ca08-03f4-4354-aa98-cb233061da1d) after: ![after-402-calendar.png](https://git.kayg.org/attachments/7b5bea0b-68ec-458a-b179-6d5dbc64c1f8)
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#910
No description provided.