Commit Graph
8 Commits
Author SHA1 Message Date
Martin BallandClaude Opus 5.5 a9deabd00e design-lint: api, props, contract and exception findings of the port code
- api/non-exhaustive: #[non_exhaustive] on public enums, variants and structs, with constructors for what
  callers built by struct expression (KeytipControl, GroupWidths, RibbonMenuRequest, EdgeLook::sample,
  BalloonItem, CropScope::object, PageBandRoom, WheelSpeed, AltCodePages, GalleryFace, GradientTile).
  GalleryItem, RibbonOutput, LineBreakOptions, AsianTypography and GapEdge join the closed list.
- props/hand-setter: setters that only store become #[prop] fields. Keytips drops its own enabled field
  for Common enabled, and its show becomes show_over.
- contract/no-global-state: constant tables are const, not static.
- contract/egui-import, memory, allocate: LayerId, TreeUpdate, Id::unique, the text scroll memory and
  allocate_space go through runtime::egui.
- contract/overlay-flag: CanvasScrollbars declares overlay; its drag story covers Open.
- Markers and exception entries only where the code is the exception (stories, trials, unit-square
  coordinates, the balloons id scope).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:38:56 +00:00
Martin Ball 9a4dd39d3a Workspace clippy: fix lints across ui crates and tests 2026-11-20 00:56:55 +00:00
Martin Ball f77301a76d Merge follow-up: resolve_in takes Reads; the host-key trial gives states through CommandStates; cargo fmt 2026-11-20 00:40:05 +00:00
Martin Ball b6515c0a67 rf-keytips: a document's editor part leaves Alt and F10 to the menu bar and keytips, so they show over a focused document 2026-11-19 13:25:01 +00:00
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 b74fb60a01 rr-ribbon-w5: red round 1 fix (lead commit) 2026-11-18 21:23:22 +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