4707 Commits
Author SHA1 Message Date
aiongg bd254f1320 craft facade keeps its ai-agents feature; keymap docs name the kys depth limit, not a private constant 2026-11-16 20:15:00 +00:00
aiongg c89eec0537 Scroll bar trial: hover with the hover mix the thumb width resolves from 2026-11-16 20:03:12 +00:00
aiongg 95b0a3e714 Design-lint clean: the scroll thumb's width per state, Canvas::layer_bounds as a prop, centring relations in the tool rail trial 2026-11-16 19:55:05 +00:00
aiongg b1766bb698 Merge remote-tracking branch 'upstream/next' into fw/mac1 2026-11-16 19:42:31 +00:00
aiongg c323c312f7 Runtime imports: IdMap and IdSet for access records in every build; drop unused imports 2026-11-16 19:41:02 +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 7e7e86e09c Merge branch 'fw/d1' into fw/mac1 2026-11-16 18:18:10 +00:00
aiongg b93ae97d69 PresetPicker: a face thumbnail painter the host gives for the closed field; BrushPresetPicker's chip shows the app's current tip 2026-11-16 18:18:10 +00:00
aiongg 6b6b0905ac Dock group: the panel menu button paints over the header's band; a workspace save without a layout does not load 2026-11-16 18:18:10 +00:00
aiongg 9332e1c0c8 Fill children of a content-sized body take their measured width: a fill container not given the width offers its body the width it measured, unless it is held in a content column or passes its column's width on; a collection not given the width takes its content width in the real run too, unless held; trial: a content-sized row's fill leaf, held container and list leave the next member after them, inside the row 2026-11-16 18:16:48 +00:00
aiongg b54fe562bc The canvas panel's rail is one rail column wide at the panel's end edge, so the document area runs up to it 2026-11-16 17:49:05 +00:00
aiongg cf72d57473 Runtime maps keyed by egui Ids use IdMap and IdSet
The ids already carry their hash: the runtime's per-pass stores (lazy, layout memory, sensing arenas, id pass,
reads of overlays, inspect, keys, pointer, access) look them up without SipHash. The id pass keys its Auto
ordinals by the scope's id joined with the component type.
2026-11-16 17:42:23 +00:00
aiongg a0e01972e0 Fit Layers asks for the layers' bounds only when it runs
Canvas::layer_bounds takes a LayerBounds provider; ViewCommands::apply and available take it in place of
ViewTarget::layers, which is gone. Fit Layers is available when the canvas has a provider and calls it only in
the pass that applies the command. Trial: showing the canvas asks for no bounds; firing Fit Layers asks once.
2026-11-16 17:42:23 +00:00
aiongg 9b8dbfb332 Shell slots and dock panel bodies settle when they give a content version
Slot::content and AppShell::content give a slot the version of the app data it shows; DockPanels::content
gives one per panel body. With one, the slot or body runs in a settling Lazy. Trials: a versioned slot and a
versioned panel body run only when their version changes; a stroke whose tool asks for repaints runs no
versioned panel beside the canvas and one pass per move frame.
2026-11-16 17:42:23 +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 154fd9cb59 Rerun diagnostics: each pass that asks to run again logs what changed under craft_ui::rerun 2026-11-16 17:25:10 +00:00
aiongg e0ebaf4634 A row's line record holds the line it shared: a row centred in another height measures its line afresh, so a title bar in its slot sits in the slot; the Swatches panel fills its room and scrolls its own swatches 2026-11-16 17:25:09 +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 1b376ba317 Merge branch 'fw/dlg-b' into fw/mac1 2026-11-16 16:47:54 +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 b7e972651b A row centres its line only in a fixed height: a rect, a pane or the row line it fills, not a fill share of its parent's room 2026-11-16 16:46:05 +00:00
aiongg 03cec5ea4f Status readout: info text in the muted shade 2026-11-16 16:45:16 +00:00
aiongg 45a14a4dad Rulers: minor tick token, mid tick 6/9, ticks end at the divider band, vertical labels step by the label size, horizontal labels sit one gap below the strip top 2026-11-16 16:45:11 +00:00
aiongg 3829737b47 Trial: the stacked parameter layout stacks sliders and puts the buttons across the foot; Below keeps the button column 2026-11-16 16:42:19 +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 a293456ced Section headings in Canvas Size, Print, Export As and Save for Web: Current Size and New Size with their file sizes, Printer Setup and the app's sections, File Settings, all bold under a rule 2026-11-16 16:39:29 +00:00
aiongg 265e4e33e5 Layer Style sliders sit on one line beside their label 2026-11-16 16:37:58 +00:00
aiongg b4810e927a Parameter sections show a bold title under a rule; radio groups keep their quiet caption 2026-11-16 16:37:58 +00:00
aiongg 592a757d30 ParamLayout::Stacked: stacked slider rows, the zoom row under the preview pane and the buttons across the foot, with its story 2026-11-16 16:37:58 +00:00
aiongg 68f7685b8e A form dialog's buttons go across the foot unless it asks for side buttons; Guide Layout, Layer Style and the Color Picker keep their button column 2026-11-16 16:37:51 +00:00
aiongg a2a7f492a2 Levels and Curves show the point picker row first, above the Channel select 2026-11-16 16:34:53 +00:00
aiongg 568b6ec337 Dock area: a group's padding reads its active panel's spec by reference; canvas scroll bars drop an unused import 2026-11-16 16:28:19 +00:00
aiongg d1b29f96ee Prompt buttons show plain labels; their letters still activate them 2026-11-16 16:28:09 +00:00
aiongg 7189821b26 A disabled solid button keeps its shape, dimmed 2026-11-16 16:27:51 +00:00
aiongg e6cc6225a6 Dialogs draw no scrim backdrop by default 2026-11-16 16:27:33 +00:00
aiongg 1dcf0f8a17 Gradient icon: add the suite drawing of PhotoCraft's gradient swatch that icons.toml names 2026-11-16 16:26:39 +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 1cf223ebbc Merge branch 'fw/mac1-edges' into fw/mac1 2026-11-16 16:20:25 +00:00
aiongg 9e0f746710 Merge branch 'fw/mac1-dock' into fw/mac1 2026-11-16 16:20:25 +00:00
aiongg b32bb77e61 Dock area: a document panel's body is shown edge to edge, without the panel inset 2026-11-16 16:14:25 +00:00
aiongg 73d19e15d9 A gradient swatch among a bar's members is a short length wide 2026-11-16 16:14:04 +00:00
aiongg 49258624fc Inspector and Text Styles panels take no padding of their own: the dock group insets them 2026-11-16 16:13:59 +00:00
aiongg dc41b3dbe3 Shell slots choose their region before naming it; exhaustive pad edges 2026-11-16 16:13: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 7cd391de7e One floating scroll indicator for every scroll area
ScrollBarLook is one look: a clear track and a thin dim thumb line along the track's outer edge
at rest (stroke.thick), the whole track thickness (handle.sm) over a tinted track under the
pointer or while pressed. The docked kind (chrome track, edge rule, inset thumb) goes:
canvas and timeline bars take the same look. CxCore::scroll_bar_state gives a bar's state,
hovered while the pointer is anywhere on the bar, for every painter of a bar.
2026-11-16 16:12:12 +00:00
aiongg b3124fb9f2 Gallery: docked bodies leave their padding to the dock group 2026-11-16 16:12:04 +00:00
aiongg 88df0b40ee Dock area: every docked body fills its group inset by the panel padding 2026-11-16 16:10:57 +00:00
aiongg b47e5a28c7 TypeBar's size field shows the size glyph of the Character panel's size row 2026-11-16 16:10:08 +00:00