Commit Graph
5673 Commits
Author SHA1 Message Date
Martin BallandClaude Opus 5.5 bc456bb9e2 fwstub-2: a SplitMenu::Body's request_close closes the split's menu layer: the inline menu is bound open and its close closes the popup, so a swatch pick no longer leaves the layer open around an empty body; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:28:21 +00:00
Martin BallandClaude Opus 5.5 0f21da5c09 fwstub-2: the in-place command palette names its search field by the palette's label, closed and open, not the generic words.palette_search (a title-bar search box keeps the app's name for it, S-L272); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:28:21 +00:00
Martin Ball db60832d36 Merge branch 'red/fwstub-2' into area/ribbon-fw 2026-11-19 17:21:06 +00:00
Martin BallandClaude Opus 5.5 a8735468b7 fwstub-1: trial that one raw batch of IME events reaches an editor (field and canvas) in one pass, and nothing is held; the dismissal doc names the dialog exception to a draft's Escape
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:17:28 +00:00
Martin BallandClaude Opus 5.5 34abe425fa fwstub-2: in a ribbon the font picker's name field measures the short field length (size.length.short) whichever family it shows, its least, about the old ribbon's font name: a ribbon row short of room no longer narrows the box to its menu arrow; story doc; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:12:42 +00:00
Martin BallandClaude Opus 5.5 3ed4e4ac1c fwstub-1: one Escape cancels a dialog while its focused field holds a draft: the draft ends as for Escape and the Escape goes to the dialog (focus::escape_closes_dialog; the gesture step and the text adapter leave it untaken); fields outside dialogs still revert first; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:12:12 +00:00
Martin BallandClaude Opus 5.5 74379e51c0 fwstub-2: a right-to-left measure with no room limit along x gives the body a scrolling region's width, not an unbounded one, so its left edge is never -inf and a scrolling body's region never NaN (regions); trial: a vertically scrolling container in an RTL row that does not fit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:07:17 +00:00
Martin Ball 9a046dfc46 look-5: the width-roles Stack story stacks its two roles, so a denser side menu no longer squeezes the column inside the trial's room (Stack::reads text-size case); a ribbon's font box is held at the small field length (FieldStyle::held_at), as wide as the old ribbon's, with its story and trial 2026-11-19 15:09:32 +00:00
Martin Ball 73d8eab31b Merge branch 'red/look-rest-4' into area/ribbon-fw 2026-11-19 14:48:55 +00:00
Martin Ball 6a82c551d6 look-rest-4: suite-themes documents an app's own shape 2026-11-19 14:47:52 +00:00
Martin Ball b3e1c96a5b look-rest-4: a theme's app layer can carry its own shape, which replaces the theme's for that app (parsed, checked, written, resolved); WordCraft's buttons are 4 pt rounded rectangles under ArtCraft, as WordCraft's were, not capsules; test 2026-11-19 14:47:44 +00:00
Martin BallandClaude Opus 5.5 3b5496df6b look-ribbon-4: a ribbon group sizes the spacer under its content and its separator from the content height the last real run kept, so the measuring run and the real run place the same sizes: the group no longer measures one body too tall (the band under the titles goes) and a settled ribbon measures no group again; the flat-button trial checks the outlined toggle by its edge (a toggle's style has one variant, so a ghost toggle draws it too)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:45:54 +00:00
Martin Ball 171eea0cd1 look-rest-4: a side menu's selected row (the page shown) rests in the band its hover shows, as WordCraft's File menu marks its current page; a push Button drew no on look, so selected changed nothing; trial; the side menu story's current row shows it 2026-11-19 14:45:12 +00:00
Martin Ball ca51f08b14 look-rest-4: WordCraft's app layer of ArtCraft takes WordCraft's own panel, window, hover, pressed, line and text colours in both modes (dialogs and menus #2b2b2b dark / white light, window #292929 / #f9f9f9, borders #3a3a3a / #e1e1e1, field edges #7a7a7a / #8a8a8a); only accent, canvas and chrome were set, so dark dialogs, panes and the File page took ArtCraft's #535353 2026-11-19 14:42:47 +00:00
Martin Ball 500dd7ec26 look-rest-4: a labelled leaf in a grid takes the grid's next cell (its row is the cell's region, the cursor takes it, under the cell's column group); round 3 only measured it content-sized, so it still stood under the cell before it (grid_least::labelled_check_boxes_stand_two_to_a_line) 2026-11-19 14:37:39 +00:00
Martin Ball 596a204cc1 FindingsList: its items are a collection (max_rows), as UndoList's 2026-11-19 14:25:22 +00:00
Martin Ball fe8d3b054f look-rest-3: read Env::measure as the field it is 2026-11-19 14:24:33 +00:00
Martin Ball de091d4186 Merge branch 'red/look-rest-3' into area/ribbon-fw 2026-11-19 14:24:06 +00:00
Martin BallandClaude Opus 5.5 1ff6c71b62 look-ribbon-3: the gallery's thumbnail size field is thumb_size, apart from the common size prop
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:22:18 +00:00
Martin BallandClaude Opus 5.5 874e096445 look-ribbon-3: Gallery::thumb names its tiles' thumbnail size (medium unless set), so a gallery of small pages (style sets) takes the large size and reads as the old ribbon's did; trial and story
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:21:15 +00:00
Martin BallandClaude Opus 5.5 e2ed478fea look-ribbon-3: a ribbon group ends with its title: Divider::length gives a separator its own length (no fill), a group's separator is as tall as the group; the title sits directly under the body on one caption line in every group; the dialog launcher sits on that line at the group's end, shown at its place so it never makes the title line taller; trials and story
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:19:21 +00:00
Martin Ball 1b11ec4ac6 look-rest-3: the listed About's tabs are a strip of tab faces (TabKind::Panel), as WordCraft's; the centred layout keeps text tabs; trial 2026-11-19 14:18:29 +00:00
Martin Ball a3a5d14e05 look-rest-3: Page Setup's Mirror margins (Facing Pages) at its section's start, outside the field group's label column, as WordCraft's; trial pins it and the wrapped grid kinds 2026-11-19 14:17:34 +00:00
Martin Ball cc0293e33b look-rest-3: a wrapping row wraps at its container's paragraph line length (a dialog's wrap width) instead of widening a content-sized dialog; Page Setup's grid kinds take two lines as WordCraft's; trial 2026-11-19 14:16:43 +00:00
Martin BallandClaude Opus 5.5 cb16b12a49 look-ribbon-3: trials broken by round 2: a ribbon toggle is checked against the ribbon's flat button (round 2 made it flat; a ghost toggle outside a ribbon keeps its edge); the width-roles story holds a dialog's least width so its width does not follow where its paragraph breaks; the side-menu story uses the catalog's save icon
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:15:30 +00:00
Martin Ball 8de74f788c look-rest-3: a control with its label after it in a grid cell takes the width of the two, not the grid's; check boxes stand two to a line in a two-column grid (the Font dialog's Effects); trial 2026-11-19 14:12:32 +00:00
Martin Ball 566ba7bdbc Merge branch 'red/look-rest-2' into area/ribbon-fw 2026-11-19 13:58:56 +00:00
Martin Ball 6cc5affef5 look-rest-2: LeastWidth::WideDialog and Dialog::least_width; the listed About is a wide dialog, as WordCraft's; trial 2026-11-19 13:57:48 +00:00
Martin Ball 9e3d7bbc1f look-rest-2: WrapWidth::Column (size.dock.column) and Stack::wrap_width, a settings column beside a preview breaks its paragraphs instead of widening; trial and story 2026-11-19 13:55:17 +00:00
Martin BallandClaude Opus 5.5 4da05bc416 look-ribbon-2: ribbon trials: the collapsed-group trial measures its room from the group; the captioned gallery trial checks the name inside its strip-high tile
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:55:16 +00:00
Martin BallandClaude Opus 5.5 718540f24b look-ribbon-2: a ribbon's toggle buttons are flat at rest; a stacked label breaks at its own newline; a ribbon's stacked buttons keep two label lines and lay out from their top; trials and story
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:53:41 +00:00
Martin Ball 4795858582 look-rest-2: ControlPlace::SideMenu, a page's side menu rows (large body label, list-row padding), LeastWidth::SideMenu and Stack::least_width; trial and story 2026-11-19 13:53:13 +00:00
Martin Ball 1f43e0f81d Merge branch 'red/look-chrome' into area/ribbon-fw 2026-11-19 13:38:02 +00:00
Martin Ball abbc281fbc Merge branch 'red/look-backstage' into area/ribbon-fw 2026-11-19 13:38:02 +00:00
Martin Ball e33bd7f4fa Merge branch 'red/look-dialogs-b' into area/ribbon-fw 2026-11-19 13:38:02 +00:00
Martin Ball 67f284a499 Merge branch 'red/look-dialogs-a' into area/ribbon-fw 2026-11-19 13:38:02 +00:00
Martin Ball 8b700f4368 look-dialogs-a: setup.rs imports in order 2026-11-19 13:34:26 +00:00
Martin Ball e81d2305cd drop the rf-button DIAG print 2026-11-19 13:32:55 +00:00
Martin BallandClaude Opus 5.5 00035d1253 look-backstage: an empty RecentList says so in a muted line at the reading start, not the start screen's centred notice; trial and story
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:32:06 +00:00
Martin Ball 9d40eb184c look-dialogs-a: PageSetupDialog lays out as WordCraft's Page Setup: framed section boxes, margins, paper sides and grid counts two to a line, orientation and grid kinds in a row, Paper under Pages, section direction and vertical alignment in the Document Grid box, WordCraft's grid wording; trial and story 2026-11-19 13:31:59 +00:00
Martin Ball 5440bcbf77 Merge branch 'red/fw-diag-clean' into area/ribbon-fw 2026-11-19 13:31:56 +00:00
Martin Ball 3286b125e2 Merge branch 'red/rf-button' into area/ribbon-fw 2026-11-19 13:31:56 +00:00
Martin Ball 44645e2d61 Merge branch 'red/rf-platform' into area/ribbon-fw 2026-11-19 13:31:56 +00:00
Martin Ball 6dc968e052 Merge branch 'red/rf-keytips' into area/ribbon-fw 2026-11-19 13:31:56 +00:00
Martin Ball 76e3d051de Merge branch 'red/ribbon-look' into area/ribbon-fw 2026-11-19 13:31:56 +00:00
Martin BallandClaude Opus 5.5 95928362a9 look-chrome: WordCraft's canvas colour in the ArtCraft app layer
surface.canvas #e6e6e6 light, #141414 dark: WordCraft's desk round the pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:31:44 +00:00
Martin BallandClaude Opus 5.5 738d21ba8e look-chrome: rulers paint ticks only over their extent; column lighter than margins
TextRuler::paint_ticks drops the tick rule's extra labelled step beyond each
end where the ruler is cut to an extent (a page's x range), so no ticks show
past the page. TextRuler and VerticalRuler fill the column with surface.sunken
and the margins with surface.canvas: the margins were the lighter part
(surface.sunken is #fff in ArtCraft light), the reverse of a word processor's
ruler. Trials a_ruler_cut_to_an_extent_paints_no_tick_past_it and
the_ruler_column_is_lighter_than_its_margins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:31:44 +00:00
Martin BallandClaude Opus 5.5 d9bcc7f542 look-chrome: a menu end item of a tab strip shows the menu chevron
StripEnd::menu's full face ends with DisclosureGlyph::menu_button(), as every
button that opens a menu does (WordCraft's Editing item). Trial
a_menu_end_item_shows_the_menu_chevron; story tab_strip_ribbon_end_buttons
shows framed end items (two outlined, one accent).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:31:40 +00:00
Martin BallandClaude Opus 5.5 e080fa2098 look-backstage: Sizing::FillHeight, a container as wide as its content and as tall as the room (a side menu beside a page), with its trial and story
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:31:11 +00:00
Martin BallandClaude Opus 5.5 6691052095 look-ribbon-1b: a ribbon's flat buttons pad their sides by the control's padding, not the pill round
A ghost push or split button in a ribbon (ControlPlace::Ribbon) has no edge at rest, so its sides
take space.pad.control instead of the corner round plus the inline gap (18 pt a side at the theme's
full pill radius). Each icon split button in the Font and Paragraph groups is ~20 pt narrower, which
the ribbon's fit needs to show those groups whole at a 1440 pt window, as the old app does.
The trial checks the ribbon button's surface against the ghost one and that it is narrower.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:30:54 +00:00