aiongg
fda1a0c15d
Merge storytold next into app-stop-focus
2026-11-25 13:32:10 +00:00
aiongg
0f8d8365e2
Focus given to the app's own widgets: held presses, stale records, canvases
...
The runtime keeps its surrender rule on the focus it gave an app's own widget
until no pointer button is down, so the release of the press that gave the
focus does not take it back. The record of the given focus ends once egui's
focus is elsewhere. Whether a widget is drawn is read from egui's widgets of
the running pass, for the given focus and for `host_canvas` findings alike.
Focus given to a canvas before `host_canvas` registers it follows the canvas's
keys.
A canvas drawn in a disabled `Ui` is a `canvas-without-widget` finding too;
the finding's text is made only when it is kept, and a fault is logged once.
2026-11-25 13:24:55 +00:00
aiongg
980669cdce
Merge pull request #3498 from aiongg/test-speed-3-frame
...
Gate speed, round 3: craft-ui-contract at opt-level 2, craft-draw in shard 2
2026-11-25 08:22:27 -05:00
aiongg
913c1b20ac
Merge remote-tracking branch 'upstream/next' into test-speed-3-frame
2026-11-25 13:21:25 +00:00
aiongg
70374ab97c
Merge pull request #3499 from aiongg/next-green-1125
...
next: green gate (merges #3443 and #3493 )
2026-11-25 08:21:06 -05:00
aiongg
051c45335c
Merge host-canvas-finding into app-stop-focus
2026-11-25 13:19:30 +00:00
aiongg
668f0b07d1
Merge storytold next into app-stop-focus
2026-11-25 13:17:55 +00:00
aiongg
4bdb8b850a
host_canvas: a canvas widget that takes no focus is the same finding
...
A widget drawn with the bare Sense::DRAG or Sense::CLICK is not focusable, and
egui takes the focus from it when it is drawn, so Tab is lost there too. The
end hook reads the sense of the canvas's widget and names it in the finding.
2026-11-25 13:10:39 +00:00
aiongg
d6f213e0b1
Focus the runtime gives an app's own widget follows egui's rule
...
Focus that Tab, F6 or a framework request gave an app's own egui widget
kept the runtime's surrender rule (Never) while the runtime's press rule
left that widget to egui, so a press elsewhere released it nowhere. The
end hook of the pass that drew the widget leaves the focus to egui's rule,
the app's `surrender_focus_on`; until then the press or click of the pass
that gave the focus does not take it back. The stop of an app's own widget
sets no Escape filter, so Escape releases it as egui does; the declared
canvas keeps its filter.
2026-11-25 13:10:24 +00:00
aiongg
e1b9d1816c
Merge next into host-canvas-finding
2026-11-25 13:01:31 +00:00
aiongg
f1bf62a705
host_canvas: a declared canvas no widget draws is a finding
...
egui drops the focus of an id no interactive widget of the pass has, so Tab
lost the focus at such a canvas and started over at the first stop. The end
hook looks each declared canvas up among the pass's widgets and reports
`canvas-without-widget` when it is not there; debug builds log it once.
2026-11-25 13:00:57 +00:00
aiongg
9b59227688
Merge craft-libs#3493: design-lint findings and the components index
2026-11-25 12:25:51 +00:00
aiongg
150ca88970
Merge craft-libs#3443: Column start stories use catalog icons
2026-11-25 12:25:51 +00:00
Martin Ball
8c4d74b462
Merge pull request #3443 from storytold/fix/start-story-icon-ids
...
ui-shell: the Column start stories use catalog icons for their links
2026-11-25 12:25:33 +00:00
aiongg
6387c9ec92
Workspace gate: shard 2 also runs craft-draw's tests
...
With craft-ui-contract optimised, shard 2 (the audit crates, plain and audited)
ends well before shard 1. craft-draw's tests (about 280 test-s in CI, most of
them suite trials) move to shard 2 and run plainly; the audited pass keeps to
the audit crates.
2026-11-25 12:24:31 +00:00
aiongg
7d1a54d71b
Workspace gate: craft-ui-contract at opt-level 2
...
Every screen-test frame runs the runtime. Table activation runs 40 percent
fewer instructions (19.8 G to 11.9 G on the CI profile); the build chain pays
about a minute for ui-contract's compile. Changes the CI cache key.
2026-11-25 12:24:31 +00:00
aiongg
d4af1f2485
cl: pass the dev profile settings after the cargo subcommand
...
cargo lets a --config given after the subcommand replace every --config given
before it, so `cl test <crate> --config .config/cargo-ci.toml` built every
crate, dependencies included, at opt-level 0. External subcommands (fmt) keep
them before the subcommand.
2026-11-25 12:24:31 +00:00
Martin Ball and Claude Opus 5.5
011ee7857a
next: design-lint findings and the components index
...
- ui-panels iconic trial: the two literal 0.5 tolerances are relations (`first` above the
gripped first icon; the rule `near` the middle of the room).
- ui-shell Column start page: the bottom page margin is `add_space` of the token, not
`allocate_space`.
- ui-widgets Tile: `PAPER` (a blank page, data) and `Tile::page`'s width and height (a
proportion in any one unit) are marked and listed as exceptions.
- docs/components-index.md regenerated (Link's `LinkLook::Plain`).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-25 12:00:05 +00:00
bflatastic
b0d422cf0c
Document tabs: TabCloseLook::Glyph, the close button as a glyph (opt-in)
...
Under TabCloseLook::Glyph a tab's close button is the x alone: a small icon (size.icon.sm) in
text.muted that turns text.normal under the pointer, with no fill, taking clicks in a square of
the close box's width instead of the content's whole height. The default, Button, keeps the icon
button. Story: DocumentTabs close_glyph_document_tabs.
2026-11-25 18:22:12 +07:00
bflatastic
963ba7c7aa
Move bands: MoveBandCursor::Arrow keeps the arrow (opt-in)
...
A DragBand::Move band declares the open hand, and since egui hands a drag that starts on a
click-only widget to the drag widget below it, the band is hovered under the menu titles and
buttons of a title bar too, so its hand shows over them. Under MoveBandCursor::Arrow the band
declares no cursor: the band and the controls on it show the arrow, as an OS title bar does. The
default, Hand, keeps today's cursors. Trial: a_move_band_shows_the_arrow_when_the_app_asks.
2026-11-25 18:22:12 +07:00
bflatastic
3ccd688c03
Menu bar: MenuTitleLook::Button, titles as bare push buttons (opt-in)
...
An app may set MenuTitleLook::Button at its root: each title is then a push button high
(size.button) with the button's corners (radius.button) and space.gap.tight beside its text, and
the titles stand space.pad.control apart, as egui's menu bar draws its titles (VectorCraft 0.24).
The default, Row, keeps the menu row look and MenuTitlePad, so no other app changes. Story:
MenuBar menu_bar_button_titles.
2026-11-25 18:22:12 +07:00
Martin Ball
58acd23cdc
Merge pull request #3218 from mocenigo/page-view-fit-width
...
pages: no horizontal scroll bar while the pages fit the view's width
2026-11-25 10:15:24 +00:00
Martin Ball
d445d2cf26
Merge pull request #3286 from batistalucasv/fix/font-picker-warning-filled
...
font-manager: use filled warning triangle icon in FontPicker (storytold/wordcraft#7684 )
2026-11-25 09:35:13 +00:00
bflatastic
6fcf61c816
overlay: a raise asked in the pass the floating windows show again holds: egui raises every layer that shows again and keeps the old order among them, so the asked raise is asked again in the next pass (Persist::raise_again). A document window raised as Presentation Mode ends comes to the front. Trial a_window_raised_as_the_windows_show_again_comes_to_the_front
2026-11-25 15:42:17 +07:00
bflatastic
5442cfb97f
ui-contract, ui-panels dialog, ui-widgets buttons: a dialog frame is padded space.pad.dialog (Pad::Dialog; a roomy dialog keeps space.pad.roomy), and a dialog's footer button (LeastWidth::DialogButton or DialogSideButton) stands size.dialog.button_height high (StyleCx::dialog_button_height; a small one stays a small control high). Every size set gives them a panel's padding and a push button's height, so no app's dialogs change. Trial
2026-11-25 15:21:00 +07:00
bflatastic
03fea7ac47
ui-contract, ui-widgets menu: a menu row stands size.row.menu high (StyleCx::menu_row_height, grown as a control's height is; a small row stays a small control high); a compact row keeps its text line's height. Every size set gives size.row.menu the control's height, so no app's menus change. Trial
2026-11-25 15:21:00 +07:00
bflatastic
00e2d98224
theme: size.row.menu (a menu row's height), size.dialog.button_height (a dialog's footer button's height) and space.pad.dialog (a dialog frame's padding). Each size set gives them the value they replace (size.control.md, size.button, space.pad.regular), and an app that sets that value and not theirs has them follow it, through every step of FOLLOWS, so no app's look changes; the token dumps gain only the three lines, equal to the values they follow. Test: each follower starts at the value it follows and takes its override
2026-11-25 15:21:00 +07:00
bflatastic
69411864af
ui-widgets: LinkLook, an env style value for how a link standing alone marks itself beside its colour: Underlined (default) or Plain, the link colour alone, as VectorCraft's start page lists its community links; a link in a sentence stays underlined. Story link_plain
2026-11-25 15:20:32 +07:00
bflatastic
9ff5832607
theme, ui-contract, ui-widgets, ui-shell: a page's rhythm as size.page tokens, opt-in. size.page.gap.{title, lead, actions, section, heading, link} (Gap::PageTitle and its siblings) space a Column start page's title and subtitle, New and Open under them and beside each other, its sections, a section heading over its body and its links; size.page.link is a plain link's least row height; ControlPlace::PageAction stands New and Open at least size.page.button high with at least size.page.button_side beside their labels. The size sets give every gap the value of the gap it stands in for, size.page.button a push button's height and the rest 0, and an app's override of a followed value carries to the page's (FOLLOWS now follows a chain), so no app or story changes until an app sets them (the token dumps gain only the new lines). Story button_as_page_action; trials a_column_page_takes_its_rhythm_from_the_page_sizes, a_page_follows_the_values_it_stands_in_for_unless_the_app_sets_its_own; dumps updated
2026-11-25 15:20:32 +07:00
skylartaylor
189716c2e8
ui-shell: the Column start stories use catalog icons for their links
...
message-circle and git-branch are not catalog names, so the icon_ids test failed on next.
The community link takes "note" (a chat bubble) and the source link "open".
2026-11-25 07:01:05 +01:00
BFlat
16001e7210
Merge pull request #3432 from dotCooCoo/fix/shortcuts-own-areas
2026-11-25 12:32:04 +07:00
BFlat
e90a48312d
Merge pull request #3433 from dotCooCoo/fix/shortcuts-open-size
2026-11-25 12:31:48 +07:00
bflatastic
4bed21baaa
dock, iconic column: under IconGroupSeparator::Rule each icon group keeps a bare grip band that drags the group, as production's: the first group's over the top space.gap.inline of its first icon, a later group's over the room above it and that much of its first icon; the band takes a press there (a click in it opens no flyout), and below it every icon, the first included, drags its own panel; Grip keeps its strips
2026-11-25 11:54:32 +07:00
bflatastic
2ac9705290
dock: beside PanelTabLook::Block tabs a docked column card's bar is a square strip of surface.canvas across the card's top and only the card's foot is rounded, as VectorCraft 0.24's tool card; beside the other looks the bar stays part of the card
2026-11-25 11:34:03 +07:00
bflatastic
f562e58af2
select: SelectLook::Filled shows the closed box filled with surface.control, with no edge until it has focus, at a field's width; Field stays the default
2026-11-25 11:34:03 +07:00
bflatastic
cadd08b988
buttons, dock: ActiveLook::Control shows an icon button or segment that is on in surface.control with no edge and the normal text; beside PanelTabLook::Block tabs a collapsed column's open panel icon takes it, as the shown tab does, and its flyouts' groups keep the active look around the column
2026-11-25 11:34:03 +07:00
bflatastic
9f1b8d6d20
dock: Flyout::docked stands a flyout as a docked column does, square on surface.panel with the column's line.border frame and no shadow; the flyouts of a flush dock's columns (DockConfig::flush_docks) take it, the others stay raised popups
2026-11-25 11:34:03 +07:00
bflatastic
5d74792c0a
dock: DockConfig::flush_docks stands docks flush against the node beside them, with no gap (DockSizes::dock_gap, FrameRules::dock_gap), and frames their columns collapsed to icons in line.border as expanded columns are, so one rule parts a dock from the canvas; off by default, where the space.gap.tight gap stays
2026-11-25 11:34:03 +07:00
bflatastic
9916d16585
dock: DockConfig::column_cards takes ColumnCards: None (the default), All (every docked column a card, as the switch on was) or Stepped, which shows only the stepped columns such as a docked tool rail as cards and keeps the panel columns flush; DockSizes::card_place and card_inset read the column
2026-11-25 11:34:03 +07:00
bflatastic
9012e52081
dock, iconic column: under IconGroupSeparator::Rule a collapsed column's icon groups have no grip strips: the first icon stands right under the column's bar, a group's first icon drags the group, and the room between two groups is space.gap.stack and the rule, the rule in its middle; Grip, the default, keeps its strips
2026-11-25 11:34:02 +07:00
bflatastic
a7b48fb036
theme, dock: size.bar.column, the height of a dock column's bar (size.control.sm in both built-in sets, so the bar keeps its height unless an app sets it); a column's bar, expanded or collapsed to icons, lies on the surface its dock's tab strips do: surface.canvas beside PanelTabLook::Block tabs, the window's background otherwise
2026-11-25 11:34:02 +07:00
bflatastic
e49a32947a
tabs, dock: PanelTabLook::Block shows a panel strip's shown tab as a square surface.control block as tall as the strip, a hovered tab in state.hover; a dock group's strip lies on surface.canvas under it and its panel menu button stands in the strip's middle, as beside pill tabs; Plain stays the default
2026-11-25 11:34:02 +07:00
aiongg
9b818faae7
Merge pull request #3413 from aiongg/dock-gaps-2
...
Tab order, IME fence and start-up crash fixes from EffectCraft's minimal port
2026-11-24 23:12:20 -05:00
bflatastic
461493afcb
ui-widgets, ui-patterns: Tile::page lifts the page on the knob's short shadow and fits its longer side to the largest square the picture holds, so pages of every shape stand at one scale; story new_document_dialog_page_cards for PresetCardLook::Page
2026-11-25 10:52:00 +07:00
bflatastic
205803ee6d
theme, ui-widgets, ui-patterns, ui-shell: every Home look opt-in. New Document's preset cards keep the ink page outline by default; PresetCardLook::Page (env style) gives Tile::page on a flat page card. CardText::Page: a strong name on up to two centred lines, the detail right under it, a flat card with the hover fill and an accent edge when selected. surface.page (follows surface.canvas unless pinned; VectorCraft's themes pin production's page colour), size.page.margin and size.page.action; ControlPlace::CallToAction stands a button size.page.action high with a strong label; Stack and the other containers take pad_edges. StartScreen new_label and open_label; the Column page fills surface.page, keeps the page margin beside the column and size.page.margin above and below it, and stands its call to action in ControlPlace::CallToAction; page templates are page cards. Stories button_as_call_to_action, tile_page as a page card; trials; dumps gain the three tokens
2026-11-25 10:52:00 +07:00
bflatastic
8a133a094b
theme, ui-widgets, ui-patterns, ui-shell: StartLayout::Column, one centred column at most size.page.column (820) wide a page margin from every edge: title (Display) and subtitle, New and Open centred, the recent files as rows only when there are any, the app's section, the templates as cards that keep their size and wrap, the links under links_title centred without icons and StartLink::primary as a primary pill with its icon; templates_title prop. Tile::page, blank paper on the popup surface's shadow fitted to the picture, now New Document's preset card and a Template's with Template::page. Stories start_screen_column, start_screen_column_without_files, tile_page; trials; New Document's page trial checks the filled page; dumps updated
2026-11-25 10:51:59 +07:00
aiongg
f244e6212b
Pin egui to storytold/egui next (b15ffe9bf), which now carries the IME reset, arrow cover, multi-pass texture and focus candidate commits
2026-11-25 03:39:37 +00:00
bflatastic
d1920c54e7
ui-contract: an edit command fired before the pass's UI (a system menu pick) reaches the focused component in that pass, and a text part's stop registers the edit keys its pass's edits left, so a menu Copy after a Select All is not disabled; a pick in the window's own menus or bars still reaches it in the next pass
2026-11-25 10:24:17 +07:00
bflatastic
bf12e584a2
layers filter bar: ObjectsSearch, a root style value; under ObjectsSearch::Fill the Objects filter's search field fills the bar's row and the Filter button stands at its end edge. ObjectsSearch::Natural, the default, keeps the field at its own width, so no other app changes. LayerFilterBar story under Fill; trial
2026-11-25 10:24:16 +07:00
bflatastic
e70ddf25cf
ui-widgets list rows: ThumbRows, a root style value; under ThumbRows::Tight a thumbnail row pads its thumbnail by space.gap.tight with no floor of a standard control and the panel padding (at least the row's own height), and a tree level indents by a small icon and space.gap.tight. ThumbRows::Roomy, the default, keeps today's rows and indent, so no other app changes. ListRow story under Tight; trial
2026-11-25 10:24:16 +07:00