Commit Graph
372 Commits
Author SHA1 Message Date
aiongg b1766bb698 Merge remote-tracking branch 'upstream/next' into fw/mac1 2026-11-16 19:42:31 +00:00
aiongg b6088dbdcf Merge branch 'fw/speed1' into fw/mac1
# Conflicts:
#	crates/ui-patterns/src/patterns/dock/area.rs
#	crates/ui-shell/src/shell/app_shell.rs
2026-11-16 19:05:56 +00:00
aiongg 9d61d87e46 cargo fmt 2026-11-16 18:29:58 +00:00
aiongg 9341d4d478 Settling children: a content version, repaints scoped to the child that asks, input elsewhere leaves versioned children settled
Lazy::content gives the version of the app data a settling child shows; it runs when the version changes.
frame::request_repaint asked inside a settling child runs only that child; outside every one it still runs
them all. frame::request_own_repaint moves only what the caller shows: the tool host and the canvas zoom ease
use it. Input other than pointer motion unsettles only the children without a content version.
2026-11-16 17:42:11 +00:00
aiongg 8090388f3b Merge branch 'fw/det' into fw/mac1
# Conflicts:
#	crates/ui-widgets/src/bars/status_readout.rs
2026-11-16 16:48:00 +00:00
aiongg 5215f02eef Merge branch 'fw/dlg-a' into fw/mac1 2026-11-16 16:47:54 +00:00
aiongg 18f6bc55f8 List rows: trailing icon buttons rest in the quiet panel-rail glyph role 2026-11-16 16:47:13 +00:00
aiongg 03cec5ea4f Status readout: info text in the muted shade 2026-11-16 16:45:16 +00:00
aiongg e8ec7b44ae A unit select names its unit once: the number field reads the unit's spellings without a suffix, and the unit lists show the units' names (Units::name) 2026-11-16 16:40:28 +00:00
aiongg 1d8c7d13a2 Merge branch 'fw/mac1-bars' into fw/mac1
# Conflicts:
#	crates/ui-contract/src/contract/body/hooks.rs
#	crates/ui-shell/src/shell/app_shell.rs
#	crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-16 16:25:37 +00:00
aiongg d5929d22a0 PresetPicker gains a compact Chip field: a small thumbnail over its caption on no well, sized for a bar's line; the brush preset picker uses it. PaintBarWords drop Size and Hardness 2026-11-16 16:13:33 +00:00
aiongg 23de14acd3 Hex fields show their # as the side label of their row: the Color readout, the compact and the full picker 2026-11-16 16:06:31 +00:00
aiongg aca39c7347 The status readout shows the document's resolution after its dimensions, and its zoom field has no glyph label 2026-11-16 16:06:08 +00:00
aiongg 4d1063b6dc PaintBar follows the Pro options bar: pen toggles, rules, no size or hardness fields; bar Home and tool buttons at the standard control size 2026-11-16 16:04:10 +00:00
aiongg 8296832417 A field takes its content width among a bar's members
ContainerProps::content_in_bar keeps a container from the width in a bar; Field sets it, and an explicit sizing
clears it. The Content sizing every bar set on its fields is gone.
2026-11-16 16:02:09 +00:00
aiongg 81078945af A row given its height centres its line; a fill-width row on that line fills it; top and bottom shell panes lay their bar on one line
A container given its height whose body is an unwrapped row sets the row's line at the middle of its band and
pads only along the line. A fill-width container with a row body on such a line is given the line's height, so a
bar in a top or bottom slot fills the slot. A container whose first line is its own row's line sits on an outer
row's line by it even with a child of two lines. The shell's top and bottom panes lay their content out as a row;
the egui centring wrapper and the slot's surface under the bar are gone.
2026-11-16 15:59:53 +00:00
aiongg 2103be6de1 Fix clippy and rustdoc errors in automation, draw, imaging, svg, ui-patterns and ui-widgets 2026-11-16 15:40:46 +00:00
aiongg da0fcfd21a design-lint: props: derive the setters of ui-widgets components (#[prop]) and drop the hand setters 2026-11-16 13:27:45 +00:00
aiongg 7c739a93ff Merge branch 'fw/merge-b2' into area/fwb2 2026-11-16 12:55:51 +00:00
aiongg 5adbdb357e merge-fwb: A11: the draft trial's rig has a second field, so Tab leaves the field and commits 2026-11-16 12:53:53 +00:00
aiongg aaa9712551 Merge branch 'fw/merge-c4' into area/fwb2 2026-11-16 12:51:56 +00:00
aiongg 259fc8e0bc merge-fwb: FW13: param rows report range alerts; Global Light angle range and whole degrees; SliderField reports its field's range alert 2026-11-16 12:48:38 +00:00
aiongg 95c557733f merge-c: 1.8: Create Shape raises the range alert for a width or height typed past 1..300,000 px, every kind (UnitSelectOutput.out_of_range; CreateShapeDialog::alert_title, take_range_alert) (#13358) 2026-11-16 12:43:17 +00:00
aiongg 50b726c3fa merge-fwb: FW12: trial that an open menu takes letters and arrows from a focused text field 2026-11-16 12:41:07 +00:00
aiongg a7ff7a4fbe merge-fwb: A10: trial that a NumberField keeping its name in a labelled field is described by the caption 2026-11-16 12:39:49 +00:00
aiongg 08b5c2ac41 merge-fwb: A11: trial that a NumberField draft that is no number owes no range alert 2026-11-16 12:39:06 +00:00
aiongg 3f139e21af merge-fwb: FW2: a trackpad steps only a focused or armed value control; a value control lets go of a wheel gesture when the pointer leaves it 2026-11-16 12:37:30 +00:00
aiongg 016d5074c6 Component samples exist in every build: the contract macro names the sample with or without the testing feature, so craft-menu's build without it compiles 2026-11-16 02:43:01 +00:00
aiongg fd5490dc3b craft-ui-widgets: lints the gate denies (redundant must_use on builder setters, a Paint alias for the picture's painter, the test rows' type, the removed veil named) 2026-11-16 02:05:24 +00:00
aiongg 2d93badb1d Merge remote-tracking branch 'upstream/next' into area/fwb2-f12 2026-11-16 01:42:32 +00:00
aiongg 021859c0b4 tfix5-f12: a root under a modal layer starts no press, targeted or not (sampler::root_takes_press reads egui's modal gate); trial: a press under a modal starts nothing on the canvas 2026-11-16 01:21:32 +00:00
aiongg 754e8c4fe7 Fixed Size's unit menu is the field's only right-click menu 2026-11-16 01:08:07 +00:00
aiongg b171283050 fmt 2026-11-16 01:01:56 +00:00
aiongg f1f0333a5b Merge storytold next into the framework branch 2026-11-16 01:01:38 +00:00
aiongg 0b823cd7b0 tfix4-f6: value controls that step by the wheel declare it, so a Free scope frees them 2026-11-15 21:30:32 +00:00
aiongg 14d5ec609a cargo fmt 2026-11-15 10:23:21 +00:00
aiongg a80e33df79 panels-w20: net change of 1 commits
- panels-w20: review fixes (review-1)
2026-11-15 09:18:08 +00:00
aiongg 6476a39bb5 panels-w37: net change of 1 commits
- panels-w37: review fixes (review-1)
2026-11-15 09:18:07 +00:00
aiongg b9d2a9b266 top-w7: net change of 6 commits
- top-w7: written by an agent
- top-w7: review fixes (review-1.md)
- top-w7: menu redirect keeps the return stop's chain, with its trial (review-1.md, lead ruling on the gap)
- top-w7: a component inside a menu resolves its bound command from where focus goes once the menus close, through focus's walk (top run round)
- Integration: pick_focus trials keep top-w2's Help search-field Cut trial after this set's shortcut trial
- top-w7: a menu row's command takes its instance from the row's own chain, judged from the stop focus returns to, which gives the instance when the chain holds none (top run round)
2026-11-15 04:46:09 +00:00
aiongg c77e6d6ead top-w4: net change of 3 commits
- top-w4: written by an agent
- top-w4: review fixes (review-1)
- top-w4: edge scroll caps its step like the strips (top round)
2026-11-15 04:46:09 +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 8e6b23810a tools-w7: net change of 7 commits
- tools-w7: written from its sheet
- tools-w7: repair 1
- tools-w7: review fixes (review-1.md)
- tools-w7: Picture takes a content painter (T-ruling, item 1)
- tools-w7: banner paints through Picture::painter (review-1.md item 1)
- tools-w7: Picture painter is Fn (runs twice per pass)
- tools-w7: family rows show the list's tree disclosure; the style trial and story open a family by its expand request (tools run round)
2026-11-15 04:46:09 +00:00
aiongg 524aac5184 tools-w18: net change of 4 commits
- tools-w18: written from its sheet
- tools-w18: repair 1
- tools-w18: review fixes (review-1)
- tools-w18: the bar story keeps the next board's size and background in one story value; the placing trial reads the canvas target's rect (combine)
2026-11-15 04:46:08 +00:00
aiongg 20e0bcf93b dialogs-w2: net change of 3 commits
- dialogs-w2: written by an agent
- Integration: ParamRows keeps dialogs-w1's preview_colors beside the patterns rows (dialogs-w1 7a195af4a)
- dialogs-w2: review fixes (review-1)
2026-11-15 04:46:07 +00:00
aiongg d3257f265a dialogs-w15: net change of 7 commits
- dialogs-w15: written from its sheet
- dialogs-w15: repair 1
- dialogs-w15: trials build the non-exhaustive SaveForWebOptions from its default (combine)
- Integration: craft-color's re-export and panels trials take SwatchTable from craft_ui::choice (panels-w7 and panels-w6 requests, done here so the area compiles)
- dialogs-w15: review fixes (review-1)
- dialogs-w15: review fixes (item 3)
- dialogs-w15: the palette trial selects the Optimized pane, whose palette the Color Table shows (dialogs run round)
2026-11-15 04:46:07 +00:00
aiongg e0104d06d6 canvas-widgets-w8: net change of 3 commits
- canvas-widgets-w8: written from its sheet
- canvas-widgets-w8: review fixes (review-1)
- Integration: tab trials keep framework-01-w2's drag, drop and same-label trials
2026-11-15 04:46:06 +00:00
aiongg 1e8c2736ed canvas-widgets-w4: net change of 11 commits
- canvas-widgets-w4: written by an agent
- canvas-widgets-w4: finished by an agent
- canvas-widgets-w4: review fixes (review-1)
- canvas-widgets-w4: pen readings drain in the pass that carries moves (per-frame input rule)
- Integration: input hook keeps canvas-widgets-w13's frame key and inject_pass beside the focus-loss withdrawal and inject_ime
- canvas-widgets-w4: tp.T39 ControlClick moved from PhotoCraft (Integration: top-w7's item, on this set's hot path)
- canvas-widgets-w4: Control-click trial in the it binary (tp.T39)
- canvas-widgets-w4: the gesture-gap trial reads the wake once egui's wheel smoothing has settled (fwcw round 3)
- canvas-widgets-w4: the list-end trial starts a new wheel gesture at the list's end, as a running gesture keeps its taker (fwcw round 3)
- canvas-widgets-w4: the free-slider wheel trial points inside the panel, which is as wide as its members (fwcw round 3)
- canvas-widgets-w4: the Tab-and-paste trial uses prose editors, as a code editor part keeps Tab (fwcw round 3)
2026-11-15 04:46:06 +00:00
aiongg d2d7d870c9 canvas-widgets-w12: net change of 7 commits
- canvas-widgets-w12: written by an agent
- canvas-widgets-w12: review fixes (review-1)
- canvas-widgets-w12: the pass's elapsed time (top round, review-top-1)
- canvas-widgets-w12: the strip trial reads rows wholly in view, not the first row's clipped rect (top run round)
- canvas-widgets-w12: the walk out of the menus is focus's (out_of_menus), with the menu-level container and the running menu; a body group names its container (top run round)
- canvas-widgets-w12: the walk out of the menus stops at the first return stop that is no menu row, and a menu pick returns focus by the same walk (top run round)
- canvas-widgets-w12: the walk out of a layer returns the menus it crosses; a pick walks from the menu its row runs in, and an activation closes the layer it ran in and the menus that walk crosses (top run round)
2026-11-15 04:46:06 +00:00
aiongg 2151ca4cd4 canvas-widgets-w11: net change of 12 commits
- canvas-widgets-w11: partly written (run interrupted)
- canvas-widgets-w11: partly written (run interrupted)
- canvas-widgets-w11: partly written (run interrupted)
- canvas-widgets-w11: written by an agent
- canvas-widgets-w11: review fixes (review-1)
- canvas-widgets-w11: a root's response reports the presses on every part of its own, whatever egui widget took them; the part results say which part (fwcw round 3)
- canvas-widgets-w11: a press keeps focus only on the framework's focused stop, so a press on the canvas background focuses the canvas while a body member holds the stop (fwcw round 3)
- Integration: ui-widgets exports TextWords for Alert::range (dialogs-w4, cw.N6)
- canvas-widgets-w11: the held edit-menu selection drives the text part's keys and survives the pass focus takes to come back (top run round)
- canvas-widgets-w11: a root's own background is a hover candidate below its parts, and the root's response hovers by the framework's resolve wherever its arena is under the pointer; the press fallback to the background folds into the same shape (top run round)
- canvas-widgets-w11: an activation closes only the layers its walk out of the layer it ran in crosses, so a pick in a field's edit menu inside Help leaves Help open (top run round)
- Integration: overlay pass keeps framework-01-w9's layer spaces beside the activation's closed layers
2026-11-15 04:46:05 +00:00
aiongg bb9d7745b6 framework-01-w6: net change of 2 commits
- framework-01-w6: written from its sheet
- framework-01-w6: the edit-menu trials right-click outside the focusing click's click run (top run round)
2026-11-15 04:46:05 +00:00