Commit Graph
9200 Commits
Author SHA1 Message Date
Dylan M. TaylorandClaude Opus 5.5 fc5cb2bab5 buttons: a stacked face takes tile corners; RecentList::remove and BackstageView::back_look options
A stacked push, toggle or split button shares the icon face's corners (control corners unless the variant is
explicitly full), so a capsule radius no longer rounds a two-line stack into a circle that cuts its label.
RecentList gains RecentRemove (Revealed by default, Always shows every row's remove part) and BackstageView
gains BackLook (Labelled by default, Glyph draws Back as the glyph alone); each has a story and a trial.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:24:14 +00:00
Dylan M. Taylor c6898679b7 Merge branch 'port/deckcraft/look/fw-3' into port/deckcraft/area/framework 2026-11-28 16:45:55 +00:00
Dylan M. Taylor 20b176104d Merge branch 'port/deckcraft/look/fw-1' into port/deckcraft/area/framework 2026-11-28 16:45:55 +00:00
Dylan M. TaylorandClaude Opus 5.5 487b29c559 access names: split arrows are '<label> options', a label's line break reads as a space, the ribbon's chevrons say what they scroll
A SplitButton without an arrow_label named its arrow part with the bare label, so both parts shared one name
and a lookup by name found two. ButtonWords::split_options ('{label} options') now names it.

A stacked face's named line break ('Effect\nOptions') stayed in the access name; a name is read as one line.

The ribbon row's chevrons were 'Scroll left'/'Scroll right', the same words as the canvas scroll bars' arrows
in the same window; they are now 'Scroll ribbon left'/'Scroll ribbon right'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:20:09 +00:00
Dylan M. TaylorandClaude Opus 5.5 0fa8322145 icon picker: the search field shows its name as its hint; IconPickerGroups::FlatWhileSearching lists a search's matches without headings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:01:44 +00:00
Dylan M. TaylorandClaude Opus 5.5 829a5a8841 picture: PictureSize::FitCentred takes the room and draws at its aspect in the room's middle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 15:32:06 +00:00
Dylan M. Taylor ee820581ca Merge branch 'port/deckcraft/look/fw-2' into port/deckcraft/area/framework 2026-11-28 12:22:41 +00:00
Dylan M. TaylorandClaude Opus 5.5 7d48123162 icon picker: a search that keeps its query on Escape, so one Escape closes a popover
IconPickerSearch::KeepsQuery draws the search field as a live filter
(TextField::keeps_on_escape): Escape keeps the query and goes on to the
host, so a popover holding the picker closes on one Escape. The default
field still clears its text first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:01:28 +00:00
Dylan M. Taylor 5dbb63db34 Merge branch 'port/deckcraft/look/fw-2' into port/deckcraft/area/framework 2026-11-28 11:31:14 +00:00
Dylan M. Taylor e8a68c225b Merge branch 'port/deckcraft/look/fw-1' into port/deckcraft/area/framework 2026-11-28 11:31:14 +00:00
Dylan M. Taylor cda73eadcb Merge branch 'port/deckcraft/look/fw-3' into port/deckcraft/area/framework 2026-11-28 11:27:12 +00:00
Dylan M. TaylorandClaude Opus 5.5 6fcfb5fdc6 viewport window: an ordinary app window with the OS frame (ViewportWindowKind::App)
ViewportWindow opened every modeless window as a tool window: a palette
with no taskbar entry and the dialog's own title row. An app's second
document window or presenter's view is an ordinary window of the app.
ViewportWindowKind::App (q352 = A) opens WindowSpec::document() with the
OS frame and opens_over_full_screen as before, and the dialog fills the
window (Dialog::fills_os_window): no padding, and a header the OS title
bar stands for (HeaderRegion::os_title). The body leaves such a header
out, in its read step, where the container is a viewport mount in an OS
window of its own whose frame the OS draws; a layer and an app-framed
window keep it. The default kind and every other header are unchanged.

Trial: the_os_title_bar_stands_for_a_header_only_in_an_os_framed_window
(fails with the read-step filter off); story viewport_window_app.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 11:07:09 +00:00
Dylan M. TaylorandClaude Opus 5.5 5025eaa5c4 tile_grid: framed pictures stand the ring off, fade when hidden and keep faint marks; headers may scroll with their tiles
PictureEdge::Framed now strokes its selection ring a tight gap off the picture
with no halo, veils a hidden picture with the surface under the grid instead of
the scrim, and keeps a selected tile's marks in their faint ink. Rings are
stroked outside the picture for every tile, so the gap shows the surface.

TileGrid::header_scroll(HeaderScroll::WithTiles) lets titled headers scroll
with their tiles instead of pinning. The arrangement holds the choice, so its
hit test, visible rows and parts read one answer; Rule heads use it too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 10:41:58 +00:00
Dylan M. TaylorandClaude Opus 5.5 60c900029d menu: a gallery tile under the pointer fills and names its item
The ribbon gallery's tiles took clicks but painted no hover state and had no
tooltip, so a captioned tile's elided name could not be read. Each tile part
now wears the state layer and the item's name as its tooltip. PartsCx::recall
reads the shown memory, as press_slot reads the press slot, so the tiles name
the items the remembered step shows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 10:39:06 +00:00
Dylan M. TaylorandClaude Opus 5.5 3b14f2a8ba table: a sheet sized from its content is as wide as its columns
Under a body that takes its width from its content (a chart's data in a
dialog's custom row), CellGrid asked for no width, so it measured narrow and
cut its columns and what stood under it. It now asks for its columns' extent
at the zoom.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 10:39:02 +00:00
Dylan M. TaylorandClaude Opus 5.5 75665387c7 icon picker: a row cap for a long picker in a menu or popover
A picker shown in a popover body that scrolls had only the natural height
to satisfy the collection rule (16.3), which scrolls its search field away
with the cells. max_rows(n) passes the grid's row cap through: the grid is
as tall as its first n rows and scrolls the rest itself, under the search
field. The default is unchanged. Trial:
a_capped_picker_scrolls_its_own_rows_in_a_scrolling_body (fails on the
16.3 assertion with the cap ignored); story icon_picker_capped_rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 10:28:23 +00:00
Dylan M. Taylor 47bbce5c47 Merge branch 'port/deckcraft/look/fw-3' into port/deckcraft/area/framework 2026-11-28 10:22:22 +00:00
Dylan M. Taylor 2d6a304ae6 Merge branch 'port/deckcraft/look/fw-2' into port/deckcraft/area/framework 2026-11-28 10:05:43 +00:00
Dylan M. Taylor 0f9a78ac6e Merge branch 'port/deckcraft/look/fw-1' into port/deckcraft/area/framework 2026-11-28 10:05:43 +00:00
Dylan M. TaylorandClaude Opus 5.5 6205af4e3e tile grid: the output names each shown group header and its rect
A menu an app opens for a group without a gesture (an automation request)
had nothing to hang from but the whole grid: the collection's shown rows
hold only tiles. TileGridOutput::headers gives each header in view with its
rect, as the grid placed it this pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 10:04:59 +00:00
Dylan M. TaylorandClaude Opus 5.5 91842c9c15 tile grid: a framed picture edge for slide and page panes; marks at the small glyph size
PictureEdge::Framed (TileGrid::picture_edge, default Open, unchanged) frames
every picture with the frame line at rest and rounds the selection ring and
its halo with the small radius, as a slide pane draws its slides. A story
shows it; a trial checks the rest edge and the rounded ring against Open.

A mark under a start caption takes the small glyph size, which reads below
the caption's cap height, instead of the control icon size that stood larger
than the number above it. Callers: craft-pages thumbnails and the imaging
filmstrip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 09:28:03 +00:00
Dylan M. TaylorandClaude Opus 5.5 2fbb352066 windows: a viewport mount can open its own window over a full-screen opener
WindowSpec::over_full_screen (and ViewportWindow::opens_over_full_screen,
Dialog::viewport_with) keep a viewport mount in an OS window of its own when
the window it opens from is full screen or, on Wayland, maximized, where a
mount otherwise shows as a layer in its opener: a window that stands beside a
full-screen one, as a presenter's window beside its show. Default off; the
mount_window rule is unchanged for every other mount. Gallery story added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 08:53:00 +00:00
Dylan M. TaylorandClaude Opus 5.5 d64796530f injected input: a target change withdraws only what is aimed at a point
When the focus moves or the application withdraws a viewport's input (its
document or layout changed), only the requests aimed at a screen point leave
the lane: pointer moves, buttons, wheel turns and file drops, whose point now
means another place. Keys, text and input-method steps stay and go to the
focus current when they run, as a user's next key does. A node action
(ui.click/ui.focus by id or label) addresses its node and is dropped only when
the viewport's kept tree no longer has it; its waiter then fails naming the
node (WindowHost::take_injected_gone, synthetic::gone). The request whose step
already ran still keeps its rest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 08:52:53 +00:00
Dylan M. TaylorandClaude Opus 5.5 c95d31e08b automation: ui.move to a labelled node and ui.drag; table: CellGrid takes the natural height
ui.move {label | id} moves to the centre of the one reported node the label
(ignoring case) or id names, as ui.click {label} names a node. ui.drag {x, y,
toX, toY, steps?, button?} queues a held press, evenly spaced moves and the
release at the end, one step per pass.

CellGrid forwards natural_height, so a sheet inside a scrolling dialog body
shows every row and leaves the scroll to the body.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 08:36:37 +00:00
Dylan M. Taylor fa59fa863b Merge branch 'port/deckcraft/look/fw-3' into port/deckcraft/area/framework 2026-11-28 08:03:13 +00:00
Dylan M. Taylor c97d5d645a Merge branch 'port/deckcraft/look/fw-2' into port/deckcraft/area/framework 2026-11-28 08:03:13 +00:00
Dylan M. TaylorandClaude Opus 5.5 90912a7200 about: a centred column layout, as an app's own About shows it
AboutLayout::Column: the mark large, the name as a heading, the version muted, the blurb's
lines, the links one to a line and the built-with line, every one centred, and Close. A
named variant with its own story; the listed layout is unchanged. Trial:
the_column_about_centres_every_line_in_order_and_closes_with_close.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 08:03:09 +00:00
Dylan M. TaylorandClaude Opus 5.5 1ea150b08e ribbon: a card body takes the surface radius, as a card inset on the window surface does
The panel radius is the docked panels'; an app that rounds its ribbon card through it rounded its docked panes too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 07:15:09 +00:00
Dylan M. TaylorandClaude Opus 5.5 7cbba1e358 ribbon: a card body stands a margin in from the region's edges, the row padded inside it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 06:43:00 +00:00
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