Commit Graph
4864 Commits
Author SHA1 Message Date
aiongg 4baf9d937b Docking docs: icon drop spots, flyout side, stepped columns, flyouts from the Window menu 2026-11-17 03:50:46 +00:00
aiongg 19f1b7b4ea Dock stories: columns in floating windows, a stepped toolbar column and a collapsed floating window 2026-11-17 03:50:28 +00:00
aiongg 92f11d415b Dock UI: the Window menu opens and closes the flyout of a panel in a collapsed column 2026-11-17 03:49:47 +00:00
aiongg b9ae41c995 Dock UI: stepped columns: whole content columns wide, as tall as their content docked and floating, edge drags and the double arrow set steps 2026-11-17 03:48:35 +00:00
aiongg e52471190d Dock UI: flyouts open on a side; a floating window keeps the edge its move began with; trials for floating columns 2026-11-17 03:44:05 +00:00
aiongg 1933ed236d Dock UI: icon groups register the drop spots of expanded groups; groups in a floating window take no side drops 2026-11-17 03:39:31 +00:00
aiongg 7fdb17d53c Dock UI: rustfmt 2026-11-17 03:29:24 +00:00
aiongg aa46612ac9 Dock area: a floating window draws its one column as a dock column does
Pass::column shows a column, docked or floating: an IconicColumn while it is
collapsed, else a DockColumn, with what the user did turned into actions in
column_work. Each dock column calls it with its own bar; each floating window
calls it inside a FloatingGroup with ColumnBar::Window, the title row being
the column's bar: its double arrow sets the column iconic, and a collapsed
window shows its icons at their size against the float area's nearer edge.
The window's split tree, its split resizes and its minimized toggle are gone.
Trial: the double arrow collapses a floating window's column and expands it,
the window keeping its rect.
2026-11-17 03:28:18 +00:00
aiongg c7d1a376d7 Dock UI: ColumnBar for a column in a floating window; FloatingGroup carries its column's bar
DockColumn and IconicColumn take ColumnBar::Window inside a floating window:
no bar, no frame and no edge bands, and an expanded column no edge divider,
since the window's title row, frame and edges carry them. FloatingGroup takes
the window's WindowColumn: the title row shows the column's double arrow at
the end the window keeps to, the arrow or a double click on the band reports
iconic, and a collapsed column shows at its collapsed size against that edge
of the rect, not resizable, a move keeping the rect's size. IconicSizes::of
and icons_height size a collapsed window.
2026-11-17 03:24:14 +00:00
aiongg 1cd660da93 Dock UI: frame view, drops and commands for one-column floating windows; rail.rs removed
FrameView prunes a floating window's column like a dock column and writes back
only the docked tree's splits. Drop placements ask the anchor's rights wherever
its column is. Collapse to Icons applies to every column, docked or floating,
and is off for a column holding a panel that does not collapse; Float Tab
Group keeps a window's only group where it is. rail_actions and rail_lit go
with the rail links; Minimize reads group and accordion state in the commands.
2026-11-17 03:19:51 +00:00
aiongg cbf445ff52 Dock model: SetMinimized documents the tab strip only 2026-11-17 03:13:40 +00:00
aiongg 6d1596c531 Dock model tests: column state on float and join, floating drops, column rights, steps, v3 migration
Collapse is kept when a column or its groups float and decided by the
joined column; a floating window takes Top, Bottom and Center drops and
nothing beside it; collapses and shares_column refuse their placements
in both directions and reconcile repairs them; a stepped column keeps
its count through JSON and refuses widths; v3 floating trees load as
one column window per side-by-side part.
2026-11-17 03:12:10 +00:00
aiongg c518493f93 Dock model: a floating window is one column; column rights; stepped columns
A floating window holds one Column, the type a dock holds, so collapse to
icons (Column.iconic) is the one collapsed state of every column, docked or
floating. PanelPlace::Floating names a group of the window's column, and
column(), group(), take, insert and every column action work the same for
both places. Groups taken out of a column carry its state into any new
column they make, so an icon group floated out of a collapsed column stays
icons; groups that join a column take that column's state. A floating
anchor takes Top, Bottom and Center drops only.

