Commit Graph
88 Commits
Author SHA1 Message Date
Martin BallandClaude Opus 5.5 a39debb431 rr-app-ribbon2: a content slot measures what its content allocated, not the stack's clipped response
The stack's response rect is clipped to the pane (sense_root intersects a root's rect with its clip), so a slot laid
out one bar high measured its content as one bar high and never grew: the group row under the strip was cut off. The
slot now reads the stack body's min_rect after its content ran, plus what the pane keeps around its body (its rule).
The trial reads the lines from the slot's Ui, not from clipped responses, with a scrolling group row in a child Ui.
DIAG line kept until the screenshot confirms it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:51:53 +00:00
Martin BallandClaude Opus 5.5 23fa55c53d rr-app-ribbon: SlotSize::Content, a shell slot as tall as its content that stacks it (a ribbon's strip over its group row)
A top slot was one options bar high and laid its content in one centred line, so a ribbon's strip and group row sat
side by side in a bar-high pane and every group collapsed. A Content slot stacks its content, measures it in the real
run, keeps the extent in the shell's state and lays the window out again (discard_pass) when it moves. DIAG eprintln
at the measurement, to come out once the screenshot confirms it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:38:41 +00:00
Martin Ball def1c54d40 fmt: chrome framework batch 2026-11-18 16:52:16 +00:00
Martin Ball 6da5c07716 Merge branch 'red/rc-chrome-w2' into area/chrome-fw 2026-11-18 16:26:06 +00:00
Martin BallandClaude Sonnet 5.5 6c2cda8799 page band fills the room the shell gives it so its move band spans the free part; PageBand gets a story; title test reaches the button by Tab, as a button takes no focus from a click
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 16:20:12 +00:00
Martin BallandClaude Sonnet 5.5 24237189d4 RecentList registers as a pattern; the recent-row trial finds rows by their name with the folder
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 16:19:27 +00:00
Martin Ball 2e2c815299 chrome-w1: Laid default names dropped 2026-11-18 16:02:14 +00:00
Martin Ball 38436d5216 chrome-w1: trial records default to Rect::NOTHING (egui Rect has no Default) 2026-11-18 16:02:04 +00:00
Martin Ball 675f68e2c4 chrome-w7: net change of 4 commits
- chrome-w7: repair 1
- chrome-w7: finished by an agent
- chrome-w7: review fixes (review-1)
- chrome-w7: review fixes (review-1b)
2026-11-18 16:01:12 +00:00
Martin Ball b912c077f0 chrome-w4: net change of 4 commits
- chrome-w4: written by an agent
- chrome-w4: finished by an agent
- chrome-w4: finished by an agent
- chrome-w4: review fixes (review-1)
2026-11-18 16:01:11 +00:00
Martin Ball 8edb3735ab chrome-w2: net change of 3 commits
- chrome-w2: written from its sheet
- chrome-w2: repair 1
- chrome-w2: review fixes (review-1)
2026-11-18 16:01:11 +00:00
Martin Ball 5d8abecec3 chrome-w1: net change of 4 commits
- chrome-w1: written by an agent
- chrome-w1: finished by an agent
- chrome-w1: finished by an agent
- chrome-w1: review fixes (review-1)
2026-11-18 16:01:11 +00:00
Martin Ball 10b23c3d55 Contract stubs: craft-ui-canvas craft-ui-shell 2026-11-18 08:21:44 +00:00
aiongg 6496e37e68 cargo fmt 2026-11-17 08:27:05 +00:00
aiongg f86c3b134c Keys with nothing focused match in the window's shell; a momentary command's held key makes its scope's keys work first (keymap context), and that scope's commands go to the application 2026-11-17 08:21:52 +00:00
aiongg 86fce21a01 cargo fmt 2026-11-17 08:07:14 +00:00
aiongg b0a40c30e8 A fired command carries the input time of its event: a key's press and release fire with the time they arrived at, events held to a later frame keep theirs; the double-press matcher and the opacity digit pairs read that time 2026-11-17 07:07:07 +00:00
aiongg c3d7655b9e Shell and mock: AppShell::tools and Slot::columns removed; the gallery mock's toolbar is a stepped dock column drawn through group_view, with a collapsed Navigator column and flyout binding 2026-11-17 04:03:17 +00:00
aiongg 6d972e35ed Rails: ToolRail lays out the columns its width holds with a measure and dock grid; PanelRail and the CanvasPanel rail removed 2026-11-17 03:59:55 +00:00
aiongg b6088dbdcf Merge branch 'fw/speed1' into fw/mac1
# Conflicts:
#	crates/ui-patterns/src/patterns/dock/area.rs
#	crates/ui-shell/src/shell/app_shell.rs
2026-11-16 19:05:56 +00:00
aiongg 9d61d87e46 cargo fmt 2026-11-16 18:29:58 +00:00
aiongg b54fe562bc The canvas panel's rail is one rail column wide at the panel's end edge, so the document area runs up to it 2026-11-16 17:49:05 +00:00
aiongg 9b8dbfb332 Shell slots and dock panel bodies settle when they give a content version
Slot::content and AppShell::content give a slot the version of the app data it shows; DockPanels::content
gives one per panel body. With one, the slot or body runs in a settling Lazy. Trials: a versioned slot and a
versioned panel body run only when their version changes; a stroke whose tool asks for repaints runs no
versioned panel beside the canvas and one pass per move frame.
2026-11-16 17:42:23 +00:00
aiongg e0ebaf4634 A row's line record holds the line it shared: a row centred in another height measures its line afresh, so a title bar in its slot sits in the slot; the Swatches panel fills its room and scrolls its own swatches 2026-11-16 17:25:09 +00:00
aiongg 1d8c7d13a2 Merge branch 'fw/mac1-bars' into fw/mac1
# Conflicts:
#	crates/ui-contract/src/contract/body/hooks.rs
#	crates/ui-shell/src/shell/app_shell.rs
#	crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-16 16:25:37 +00:00
aiongg dc41b3dbe3 Shell slots choose their region before naming it; exhaustive pad edges 2026-11-16 16:13:37 +00:00
aiongg 718d054ecf A title bar end with no captions keeps its content the regular pad off the window's edge 2026-11-16 16:09:19 +00:00
aiongg 60bdf15129 ToolRail fits its slot: block padding, a rail-width column per column with the buttons centred, toggles on one line
ContainerProps gains pad_edges (PadEdges::Block pads top and bottom only) and LeastWidth::Rail
(size.rail.width per column). ToolRail pads only above and below, is at least its columns'
rail width wide, and centres its grid of buttons, so no button or corner mark reaches past the
slot. The column and side toggles share one header line as small control-glyph buttons that
touch, which fits two in one rail column. A container's child_size and child_glyphs reach its
header and footer as well as its body, so a rail's footer buttons show the rail's glyphs.
AppShell::tools takes the rail's column count, so a two-column rail gets a two-column slot.
2026-11-16 16:05:13 +00:00
aiongg 81078945af A row given its height centres its line; a fill-width row on that line fills it; top and bottom shell panes lay their bar on one line
A container given its height whose body is an unwrapped row sets the row's line at the middle of its band and
pads only along the line. A fill-width container with a row body on such a line is given the line's height, so a
bar in a top or bottom slot fills the slot. A container whose first line is its own row's line sits on an outer
row's line by it even with a child of two lines. The shell's top and bottom panes lay their content out as a row;
the egui centring wrapper and the slot's surface under the bar are gone.
2026-11-16 15:59:53 +00:00
aiongg 4816295631 Shell edge panes paint chrome and the rule toward the body; the window paints the background
Every shell slot but the title is a chrome pane: its surface covers the whole pane, so a rail
shorter than the window leaves no band of the clear colour, and a divider runs along its edge
toward the body (rails, options bar, status bar, the canvas panel rail). The edge rule is drawn
by the pane itself; PanelRail's own rule and the env's enclosing pane edge go. The window root
paints the background surface and the document tabs pane sits on it.
2026-11-16 15:55:32 +00:00
aiongg 63a4811416 cargo fmt 2026-11-16 14:34:57 +00:00
aiongg f647f41e82 Merge branch 'dl/api' into dl/all 2026-11-16 13:39:11 +00:00
aiongg fbe5a16ffe design-lint: api/non-exhaustive: #[non_exhaustive] on public types and variants, constructors where other crates build them 2026-11-16 13:31:29 +00:00
aiongg 404e03bc63 design-lint: contract/platform, contract/memory: the freedesktop icon lookup lives in craft-window (theme_svgs), so caption icons need no target cfg; desktop icons kept in a session slot; the memory rule's scope_builder test reads the builder argument, not the closure body 2026-11-16 13:22:31 +00:00
aiongg 014ead170f merge-fwd: item 4: FW9: ui-contract and ui-shell parse and draw icons through craft-svg (features tree-core, tree, draw, tree-render; Limits.allow_dtd); resvg 0.45 goes; trials 2026-11-16 12:40:51 +00:00
aiongg 7ca2ec0a0e Move items to the layer that owns them: pointer art and surround painting up to primitives, member_gesture_running next to the arena members, gesture_key down to runtime::edit; the font defaults test no longer needs a system emoji font 2026-11-16 04:56:54 +00:00
aiongg cc00dbd368 Clippy and test-target lints: redundant must_use, type aliases for complex types, boxed large variants, argument structs, struct-update initialisers, deprecated egui calls, unused imports and dead code; the swatch library's reorder test runs as a trial 2026-11-16 02:30:55 +00:00
aiongg f1f0333a5b Merge storytold next into the framework branch 2026-11-16 01:01:38 +00:00
aiongg c8713d756a tfix3-f5: a tool command's key release fires it in the release phase (spring-loaded tools); framework tool pickers act on the press only 2026-11-15 18:58:20 +00:00
aiongg 19cd2e1762 commands: a story's command set (#[command(story)]) loads only in an install that shows stories (the gallery, the story fixtures), so its keys never take an app's 2026-11-15 18:28:52 +00:00
aiongg 5ca05d0f44 tfix3-f3: trials: a press without a physical key fires its command once (separate passes and one pass); an app catalog's alternate key for a registry command runs it 2026-11-15 16:54:50 +00:00
aiongg 14d5ec609a cargo fmt 2026-11-15 10:23:21 +00:00
aiongg 5ae2808984 fwb1 review: Show in Folder follows CAN_REVEAL as a command state 2026-11-15 10:01:34 +00:00
aiongg 38a5547d45 hub-w1: net change of 1 commits
- hub-w1: review fixes (review-1)
2026-11-15 09:18:08 +00:00
aiongg 0b46a6d24d canvas-widgets-w29: net change of 2 commits
- canvas-widgets-w29: written by an agent
- canvas-widgets-w29: review fixes (review-1)
2026-11-15 09:18:07 +00:00
aiongg b9d2a9b266 top-w7: net change of 6 commits
- top-w7: written by an agent
- top-w7: review fixes (review-1.md)
- top-w7: menu redirect keeps the return stop's chain, with its trial (review-1.md, lead ruling on the gap)
- top-w7: a component inside a menu resolves its bound command from where focus goes once the menus close, through focus's walk (top run round)
- Integration: pick_focus trials keep top-w2's Help search-field Cut trial after this set's shortcut trial
- top-w7: a menu row's command takes its instance from the row's own chain, judged from the stop focus returns to, which gives the instance when the chain holds none (top run round)
2026-11-15 04:46:09 +00:00
aiongg e1b4567e59 top-w5: net change of 4 commits
- top-w5: written by an agent
- top-w5: review fixes (review-1.md)
- top-w5: read_last_update doc follows the updater arm (review-1 item 2)
- top-w5: the opening card's progress bar is named by the card's title (top run round)
2026-11-15 04:46:09 +00:00
aiongg c77e6d6ead top-w4: net change of 3 commits
- top-w4: written by an agent
- top-w4: review fixes (review-1)
- top-w4: edge scroll caps its step like the strips (top round)
2026-11-15 04:46:09 +00:00
aiongg b7ee7384fc canvas-widgets-w9: net change of 3 commits
- canvas-widgets-w9: written by an agent
- canvas-widgets-w9: review fixes (review-1)
- canvas-widgets-w9: the typed-zoom press trial reads the row's commit (a plain typed number proposes as typed) and shows the canvas tall enough for its pasteboard press (fwcw round 3)
2026-11-15 04:46:06 +00:00
aiongg d2d7d870c9 canvas-widgets-w12: net change of 7 commits
- canvas-widgets-w12: written by an agent
- canvas-widgets-w12: review fixes (review-1)
- canvas-widgets-w12: the pass's elapsed time (top round, review-top-1)
- canvas-widgets-w12: the strip trial reads rows wholly in view, not the first row's clipped rect (top run round)
- canvas-widgets-w12: the walk out of the menus is focus's (out_of_menus), with the menu-level container and the running menu; a body group names its container (top run round)
- canvas-widgets-w12: the walk out of the menus stops at the first return stop that is no menu row, and a menu pick returns focus by the same walk (top run round)
- canvas-widgets-w12: the walk out of a layer returns the menus it crosses; a pick walks from the menu its row runs in, and an activation closes the layer it ran in and the menus that walk crosses (top run round)
2026-11-15 04:46:06 +00:00