Commit Graph
58 Commits
Author SHA1 Message Date
Martin BallandClaude Opus 5.5 88736ce7b4 rf-fu2: a ribbon tab's id is its access node, which keytips match by Element::node; the context-menu trial focuses the control by a Focus request
A tab strip's tabs are members of its run, recorded as parts of the strip, so
ShownRow::id gives a member's sub-node id and the record's Element::node says
which node an element stands for. A press on a button moves no focus to it, so
the ribbon trial gives the control focus with a Focus request. The picture trial
carries a DIAG line for the node under the button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:33:00 +00:00
Martin BallandClaude Opus 5.5 2055375e6b fu2-ribbon: app batch 2 rulings (S-L418, S-L392, S-L360, S-L361, S-L363)
Button keeps room for its widest text (room_for) and shows a rendered
picture in the leading icon's place (picture). ShownRow reports the id its
item is recorded under; the ribbon reports tab_ids from it and hosts its own
context menu (context_menu body), so RibbonOutput::menu and
RibbonMenuRequest::opener go. Stories and trials for each.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:15:34 +00:00
Martin Ball 245166a60d rf-gallery: rendered-thumbnail stories run their jobs inline, so the suite's settled frames do not depend on when a thread ends 2026-11-18 23:34:49 +00:00
Martin Ball 274deffacc Merge branch 'red/rr-ribbon-w5' into area/ribbon-fw 2026-11-18 21:36:08 +00:00
Martin Ball 46d6585cf0 rr-ribbon-w5: red round 2 (lead commit) 2026-11-18 21:36:08 +00:00
Martin Ball 22317932ef Ribbon trials: count trial checks only a settled ribbon's runs; collapsed-group popover trial uses a group too wide for its room
The count trial keeps the ruled half (a settled ribbon runs each group body
once) and drops the level-change half. The popover trial's clipboard group
now cannot fit beside the wide group's least, so it collapses by the fit
rule. The DIAG prints of the passing slide and same-title trials are gone.
2026-11-18 21:34:47 +00:00
Martin Ball 65e1791b0c Merge branch 'red/rr-ribbon-w6' into area/ribbon-fw 2026-11-18 21:23:54 +00:00
Martin Ball 915bc15697 Merge branch 'red/rr-ribbon-w5' into area/ribbon-fw 2026-11-18 21:23:54 +00:00
Martin Ball 036e6de878 Merge branch 'red/rr-ribbon-w4' into area/ribbon-fw 2026-11-18 21:23:54 +00:00
Martin Ball 4a6fc2e0b1 rr-ribbon-w6: red round 1 fix (lead commit) 2026-11-18 21:23:22 +00:00
Martin Ball b74fb60a01 rr-ribbon-w5: red round 1 fix (lead commit) 2026-11-18 21:23:22 +00:00
Martin Ball be9abcbf26 rr-ribbon-w4: red round 1 fix (lead commit) 2026-11-18 21:23:22 +00:00
Martin Ball d6021060f9 Ribbon slide trial reads where the group is painted
The row slides through its container's layer transform, and access bounds
stay in that layer's points, so the trial read the same x on every frame.
It now reads the group's rect from the ribbon's inspect record, which maps
each element through its layer. DIAG prints for the slide and the run
counts.
2026-11-18 21:23:03 +00:00
Martin Ball e461247ce0 Levelled row units measure each level apart and in a finite region
A ribbon group's levels show the same bodies under the same ids, so in the
row's counting sweep each narrower level reused the record the full level
left, every level reported one width and the plan collapsed every group; the
sweep at the given levels reused it too, so each later pass measured every
group again. Each level now measures as a layout probe.

The level measure ran in an infinite-width sizing region placed at the
parent's cursor, which egui starts at negative infinity in a right-to-left
row, giving a NaN region. Sizing regions now start at the rest of the
parent's region, and a level measures at the row's width with its room
unbounded along x.

