Commit Graph
208 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 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 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 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 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 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 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 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 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 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
aiongg f3574c41f4 framework-01-w10: net change of 2 commits
- framework-01-w10: written from its sheet
- framework-01-w10: review fixes (review-1)
2026-11-15 04:46:05 +00:00
aiongg 38d3342ad0 framework-01-w9: net change of 8 commits
- framework-01-w9: written by an agent
- framework-01-w9: finished by an agent
- Integration: desktop.rs icon_theme module lines owed by top-w2
- framework-01-w9: review fixes (review-1)
- framework-01-w9: layer containers map placement once (review-1 item 6)
- framework-01-w9: the flyout trials read the open panel's flyout, not one fading out (fw01 round 2)
- framework-01-w9: Flyout is IconicColumn's unregistered face (fw01 round 2)
- framework-01-w9: review fixes (review-tl-1.md)
2026-11-15 04:46:05 +00:00
aiongg e7b6352729 framework-01-w8: net change of 10 commits
- framework-01-w8: written by an agent
- framework-01-w8: finished by an agent
- framework-01-w8: fade takes env (framework-01-w5's signature)
- framework-01-w8: review fixes (review-1)
- framework-01-w8: review fixes (review-1, files the rulings name)
- framework-01-w8: a content column adds no Ui of its own, so its children keep their ids when its width becomes bounded or unbounded (fw01 round 2)
- framework-01-w8: the keyframe lane story fills the width its time axis is fitted to (fw01 round 2)
- framework-01-w8: a body's reveal is queued as a jump for the next pass's step 4, like the scroll bar's moves (fw01 round 2)
- framework-01-w8: the filling-bar trial pages the narrow bar and reads only what its view shows (fw01 round 2)
- framework-01-w8: a body group names its container; a text part's keys read the selection it holds for its edit menu (top run round)
2026-11-15 04:46:05 +00:00
aiongg 6332c9c04d framework-01-w5: net change of 4 commits
- framework-01-w5: written from its sheet
- framework-01-w5: repair 1
- framework-01-w5: review fixes (review-1)
- Integration: access trials list canvas-widgets-w13's bounds module (PLAN lines go)
2026-11-15 04:46:05 +00:00
aiongg e89d434cc1 framework-01-w2: net change of 7 commits
- framework-01-w2: repair 1
- framework-01-w2: RowStyle and ShapeTokens::rows go (size.rs, lib.rs rows of the sheet)
- framework-01-w2: list rows: option rows rounded, others square; layer rules in every theme (show.rs row of the sheet)
- framework-01-w2: review fixes (review-1)
- framework-01-w2: review fixes (review-1, files the rulings name)
- framework-01-w2: the escaped-sweep trial follows the sweep rule: only the eyes it switched are restored (fw01 round 2)
- framework-01-w2: a drop past the last item in reading order lands at the end, in every layout (fwcw round 3)
2026-11-15 04:46:05 +00:00
aiongg 52fedb5ef3 panels-w4: written from its sheet 2026-11-14 17:56:00 +00:00
aiongg 2b5de84828 Design lint: layer the env values, route egui access through the adapter, derive setters, token and relation checks in tests
The gate's design-lint test finds nothing. Env value types (pane edge, column align, row pressed, in-bar), band fill and span live in the layer that uses them; the cursor image and inside label are read back by the higher layer. Hand setters become derived props, tests assert relations, and the remaining sites are listed exceptions with reasons. The shortcut chord chip's sample is built only for screen tests.
2026-11-14 05:05:04 +00:00
aiongg 80ea3f6670 Lints: ui-widgets trials, table, prepress, media, raw and update doc links 2026-11-14 00:55:22 +00:00
aiongg 32d694f8c3 A column group's value and unit reads settle before a measure stands, wherever the row sits
Every read of a column other than a label one in a measuring run counts as early: the reader's own width holds the column, so a content-sized field read directly in a group (or after a presets chevron) re-sweeps at the group's final widths instead of running past the group.

The settle re-sweep is drafted with the Auto id ordinals kept, so the rows of the second sweep get the ids the real run gives them and a settled frame takes the kept measurements.

A component's own leaf label step runs under the field frame: its control reads the value and unit columns in both runs.
2026-11-13 18:25:43 +00:00
aiongg 35b57473e3 Content-sized number fields line up their values and units across a column group: a field's body shares the group's columns other than its labels 2026-11-13 18:25:43 +00:00
aiongg 1150dd376c Elided text: a path's readable least is measured on the cut it paints, a cut trims white space before its ellipsis, and a row records which units it dropped
TextRun::least_width measures Wrap::ElidePath on the range layout_cut paints at that width (the last name cut, or
the name whole after the ellipsis), through one path_name helper both share. cut_pieces trims white space before the
ellipsis, in the paint and the least alike. The row shrink step records each unit's width and whether it dropped as a
Shrink record in layout memory (layout::ShrinkCap), and a leaf reads the drop from it.
2026-11-13 17:57:00 +00:00
aiongg abddf29103 Row shrink step: a row that does not scroll drops its cut-first units from the end when they do not fit at their least 2026-11-13 17:57:00 +00:00
aiongg ac83ed0ed2 TextRun readable least: an elided run narrows to its first four characters and the ellipsis, measured and painted through one cut 2026-11-13 17:57:00 +00:00
aiongg 6f1263daad ListRow trial: group header weight against section heading 2026-11-13 17:44:44 +00:00
aiongg fb3962ce5d ListRow: a group header reads in the body weight, section_heading for a table's strong section rows; TileGrid: a leading group header sits at the top edge 2026-11-13 17:44:43 +00:00
aiongg d9566067a7 List rows: a row in_label_column keeps its label in the label column and leaves the empty toggle columns before it empty; Brush Tip Shape lines up with the section names 2026-11-13 02:48:04 +00:00
aiongg f780c31085 List rows: in a list of toggle columns only, the label band takes the room past the last column, so the label shows whole as measure counts it 2026-11-13 02:48:04 +00:00
aiongg 0748cf6634 FW-263 review: a list trial for the multi-click selection rule; a triple thumbnail click that selected acts once; the hold comment names keeps_pick 2026-11-13 01:30:21 +00:00
aiongg 164420d72f Keys: focus_holds reads a plain Space as the space it types, as routing does 2026-11-12 22:54:16 +00:00
aiongg a10810e44d Keys: a text field in a menu keeps the text field's rule; its editing keys reach the egui text widget 2026-11-12 22:54:16 +00:00
aiongg 1d9733b61c Keys: a text field holds the presses whose text it took, in place of the typed-shortcut filter; focus_holds names its letters 2026-11-12 22:54:16 +00:00
aiongg 41c16c7b6e Commands: a key command keeps open the popup whose content declares its scope; instances record the layer they run in 2026-11-12 22:54:16 +00:00
aiongg 788c89b024 Commands: a key command closes the open popups, as an app shortcut through close_popups does 2026-11-12 22:54:16 +00:00
aiongg b250a325fa F-1 review: layer runs by their clip, opt-in cross flip, capped popups in a region, strip speed in rows
- Story suite: a text run counts as shown by an open layer only when its clip lies
  in that layer; PaintedText records the clip.
- Place::flipping_across: only submenus open upward from a low row; rail and dock
  flyouts slide as PhotoCraft's tool flyouts do.
- Only modal and window layers in an embedded shell's region take the whole
  region; a popup kept in a PopupRegion keeps its cap.
- Strips scroll at rows per second of a control's height and show in the pass
  whose measured content first overflows.
- Trials: a bar menu reopened after scrolling to its end shows one level from
  its first row; a dropdown in a bar menu keeps its cap; a low tool's flyout slides.
2026-11-12 22:46:05 +00:00
aiongg 26e9a3ac63 Menu bar menus and their submenus stay below the bar
PopupRegion is the screen rect the popups opened in an env stay inside;
overlay::region_for returns it for popups, through the path an embedded shell's
modals take, and the measuring room keeps to it. MenuBar sets it below itself
(OverlayUi::contain_popups_below), so a submenu taller than the room under the
bar scrolls instead of covering the titles. The overflowing-menu story goes: the
story suite's room is shorter than the window a menu fills.
2026-11-12 22:46:05 +00:00
aiongg cdb179df0b Menus taller than their room scroll by strips and the wheel; side overlays open upward
Scroll gets a strip indicator: arrows above and below the view that scroll while
the pointer rests on them, taking height from the view and never width. Menu and
inline menus use it, so every menu layer, the menu bar's included, scrolls in the
room it has. overlay::place opens a side overlay that runs past the bounds the
other way when it fits there, so a tall submenu of a low row opens upward.
2026-11-12 22:46:05 +00:00