Column.steps and SetColumnSteps size a grid panel's column in its own
content columns; ResizeColumn refuses a stepped column. Permissions gain
collapses and shares_column, checked on the result of every apply (so dry
runs refuse alike), and reconcile repairs saved layouts that break them.

Workspace format v4: v3 floating trees load as columns, a tree split side
by side becoming one window per part at its share of the saved rect.
Floating.minimized and ResizeWindowSplit are removed.
2026-11-17 03:08:49 +00:00
aiongg ca71fda229 Design-lint: non-exhaustive types, focus through runtime::egui, prop setters, relation in guides trial 2026-11-17 01:46:42 +00:00
aiongg 9df7f30d95 Merge branch 'tool/cl-pc' into fw/mac1 2026-11-17 01:39:05 +00:00
aiongg 86ff913c14 cargo fmt 2026-11-17 01:37:58 +00:00
aiongg 5602d6f271 Trial: a pressed field's focus is judged on its text part, where focus lands 2026-11-17 01:24:19 +00:00
aiongg a3e646edb7 cl: PhotoCraft workspace (fixed 11-package selection, test/check/snapshot, sharded runner, doctor), CL_DRY_RUN 2026-11-17 01:16:31 +00:00
aiongg 6839d23016 Trial: a field pressed in part view is judged by its full height, not its response rect clipped to the view 2026-11-17 01:06:13 +00:00
aiongg 0ea70922fb Merge branch 'red/t6e' into fw/mac1 2026-11-17 01:05:29 +00:00
aiongg 8f46d3c69a Merge branch 'red/t45e' into fw/mac1
# Conflicts:
#	crates/ui-contract/src/runtime/focus/nav.rs
#	crates/ui-widgets/tests/it/body/scroll.rs
2026-11-17 01:05:29 +00:00
aiongg a29bbbd6a4 Merge branch 'red/t23e' into fw/mac1
One shift-lock opt-in: OutlineDraft::locking_shift_drags (t7d) carries t23e's rule that a Mixed draft which doesn't lock keeps the pointer's path under shift.
2026-11-17 01:05:14 +00:00
aiongg 24104464da Merge branch 'red/t1e' into fw/mac1 2026-11-17 01:04:26 +00:00
aiongg 6f82230954 Merge branch 'red/lage' into fw/mac1 2026-11-17 01:04:26 +00:00
aiongg d6e9997261 rustfmt the crates round D changed 2026-11-17 01:02:42 +00:00
aiongg e59501c290 Wheel: a popup the pointer is over, opened above the focused field's layer, takes the wheel by position; the field's share applies elsewhere (WheelFocus::over_popup from focus::popup_above_focus, shared with press focus) 2026-11-17 00:42:31 +00:00
aiongg fc22fcc030 Paint chip: the Solid tab's swatch list takes its content height up to five small control heights, then scrolls
In the content-sized popover the swatch browser filled the popover's whole room, as the gradient
palette did in the Gradient tab.
2026-11-17 00:40:21 +00:00
aiongg ffebe34d7a Font picker: a preview is a per-pass Preview change, not a value proposal, so a typed query keeps its draft and list while a row previews; a click on the closed field opens the list and selects the name (Cx::select_all_text, TextOutcome::clicked); the text controls forward the change 2026-11-17 00:36:24 +00:00
aiongg 98477eec5c Gradient palette: the presets take their content height up to five small control heights, then scroll
In a content-sized popover (the paint chip's Gradient tab) the palette's preset browser filled the
popover's whole room, so the gradient options under it (Reverse, Dither, Align) fell below the
window. The old palette scrolled past five small control heights, as PhotoCraft's 120 px preset
list does; the browser's room_height gives that bound.
2026-11-17 00:34:27 +00:00
aiongg 91e954f1cc Pasteboard: the surround between artboards paints over the pictures
Between artboards the pasteboard hides the document, cut around the uncovered
rects (loose layers), as production draws it over the picture; the surround of
plain pages stays in the canvas's picture slot, under pictures that reach past
the page. Pages marked active or inactive are artboards.

Trial: the picture shows on each board and on a loose layer, and the pasteboard
covers it between the boards.
2026-11-17 00:30:06 +00:00
aiongg 2c7ce20114 Empty-part cursor: copy the part result before the cursor call 2026-11-17 00:29:18 +00:00
aiongg 78ac1558e1 Focus record keeps what moved focus (press or key/request); a dialog host opened in a pass takes that pass's Escape 2026-11-17 00:28:28 +00:00
aiongg 15bb4ca227 Pasteboard: the surround and the pages' shadows and fills paint in the canvas's picture slot, under the pictures
A picture shown under the canvas controls paints in the canvas's picture slot,
which lies under every control of the body; the pasteboard, shown first in the
body, painted in place over it, so each page's drop shadow (surface.shadow's
alpha) dimmed the picture and a page fill hid it. The pasteboard's surround and
what lies under the pages move into the slot ahead of the pictures; the page
edges and names stay in place, over them.