DIAG prints for the level plan and the collapsed group's popover.
2026-11-18 21:23:01 +00:00
Martin Ball 574f6aa9ab ribbon-w4: gallery stories build their More inside the helper (an outside lifetime outlived the local items) 2026-11-18 21:05:07 +00:00
Martin Ball 85dfb1ad83 ribbon-w5: net change of 4 commits
- ribbon-w5: finished by an agent
- ribbon-w5: finished by an agent
- ribbon-w5: review fixes (review-1)
- ribbon-w5: review fixes (review-1b)
2026-11-18 21:02:55 +00:00
Martin Ball 69abe56e3e ribbon-w4: net change of 4 commits
- ribbon-w4: written by an agent
- ribbon-w4: finished by an agent
- ribbon-w4: review fixes (review-1)
- ribbon-w4: review fixes (review-1b)
2026-11-18 21:02:54 +00:00
Martin Ball 8a045594dd ribbon-w3: net change of 6 commits
- ribbon-w3: written by an agent
- ribbon-w3: finished by an agent
- ribbon-w3: finished by an agent
- ribbon-w3: finished by an agent
- ribbon-w3: finished by an agent
- ribbon-w3: finished by an agent
2026-11-18 21:02:54 +00:00
Martin Ball 1e04b991eb rd-dialogs-w11: red round 1 fix (lead commit; see the track report) 2026-11-18 18:35:24 +00:00
Martin Ball f57d0a1a51 dialogs-w11: net change of 4 commits
- dialogs-w11: written from its sheet
- dialogs-w11: repair 1
- dialogs-w11: review fixes (review-1)
- dialogs-w11: review fixes (review-1b)
2026-11-18 18:18:25 +00:00
Martin Ball 3981899044 Contract stubs: phase 4 refresh (decisions S-L141..S-L152, consistency contract changes) 2026-11-18 10:20:44 +00:00
Martin Ball b14ea47830 Contract stubs: craft-browse craft-dialogs craft-menu craft-print craft-review craft-table craft-update craft-automation 2026-11-18 08:35:49 +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 dc0653693a merge-fwb: FW11: trial that switching away from a modified shortcut set asks to save first 2026-11-16 12:40:42 +00:00
aiongg 286c5d0ecd Fix CI lints: ungate ChordChip sample, rustdoc links, level table, api-map, facade features, components index 2026-11-16 03:49:11 +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 f2d4b50fba tfix5-f10: format the layout trial 2026-11-16 00:39:08 +00:00
aiongg 4f5c57d86c tfix5-f10: a command shows a chord only where the keymap runs it (Keymap::shown_chord, holder); resolve, apply_keymap and the Mac layout read it; LayoutOptions::keys replaces extra_shortcuts 2026-11-16 00:34:11 +00:00
aiongg c1192adafc tfix4-f7: WindowHost::key_window and typing; the native menu's key equivalents and paste go to the window that has the keys 2026-11-15 22:51:10 +00:00
aiongg 8e2f164417 fwb2-fix: DialogState::with_tab
(cherry picked from commit 59ef662743f39181bcc814227362c791ef9b6f83)
2026-11-15 12:06:38 +00:00
aiongg 14d5ec609a cargo fmt 2026-11-15 10:23:21 +00:00
aiongg 46bd564b75 top-w2: net change of 6 commits
- top-w2: written by an agent
- top-w2: finished by an agent
- top-w2: review fixes (review-1)
- top-w2: the menu-letter step of the shortcut trial types its letter as text, which mnemonics read (top run round)
- top-w2: typed letters in a menu go to the container of the focused row's level, with a trial for a title-click menu (top run round)
- top-w2: a menu row's pick walks out from the menu it runs in, with a trial for Cut from the Help search field's edit menu (top run round)
2026-11-15 04:46:09 +00:00
aiongg de5d6b3199 top-w1: net change of 2 commits
- top-w1: written by an agent
- top-w1: review fixes (review-1)
2026-11-15 04:46:09 +00:00
aiongg ace9f96d5c framework-01-w13: net change of 4 commits
- framework-01-w13: written from its sheet
- framework-01-w13: review fixes (review-1)
- framework-01-w13: review fixes (review-1, files the rulings name)
- Integration: ButtonGrid is an unregistered container (panels-w11 a16470ef9)
2026-11-15 04:46:05 +00:00
aiongg 2b5de84828 Design lint: layer the env values, route egui access through the adapter, derive setters, token and relation checks in tests
The gate's design-lint test finds nothing. Env value types (pane edge, column align, row pressed, in-bar), band fill and span live in the layer that uses them; the cursor image and inside label are read back by the higher layer. Hand setters become derived props, tests assert relations, and the remaining sites are listed exceptions with reasons. The shortcut chord chip's sample is built only for screen tests.
2026-11-14 05:05:04 +00:00
aiongg e9e3a961f4 Merge next (CI lint fixes) into phase2/stubs
# Conflicts:
#	crates/color/src/ui/swatches/menu.rs
2026-11-14 03:13:33 +00:00
aiongg deeb91802f Lints: doc links, test lint allowances, struct update in tests, wildcard imports, dead code 2026-11-14 02:35:35 +00:00
aiongg 117cdbd9ca Contract stubs: craft-update, craft-menu, craft-imaging, craft-color 2026-11-14 02:28:16 +00:00
aiongg 556d7ce8df Contract stubs: craft-menu (stage 6, wip) 2026-11-14 02:13:47 +00:00
aiongg a17171af48 Lints: drop the workspace missing_docs lint and warn on it in the framework crates that document every public item 2026-11-14 00:15:29 +00:00
aiongg fb3962ce5d ListRow: a group header reads in the body weight, section_heading for a table's strong section rows; TileGrid: a leading group header sits at the top edge 2026-11-13 17:44:43 +00:00
aiongg 33a389b1bc Keys: keys::keyed reports a pass's key input, withheld presses included; craft-menu's had_input reads it 2026-11-12 22:54:16 +00:00
aiongg c73f81c011 Keyboard Shortcuts: group header disclosure uses the one disclosure glyph 2026-11-12 22:02:35 +00:00
aiongg ab2be34a61 Keyboard Shortcuts: group headers show as heading rows with their disclosure triangle
A group header is a section row of the table's collection, which takes its press, keys and AccessKit heading node
but builds no row for it. The table declares a sense-less part over each header in view and one over its disclosure
column, and paints a heading ListRow and a triangle Disclosure as their faces, inside the rows' view; the faces have
no nodes of their own. The header shows the lead while the table has focus.

