Commit Graph
4947 Commits
Author SHA1 Message Date
aiongg ab09b3fc28 Design lint: rail trials compare within a point, story strip sizes from IconicSizes, dead rail exemptions removed 2026-11-17 07:06:20 +00:00
aiongg d414c24ad7 Dialog host forgets a layer's open slot through runtime memory, not the body layer 2026-11-17 07:06:19 +00:00
aiongg 110f62f255 Merge branch 'fw/press-route' into fw/mac1
# Conflicts:
#	crates/ui-contract/src/primitives/sensing.rs
2026-11-17 06:31:19 +00:00
aiongg 053d567561 Press routing by kind: a press's click and its drag each go to the root whose shape is on top for that kind; under a drag-only grip a child keeps its click, a drag-only root below a button takes the drag; TransformBox parts take the click with the drag so a press on the box is the box's alone; DIAG covers the two trials (CRAFT_DIAG_TEST) 2026-11-17 06:20:27 +00:00
aiongg c17f5d7e49 Merge branch 'look/align' into fw/mac1 2026-11-17 06:17:59 +00:00
aiongg c25070dbe3 Merge branch 'fw276/fix2' into fw/mac1 2026-11-17 06:17:59 +00:00
aiongg d3b6dc9781 Merge branch 'red/p2fw' into fw/mac1 2026-11-17 06:17:59 +00:00
aiongg 951a1755fd TransformFields panel form: the number fields fill their grid cells 2026-11-17 06:16:55 +00:00
aiongg c410d7ddbf TransformBox takes PhotoCraft's zones: a corner or side handle reaches handle.md from its point, and each side's band reaches outside the box only, so inside the box off the handles a press reaches what lies under it 2026-11-17 06:16:10 +00:00
aiongg c01888f762 Iconic trials name their rect helper rect_of, so the icon id check doesn't read panel labels as icon ids 2026-11-17 06:13:55 +00:00
aiongg 4a3c72f2db Look align: text parts ignore the host's egui size floor; options bars at the standard control size; selects in a bar fit their widest entry; check box labels in body type; title band glyphs at size.icon.sm with a faint kind caption; Inspector names its target at section weight; Transform fields fill two columns, W and H first 2026-11-17 06:13:31 +00:00
aiongg 1cdfdad757 NoticeCenter posts and tracks nothing in a measuring run 2026-11-17 06:13:28 +00:00
aiongg 0946da5e26 Trial: a settled region with a content version runs once in the pass that routes an AccessKit Focus into it, and not when the Focus goes elsewhere 2026-11-17 06:13:20 +00:00
aiongg 2ebd32d598 DIAG: the press winner's candidates (every shape under the press per root, with order and clip) and each root's start decision, for the six press-routing tests of round I 2026-11-17 06:12:52 +00:00
aiongg fe65388c31 Remove the pending-crop DIAG prints from sensing and the tool host: the cause is found 2026-11-17 06:11:29 +00:00
aiongg 8361af67ad A settling region runs while an intent of the pass is routed to a component in it: an AccessKit Focus on a Layers row reaches its collection 2026-11-17 06:11:29 +00:00
aiongg 2a10d1400e A press on a guide keeps the guides' parts declared until it ends: a ⌘-press whose key is let go before the drag keeps its guide and focus 2026-11-17 06:11:29 +00:00
aiongg 687f709893 DIAG print after the press-route merge: names untargeted in place of the removed helpers 2026-11-17 05:41:54 +00:00
aiongg 3c2d6360c6 Merge branch 'fw/mac1' into fw/press-route 2026-11-17 05:32:46 +00:00
aiongg a70609d944 Press routing: exactly one root starts a press, the one whose shape is on top under it
The shape record keeps each shape's place in the pass's paint order and the clip it shows through, and which
root a transformed body layer belongs to. pointer::press_winner resolves every root recorded on the topmost layer
at the press (a body layer's root beneath its body) and gives the press to the root whose winning shape was
recorded last; egui's targets stay only to tell a raw egui widget on top. The sensing core starts a press on that
root alone, so a control under a later body-sized widget takes its press and a frame handle over a nested editor
wins over the editor. Member widgets over nested roots, which only steered egui's target, are gone.
Trials: a control under a later body widget; one root of three overlapping ones starts each press.
2026-11-17 05:31:53 +00:00
aiongg f42157c78b Merge branch 'fw276/check' into fw/mac1 2026-11-17 05:25:39 +00:00
aiongg 952556cf62 FW-276 trials: drop a diagnostic trial 2026-11-17 05:25:27 +00:00
aiongg 660daa69a1 Merge branch 'red/f3' into fw/mac1 2026-11-17 05:25:10 +00:00
aiongg a6c2980bb4 FW-276 trials: a context request on a collapsed floating window's band opens its menu, and Close closes the window 2026-11-17 05:25:07 +00:00
aiongg 6c358f48d2 A container that scrolls one axis keeps an axis it was measured unbounded along unbounded for its children, so a row given no width never lays a child out in a NaN room 2026-11-17 05:24:50 +00:00
aiongg c5a2c52386 Dock UI: a collapsed floating window's title row is its column's bar alone, the band and the double arrow; its menu opens from the band 2026-11-17 05:24:12 +00:00
aiongg 757d559fd1 Merge branch 'red/p2fw' into fw/mac1 2026-11-17 05:21:34 +00:00
aiongg 2bf4f78ea9 Merge branch 'fw/popover' into fw/mac1 2026-11-17 05:21:34 +00:00
aiongg ef0bee0346 Merge branch 'red/f2' into fw/mac1 2026-11-17 05:21:34 +00:00
aiongg 9029506f92 FW-276 stories: the collapsed floating window story covers the ordinary look; it shows no mixed value 2026-11-17 05:21:33 +00:00
aiongg e1e4a8755b FW-276 trials: a floating window's title-row point lies on its band, clear of the actions the double arrow moved 2026-11-17 05:20:30 +00:00
aiongg d29927b928 FW-276 merge fixes: the rail sets its roving grid on its own props, trials import the traits they call 2026-11-17 05:17:42 +00:00
aiongg 22865ab172 DIAG: the press machine's step and open press of an arena with members on a secondary press (space_hand_view_menu_keeps_escape_and_enter_from_the_pending_crop) 2026-11-17 05:15:46 +00:00
aiongg 5e95f9e37d DIAG: the node an AccessKit Focus request names, as route_access finds it (every_displayed_shortcut_dispatches_from_where_focus_usually_is) 2026-11-17 05:14:47 +00:00
aiongg 689a48bd2e DIAG: why an arena with members refuses a secondary press (space_hand_view_menu_keeps_escape_and_enter_from_the_pending_crop) 2026-11-17 05:14:47 +00:00
aiongg 7c1d7e60b6 A reveal moves no view along an axis its rect already spans: a canvas-wide control under the rulers keeps the view still
DIAG: the canvas prints each reveal it takes (command_drag_over_a_guide_moves_the_guide_with_any_tool).
2026-11-17 05:14:47 +00:00
aiongg ec64d98b70 A full-window side column's paragraphs wrap at a dialog's line length, and a row notice offered no room takes at most the column's room (DIAG: notice widths in the Content-Aware Fill tests) 2026-11-17 05:13:50 +00:00
aiongg 4f53e27dba Pages: page children take their scope id from the framework's id derivation
Each page's child Ui, measured or shown, is scoped by its page id (memory::sub
of the set's base), as a lazy child is, not salted by hand.
2026-11-17 05:13:49 +00:00
aiongg 503e30e13a Merge branch 'fw276/rail' into fw276/check 2026-11-17 05:12:45 +00:00
aiongg ca8e645567 A cancel that restores the value counts as a write
The apply step counts every event that changes the bound value: a proposal,
commit or set, and a cancel that puts the value from before the gesture back.
A given binding unsettles on the same events, compared by the value each
lands. EditEvent::apply reports Restored only when the cancel changed the
value, so a cancel under a commit-only policy, whose place still holds the
value from before, counts as no write.
2026-11-17 05:12:37 +00:00
aiongg 4c1e445022 Merge branch 'fw276/dock' into fw276/check 2026-11-17 05:12:31 +00:00
aiongg f1380e79d7 Dialog host forgets a removed dialog's open state, so a dialog that closed itself opens again under the same id 2026-11-17 05:12:07 +00:00
aiongg ab8612ef7c Gradient palette shows its presets as small chips: PresetBrowser's PresetTiles::Chips variant, grid headers and tail rows a collection row high 2026-11-17 05:11:53 +00:00
aiongg 7617a0522d A set writes the bound value as a commit does
The apply step counted a write only for Update and Commit, so a Set (cx.set,
or a gesture that begins and commits in one pass) changed the bound place
without noting the edit: no settled region or hidden page that read the value
measured again, and no earlier reader got the edit rerun. A given binding's
Set likewise unsettled nothing. Set now carries its value in both tests.

The Pages edit trial asserts one measuring run of the hidden page in the edit
frame. The popover click trial counts the row's activations: a leaf counts a
press in every pass with a press phase, so a click that lands counts more than
one. It clicks the new page's row right after the switch frame's idle frame.
2026-11-17 05:10:23 +00:00
aiongg 06e8f642e2 The selection trials' tool wrapper passes on whether the tool takes every move, as the app's wrapper does 2026-11-17 05:09:01 +00:00
aiongg 4bc791b52e A select face is no node of its own: its text is the pick, which its host reports as its value 2026-11-17 05:06:21 +00:00
aiongg bd41b0a549 Merge branch 'red/f3' into fw/mac1 2026-11-17 04:29:59 +00:00
aiongg f34f115a9a A minimized dock group is closed: the body step runs its header alone, and its body leaves no node or hit record 2026-11-17 04:29:30 +00:00
aiongg 1536ecd9c2 Dock: Shift+Tab keeps the panels the host's Except names, docked and floating; Dock Panel joins the first group that takes the unit; one title row height for floating windows
- hide::shown reads ShellCx::panels_hidden: the host's Except stays, any other hide hides every panel; a hidden
  dock (Tab) hides every panel. The columns no longer skip themselves on the shell's dock visibility.
- DockTo::Docked tries the dock columns' groups, then the docked tree's, as tabs, and takes the first the model
  takes under the permissions (drop::takes), so a toolbar's group is passed over.
- DockSizes::title_row is FloatingGroup's title row height; the window commands' source, stepped window heights
  and FloatSpace::title_row use it.
- Trials: hidden.rs, dock_back.rs, and the window group under the area's title row in floating_area.rs.
2026-11-17 04:26:50 +00:00
aiongg baaba88cec Merge branch 'red/ff' into fw/mac1 2026-11-17 04:25:52 +00:00