Trial: a picture in the canvas slot shows its own colour over the pasteboard.
2026-11-17 00:27:52 +00:00
aiongg cebb673c91 Outline draft: a shift freehand drag locks one line only where the tool asks (the Freeform Pen); the selection Lasso keeps the pointer's path 2026-11-17 00:25:38 +00:00
aiongg f4656014b0 A press that moves focus asks for no reveal: the stop under the pointer is focused where it lies, and only focus requests and Tab or arrow moves scroll a stop into view (a crop frame overhanging its canvas panned the view under the press); trial a_pressed_field_in_part_view_stays_put_and_tab_to_it_reveals_it 2026-11-17 00:24:10 +00:00
aiongg 4d600ed6da Transform box: arrows move the whole box unless the keyboard picked a part 2026-11-17 00:22:35 +00:00
aiongg 8a30a026fe The anchor tools' empty-canvas part shows the tool's off-path cursor 2026-11-17 00:21:36 +00:00
aiongg db0a73dd8c Merge branch 'red/t4dd' into fw/mac1 2026-11-17 00:21:03 +00:00
aiongg 87e7f6085f Merge branch 'red/t12d' into fw/mac1 2026-11-17 00:21:03 +00:00
aiongg 67929599e9 Merge branch 'red/t11d' into fw/mac1 2026-11-17 00:21:02 +00:00
aiongg deeb063378 Merge branch 'red/t10d' into fw/mac1 2026-11-17 00:21:02 +00:00
aiongg 11ac3e6c4b Merge branch 'red/t9d' into fw/mac1 2026-11-17 00:21:02 +00:00
aiongg 9dd2f2ab83 Merge branch 'red/t8d' into fw/mac1 2026-11-17 00:21:02 +00:00
aiongg 47362cc1d6 Merge branch 'red/t7d' into fw/mac1 2026-11-17 00:21:02 +00:00
aiongg 959927e686 rustfmt the crates round C changed 2026-11-17 00:18:07 +00:00
aiongg 1386c169b8 A press that moves focus asks for no reveal: the stop under the pointer is focused where it lies, and only focus requests and Tab or arrow moves scroll a stop into view (a crop frame overhanging its canvas panned the view under the press); trial a_pressed_field_in_part_view_stays_put_and_tab_to_it_reveals_it 2026-11-16 23:48:40 +00:00
aiongg 442f0df3e1 rustfmt 2026-11-16 23:44:57 +00:00
aiongg 3806fdbe8a Trial: an optional number row is held to its bounds and remembers its value while off 2026-11-16 23:43:41 +00:00
aiongg b49daffe12 Camera Raw workspace: a held OK files its answer for the app (OK and Done); trial 2026-11-16 23:43:10 +00:00
aiongg 4ebf340fb5 Hosted Image Size and Canvas Size can hold their OK for the host, as the hosted parameter dialog does; a hosted parameter dialog can start holding its OK once open 2026-11-16 23:42:54 +00:00