ListRow::disclosure_by_host and disclosure_at are public for hosts outside the widgets crate, and Cx::collection_lead
gives a collection the lead's position (tile grids read it there too).
2026-11-12 15:12:11 +00:00
aiongg 5daf05ff49 Keyboard Shortcuts: a row's shortcuts show as keycaps
Each shortcut of a row is a chip that shows its chord through Kbd's keycap form, the framework's one look for a
chord, and asks to record over it on a click, Enter or Space. The chips no longer take a full-height button.
2026-11-12 14:52:13 +00:00
aiongg 6ce4068b64 ShortcutsDialog: whole chord chips, an add button on every row, the reset arrow
A chip's label replaced its text with the access name, so the chips read "Sav…"; the chord is the painted text and the name stays the label. The shortcut column is as wide as its widest row of chips with the add and restore buttons, at most 40 % of the table, as the old was, and the add button keeps its place after the chips, so it no longer drops off rows. The restore button shows the catalog's new reset icon, a counter-clockwise circle, in place of the undo arrow.
2026-11-12 14:32:48 +00:00
aiongg 045f3b944e craft-menu mnemonic trial: Alt and the English letter open the CJK title 2026-11-12 14:32:46 +00:00
aiongg b2101fa757 Caller rows: ActionsPanel lists the one recording row that applies (panel_rows(recording)), CommandPalette rows are one line with the path before the chord; trials for a CJK title's English mnemonic and for a letter no menu row takes 2026-11-12 14:32:46 +00:00
aiongg 643d83a9e1 MenuItem: a label colour tints the row behind its content (theme MenuTint), and the detail is a muted line under the label; label colour menus in craft-menu, layers, timeline and channels use the tint 2026-11-12 14:32:46 +00:00