Commit Graph
9171 Commits
Author SHA1 Message Date
Dylan M. TaylorandClaude Opus 5.5 a787c30e93 icon picker: an opt-in natural height for a picker shown in a scrolling body
IconPicker owned its grid's scroll with no way to hand it to the body around it, so an app
that showed one in a dialog or menu body that scrolls hit the collection rule (16.3) and
crashed in debug builds. natural_height(true) passes the grid's natural height through;
the default is unchanged. Trial: a_natural_height_picker_shows_whole_in_a_scrolling_body
(fails without the option on the 16.3 assertion).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 06:21:31 +00:00
Dylan M. Taylor 4ca579a638 Merge branch 'port/deckcraft/red/fw-r10-2' into port/deckcraft/area/framework 2026-11-28 04:42:19 +00:00
Dylan M. Taylor ddcd867708 Merge branch 'port/deckcraft/red/fw-r10-1' into port/deckcraft/area/framework 2026-11-28 04:42:19 +00:00
Dylan M. TaylorandClaude Opus 5.5 73ac0edbaa preferences trials: format the nested dialog trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:26:18 +00:00
Dylan M. TaylorandClaude Opus 5.5 b1b182c287 collections: an empty list sized from its content takes its empty text's width
A collection that takes its width from its content measured 0 wide with no
rows. A zero-width non-body shows nothing, so the measuring run dropped its
row floor and the form row under it kept no room: what stood under the list
overlapped it and fell outside the dialog. With no rows it now asks for the
width of its empty text on one line, so the measuring run keeps its floor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:26:17 +00:00
Dylan M. TaylorandClaude Opus 5.5 c3f9a32cb4 edge panes: the grip takes the edge it shares with the centre
An edge pane's grip is an over part now, and its placement waits for the
container that shows the pane: the grip stands above what that body shows
after the pane, so a press on the pane's inner edge resizes it instead of
reaching the canvas that fills the centre up to the same edge. A pane whose
host runs on another layer or viewport, or in other replay records, places
its grip at once as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:26:12 +00:00
Dylan M. TaylorandClaude Opus 5.5 e605059dd2 window host: a wake from another thread leaves the pass state alone
The control server and the agent link wake a window from their own threads through
WindowHost::repaint_in, which read the frame clock to note the wake for replay. The clock
lives in the pass state the UI thread holds while it runs a pass, so a request that arrived
mid-pass panicked on the server thread ("another thread holds this context's pass state")
and took the app down: 11 of 84 launches in the port's first look run. Outside a pass of
the context on the calling thread, repaint_in now only asks egui, whose repaint requests
are thread-safe; inside one it notes the wake as before.

No trial: the test rig's frames do not hold the pass state the way an app pass does, so a
cross-thread wake there passes with or without the fix. The look run's launches check it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:26:11 +00:00
Dylan M. TaylorandClaude Opus 5.5 df3405c3e1 layers: an anchored layer keeps its anchor floor when a real pass places it, so an empty result stays as wide as its opener and the rows that come back get that width
The measuring run floored a layer's width at its anchor (anchor_floor), but the real pass sized it from what the
regions took (wanted_width) with no floor, and offered its body that width. An empty dropdown shrank to its padding,
and the rows that came back were offered no width and never showed. The floor is now part of the container's least
width, which both runs apply, and the layer's LayerFloor is read from the same place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:22:32 +00:00
Dylan M. Taylor 6c66cae236 Merge branch 'port/deckcraft/red/fw-r9-2' into port/deckcraft/area/framework 2026-11-28 03:56:43 +00:00
Dylan M. Taylor df338235c0 Merge branch 'port/deckcraft/red/fw-r9-1' into port/deckcraft/area/framework 2026-11-28 03:56:43 +00:00
Dylan M. TaylorandClaude Opus 5.5 f8a2a68db7 list rows: drop the placement module's unused imports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:42:43 +00:00
Dylan M. TaylorandClaude Opus 5.5 6552b63812 preferences window: a nested dialog takes clicks while it is open; only the page and Cancel wait for it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:04:56 +00:00
Dylan M. TaylorandClaude Opus 5.5 8395cdf73f ruler: a double press that drags a stop moves it and asks for no Tabs dialog; only a released double click does
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:02:32 +00:00
Dylan M. TaylorandClaude Opus 5.5 8868c704c2 key stage: a stop may keep plain Tab and let Shift+Tab move the focus out (KeyUse::shift_tab_leaves); the canvas text editor of a host without Tab keys does
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 02:58:56 +00:00
Dylan M. Taylor 1b3ebaae06 Merge branch 'port/deckcraft/red/fw-r8' into port/deckcraft/area/framework 2026-11-28 02:50:34 +00:00
Dylan M. TaylorandClaude Opus 5.5 f4e89d15d5 text editor trial: Shift+Tab leaves the canvas editor for a second editor beside it
Tab order wraps, so with the editor as the window's only stop Shift+Tab would bring
the focus back to it whatever the editor does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 02:29:52 +00:00
Dylan M. TaylorandClaude Opus 5.5 34ee5771e5 collections: Enter on a disabled lead is no activation, so the popup or menu the collection is in stays open
The refusal pushed CollectionEvent::Refused but left the keyed activation in place,
and the run step counted it as an activation and closed the layer (the in-place
command palette closed on Enter over a disabled command).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 02:29:50 +00:00
Dylan M. TaylorandClaude Opus 5.5 fa234114b5 list rows: a thumbnail slot is sized from its picture's aspect plus the frame, so a custom-ratio picture keeps its ratio inside the frame
The slot took the aspect and the picture was the slot less the frame on every side,
so a non-square picture came out with another ratio. A square slot is unchanged.
The frame width is read from the row's sizes only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 02:29:46 +00:00
Dylan M. TaylorandClaude Opus 5.5 dcaf059a06 cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:46:19 +00:00
Dylan M. TaylorandClaude Opus 5.5 dd5c833799 Command board: declared edits reach the instance around the focus; a window layer can take unfocused keys
Outside the modal layers, a ModalRule::Declared app command now goes to the innermost
instance around the focus that published its state, as it already did inside a modal
layer: a list pane that declares Select All takes it while it holds the focus.
Trial: commands::board::a_declared_edit_reaches_the_instance_around_the_focus.

