Commit Graph
24 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 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 915bc15697 Merge branch 'red/rr-ribbon-w5' into area/ribbon-fw 2026-11-18 21:23:54 +00:00
Martin Ball b74fb60a01 rr-ribbon-w5: 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 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 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
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 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 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 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 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 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 4d6ff42eb7 Selection parts: read-only text any component can make selectable
PartsCx::selectable_text declares a run as a selection part with a press-only
stop in no group; step 8b gives the focused one Select All and Copy; and
PaintUi::selectable_text shows it through the text widget with the run's own
galley, in the state's colours. Notice title and message, MetadataTable values
(ListRow::cell_selectable) and SelectableText use it. SelectableText loses its
Bind and Input::Text path and becomes a label whose value is its text. The
suite presses the focus registration's press-only stops when Tab reaches
nothing, instead of guessing from Input::Text and a read-only node.
2026-11-12 14:32:41 +00:00
aiongg 8735a8b1c5 Document and app crates on the framework: text, pages, table, review, timeline, menu, browse, dialogs, print, font manager, theme store, update, automation 2026-11-12 14:32:38 +00:00