Commit Graph
4900 Commits
Author SHA1 Message Date
aiongg 4c1e445022 Merge branch 'fw276/dock' into fw276/check 2026-11-17 05:12:31 +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
aiongg 33b48b72a7 Every Label node reads its words by value as well as its name, by one rule in the node writer; the label scope's patch only makes a hidden label's node, and a short caption is named by its full words 2026-11-17 04:25:09 +00:00
aiongg 7b0a7bf023 Merge branch 'fw/popover' into fw/mac1 2026-11-17 04:23:11 +00:00
aiongg ad16e443c5 DIAG: a secondary press's winner in arenas with members, and the canvas host's momentary tool and background phase 2026-11-17 04:22:54 +00:00
aiongg 82610cb78b Checkerboard trial: documents whose corners land on whole points 2026-11-17 04:20:53 +00:00
aiongg 66072b3643 Replay notes come only from the thread that runs the pass: a job thread's wake or progress report no longer takes the pass state 2026-11-17 04:20:20 +00:00
aiongg 860e108d52 A row notice in an unbounded room keeps its natural width (DIAG: notice rooms and the Content-Aware Fill body rect) 2026-11-17 04:17:32 +00:00
aiongg 5c50580db9 Sensing: a press past the root's clip (automation's) is taken by a part that shows inside the clip, never by one the clip hides wholly; suite drives skip wholly hidden parts of a canvas control (the clip of its arena), and the corner widgets' drive grips a widget the fixture shows 2026-11-17 04:15:51 +00:00
aiongg a4d5004009 Dock: a floating window keeps the edge its collapsed strip was dropped near; icons float collapsed under the pointer; top grips keep the bottom edge; a column that cannot collapse offers no collapse 2026-11-17 04:15:48 +00:00
aiongg d8a6478210 The checkerboard's light cell sits at the picture's top-left corner on screen, wherever the view puts it 2026-11-17 04:11:45 +00:00
aiongg 375a29d480 A dialog opened in a pass takes that pass's Escape wherever it was routed, also after the opening press moved focus 2026-11-17 04:09:47 +00:00
aiongg c481e1c1fd The freehand Lasso follows every move from its press, so a lasso drawn inside the click distance selects 2026-11-17 04:06:12 +00:00
aiongg 759abc01ab The Magnetic Lasso closes within 8 screen points of its first point, so a click where the outline began closes it 2026-11-17 04:04:56 +00:00
aiongg 2f35c5be59 Dock UI: a stepped column's double arrow is named for the steps it switches to; a floating stepped window's left grip keeps its right edge 2026-11-17 04:03:22 +00:00
aiongg 73cf8de8f6 Pages: pages that take turns in one place at the size of the largest
A hidden page is measured only: a measuring run inside an invisible sizing
child, so it senses, registers and paints nothing. It reuses the size its
last measuring run found while nothing it read changed, under the settled
rules a measure reads (no input other than pointer motion, no edit of a value
it read, nothing moving, no app repaint): the measuring run opens the same
run record replay::open/close keeps for settling regions, and lazy keeps its
facts with the size. A reused page notes its reads again, so an edit of one
later in the pass reruns the pass.

PaintChip shows its paint kinds through Pages: its popover keeps the size of
its largest page, so a tab switch moves and resizes nothing.
2026-11-17 03:58:47 +00:00
aiongg 83e5cee596 Dock sizes: fixed() takes the column by reference 2026-11-17 03:54:49 +00:00
aiongg db1020b203 Trial: the guides list borrow lives for the whole run (deleted-guide focus trial) 2026-11-17 03:52:49 +00:00
aiongg 2997c6c91b API map: WindowMenuRows flyout, Flyout side 2026-11-17 03:52:13 +00:00
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 f66d2fcc54 Popup bodies keep no scroll of their own: their lists scroll themselves 2026-11-17 03:49:58 +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 fac70bfc88 Popup bodies are content-sized layer containers placed by this pass's measure
OverlayUi::show shows its body closure through the container pipeline: a
private content-sized layer container (popup surface, POPUP_PAD, no node of
its own). Step 5 measures the body before the host places the layer, so a
popup whose content changes is placed by its new size in the pass that shows
it, and a filling child takes the width the popup settles on.

The popup keeps its owner key: ContainerProps::owner (crate-private) makes
the container's memory, presence and layer bookkeeping belong to the
component that shows the popup (or the opener its overlay names), so body
memory lasts across a close and KeepAnchor focus return finds the anchor.

The host places a measured layer by at least its least width. The layer's
least width at its anchor reaches a content-sized collection through the
LayerFloor env value the layer container gives its regions in both runs,
replacing the least width the layer memory carried from the last pass.
2026-11-17 03:49:21 +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 0c7c49d1aa AccessKit Scroll Into View and the scroll actions move no focus 2026-11-17 03:33:21 +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 d2d274e936 The wheel steps a select one entry per line, with its list open too, and its run commits when the wheel stops 2026-11-17 03:21:42 +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 6eb0fa8cde Focus: a removed stop hands focus to its neighbour as a removal, not an arrival by key, so a deleted guide (or stop, pin, anchor) selects no neighbour 2026-11-17 03:09:37 +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 2970ef8cc0 Access nodes: a collection's redirect of a row's node is journaled, so a settled dock panel's replay keeps the row's node with the collection and an access Focus on a Layers row focuses the rows 2026-11-17 03:07:07 +00:00
aiongg c1cb2df8eb Canvas Space under a dialog: Space over the canvas a dialog keeps open fires the canvas's momentary command and types nothing while a field in the dialog has focus (no hold, no typing rule for the canvas's press) 2026-11-17 03:05:28 +00:00
aiongg 2451f38b04 Suite pointer drives press the visible piece of a part (part ∩ the root's clip), so a part past the window's edge is pressed where it can be seen (Fixture::visible) 2026-11-17 02:57:35 +00:00
aiongg d8ac0f4a3b Trial: a Layers row's access focus action puts key focus in the rows with the access focus on the row 2026-11-17 02:39:48 +00:00
aiongg ccfaccda45 Sensing: a press egui names no target for starts only inside the root's clip, so a handle past the window's edge is not pressed 2026-11-17 02:39:48 +00:00
aiongg 9db1bef17f Value gestures: a host that keeps a number in f32 echoes the proposal rounded to it; Slider, SliderField, AngleDial and TransformBox read that echo as their own value (craft_behavior::same_in_f32), so a live drag runs on as one gesture 2026-11-17 02:39:48 +00:00
aiongg 86f966d470 Wheel: over the canvas a modal dialog keeps open the wheel goes by position, as over a popup above the focused field (WheelFocus::by_position) 2026-11-17 02:39:48 +00:00
aiongg 877eebf462 Momentary Zoom: the held keys choose its direction, Alt included, so Alt flips only the selected Zoom tool (Alt+Space zooms out) 2026-11-17 02:39:48 +00:00
aiongg 925810d521 Open menu keys: a menu keeps only Escape, Enter and the arrows; its rows' mnemonic letters are its level's claims while focus is in it, so any other key (a tool key) reaches the app's shortcuts (Fixture::type_key sends a key with its text) 2026-11-17 02:39:48 +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