ViewportWindow::takes_unfocused_keys (opt-in, off by default) records the window's
layer with the board; while that layer is open, a key pressed in its viewport with
nothing focused goes to the instances in the window's body instead of the shell
and page roots, as a modal layer's root already gets them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:39:17 +00:00
Dylan M. TaylorandClaude Opus 5.5 25a6fd365b text editor: the canvas editor keeps Shift+Tab only for a host with its own Tab
The Tab hook moves to TabKeys, which a host hands out from
TextEditorHost::tab_keys. Only then does the canvas editor claim Shift+Tab for
the host; on any other host Shift+Tab moves the focus out of the editor again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:21:55 +00:00
Dylan M. TaylorandClaude Opus 5.5 b71124daf6 collections: a toggle cell is one access node, the item's own
An item declares the part that shows its cell of a toggle column with
PartsCx::toggle_cell, at contract::toggle_cell_part(column). The part's node
carries the item's role and name and declares AccessKit Click without taking the
pointer; the collection takes the requests on it and flips the cell as a press
does. The collection no longer reports a second node per cell, so a list's eye
column is one Button, as it was before the port. ListRow toggles and the
timeline's track switches use it; put_toggle_names goes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:21:53 +00:00
Dylan M. TaylorandClaude Opus 5.5 6151c0add8 cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:02:00 +00:00
Dylan M. TaylorandClaude Opus 5.5 132843e3fe text editor: the host may take Tab, word and paragraph stops, word deletes and Copy's HTML
TextEditorHost gains defaulted hooks: tab (Tab and Shift+Tab, for a list level or the next cell),
caret_stop (Cmd+arrows by word, Ctrl+Up/Down by paragraph off the Mac), delete_word, and
copy_html, offered beside the plain text on Copy and Cut. Hosts without them keep the editor's
own rules. The canvas editor keeps Shift+Tab for its host instead of letting it move focus out of
the session.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:42:41 +00:00
Dylan M. TaylorandClaude Opus 5.5 15d5b8e194 cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:06:47 +00:00
Dylan M. TaylorandClaude Opus 5.5 3c6e6a53bd canvas: the zoom-modifier wheel zooms with Zoom with Trackpad Pinch off; only the pinch is refused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:03:58 +00:00
Dylan M. TaylorandClaude Opus 5.5 cbbfa814d4 keys: a focused canvas's untaken Enter reaches the window's intents, as its Escape does
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:54:05 +00:00
Dylan M. TaylorandClaude Opus 5.5 1a55a2f92c focus: a dialog's first-field focus passes over read-only text
Initial::FirstField picked the first text stop, read-only ones included, so the presenter
view (a dialog) opened with the keyboard in its read-only speaker notes and the show's
arrows, Enter and Escape went to the notes. Read-only text is press-only already: Tab
passes over it, and now so does a dialog's first-field focus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:58:36 +00:00
Dylan M. TaylorandClaude Opus 5.5 6aded003af host: an answered browser save counts as a write in ScriptedFiles::written
settle() filed a save's bytes under the chosen path but did not list the path, so a
test that checks what a browser save wrote saw nothing. (port q325)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:28:40 +00:00
Dylan M. TaylorandClaude Opus 5.5 eb8209c344 ListRow declares Role::None among its alternative roles
A row shown with .node(false) reports Role::None (show.rs access), which ALT_ROLES did not list, so the
access check rejected every such row (DeckCraft's animation pane).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:10:32 +00:00
Dylan M. Taylor 0cc1275838 Merge branch 'port/deckcraft/area/app-fw' into port/deckcraft/area/framework 2026-11-27 14:51:05 +00:00
Dylan M. Taylor 29c984eb9a panels-w12: net change of 2 commits
- panels-w12: written by an agent
- panels-w12: review fixes (review-1)
2026-11-27 14:50:59 +00:00
Dylan M. Taylor 26abdd2b66 dialogs-w18: net change of 3 commits
- dialogs-w18: written from its sheet
- dialogs-w18: written by an agent
- dialogs-w18: review fixes (review-1)
2026-11-27 14:50:58 +00:00
Dylan M. Taylor e2dcc5fd5a panels-w4: net change of 2 commits
- panels-w4: written by an agent
- panels-w4: review fixes (review-1)
2026-11-27 14:50:58 +00:00
Dylan M. Taylor 360ab76e72 panels-w5: net change of 1 commits
- panels-w5: written by an agent
2026-11-27 14:50:58 +00:00
Dylan M. Taylor 213a20a5f9 panels-w7: net change of 2 commits
- panels-w7: written by an agent
- panels-w7: review fixes (review-1)
2026-11-27 14:50:58 +00:00
Dylan M. Taylor 0dc0a30a96 dialogs-w17: net change of 2 commits
- dialogs-w17: written by an agent
- dialogs-w17: review fixes (review-1)
2026-11-27 14:50:58 +00:00
Dylan M. Taylor 7632e28b85 dialogs-w9: net change of 2 commits
- dialogs-w9: written by an agent
- dialogs-w9: review fixes (review-1)
2026-11-27 14:50:58 +00:00
Dylan M. Taylor 5af9888f62 Merge branch 'port/deckcraft/fix/fw-app-3' into port/deckcraft/area/framework 2026-11-27 14:38:45 +00:00
Dylan M. Taylor 1da9ab4e59 Merge branch 'port/deckcraft/fix/fw-app-2' into port/deckcraft/area/framework 2026-11-27 14:38:45 +00:00
Dylan M. Taylor 487e3ed114 Merge branch 'port/deckcraft/fix/fw-app-1' into port/deckcraft/area/framework 2026-11-27 14:38:45 +00:00
Dylan M. TaylorandClaude Opus 5.5 ab70f25177 A container measured from a context and an env sizes from its content, as measure_in does: the entry's Ui is no sizing pass, where a filling container takes the whole room
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:37:55 +00:00
Dylan M. TaylorandClaude Opus 5.5 f0cf66390c Drop the resolved PageSpec::resettable assumption markers
The signature exists in preferences/model.rs; its implementation stays with
dialogs-w17.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:36:41 +00:00
Dylan M. TaylorandClaude Opus 5.5 48db521006 A wide glyph tile reads in its sample's own direction and names its face
A wide face is a text sample, so a right-to-left interface no longer reorders
and remeasures it, and a cell too narrow for it gives the reader the whole
sample as the tile's description. The face is no longer taken out in paint, so
access still sees it. The wide stories show one tile each, so the suite's
right-to-left case can mirror them, and the picker trial counts only a shared
area as overlap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:36:32 +00:00
Dylan M. TaylorandClaude Opus 5.5 fbdcc6b07e Complete the independent SplitButton menu and the shared over-picture surface
An injected activation (automation, AccessKit) no longer fires a disabled bound command on a component that stays
enabled for an action of its own: the step-17 gate reads Resolved::command_enabled beside Resolved::enabled.

The Independent menu story takes its command states from the story's commands function, so its measuring run
publishes nothing. The over-picture resolver is StyleCx::over_picture_surface. The shared-surface trial compares the
hint with the bar style recorded under the current theme, and the independent-menu trial looks up the body's
unavailable row among the menu's rows, where it shares the split's name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:35:32 +00:00
Dylan M. TaylorandClaude Opus 5.5 f6ae74bf48 A grid's max_rows counts whole visual rows, each as tall as its tallest tile, and min_rows still pads rows it does not lay out
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:20:03 +00:00
Dylan M. TaylorandClaude Opus 5.5 97285bdddd WIP fw-app-2: partial framework follow-ups (Codex stopped: usage limit / killed); not reviewed, not merged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 11:17:47 +00:00
Dylan M. TaylorandClaude Opus 5.5 8605387a1a WIP fw-app-3: partial framework follow-ups (Codex stopped: usage limit / killed); not reviewed, not merged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 11:17:47 +00:00
Dylan M. TaylorandClaude Opus 5.5 a84275d0d4 WIP fw-app-1: partial framework follow-ups (Codex stopped: usage limit / killed); not reviewed, not merged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 11:17:47 +00:00
Dylan M. Taylor 9b2438f5e0 Merge branch 'port/deckcraft/fix/platform-w1-take-flag' into port/deckcraft/area/framework 2026-11-27 11:00:07 +00:00