Commit Graph
189 Commits
Author SHA1 Message Date
Martin Ball 59d39a2049 fu-dialogs: app batch 1 rulings (S-L285, S-L289, S-L301, S-L310, S-L312)
FormCx::accept files or closes as the OK press; FormButtons::Close leaves out OK;
ListManager::name_box binds the name box; FindReplaceDialog::show_tab and
set_go_to_kinds, and options() opens Search Options; ParagraphFormat::contextual_spacing.
2026-11-18 22:43:21 +00:00
Martin Ball a2da454b55 dialogs: drop the owed take_child_erased (dialogs-w1 wrote DialogHost's child opening) 2026-11-18 18:19:32 +00:00
Martin Ball a0b445d944 dialogs-w1: net change of 3 commits
- dialogs-w1: finished by an agent
- dialogs-w1: finished by an agent
- dialogs-w1: review fixes (review-1)
2026-11-18 18:18:25 +00:00
Martin Ball 4f37976c25 platform-w4: net change of 4 commits
- platform-w4: written from its sheet
- platform-w4: repair 1
- platform-w4: review fixes (review-1)
- platform-w4: review fixes (review-1b)
2026-11-18 17:25:03 +00:00
Martin Ball f4f3dfbc1d rc-chrome-w4: red round 2 fix (chrome-run-2-fw) 2026-11-18 16:36:07 +00:00
Martin Ball e62b11b944 owed by dialogs-w1: DialogHost::run opens a dialog take_child as its child (S-L156) 2026-11-18 12:40:08 +00:00
Martin Ball 37692031c0 shell-w3: net change of 2 commits
- shell-w3: written from its sheet
- shell-w3: review fixes (review-1)
2026-11-18 12:20:27 +00:00
Martin Ball 99230749f8 Contract stubs: StackDialog::take_child and ChildDialog (S-L156) 2026-11-18 12:07:30 +00:00
Martin Ball 3981899044 Contract stubs: phase 4 refresh (decisions S-L141..S-L152, consistency contract changes) 2026-11-18 10:20:44 +00:00
Martin Ball 53e525ad78 Contract stubs: craft-ui-widgets craft-ui-panels 2026-11-18 08:15:57 +00:00
aiongg 7c04ac596a A tab strip takes the drop over a band except near the band's line
Over a tab strip an edge, seam, column-edge or new-dock band takes the drop only
within DockSizes::strip_reach (the least hit size) of its drop line, as
production's STRIP_REACH rule did; the rest of the strip joins its group. A
strip on the layout's top edge takes tab joins again.
2026-11-17 15:20:27 +00:00
aiongg 5909fadacf Dock placed rect: Node::Dock is non-exhaustive 2026-11-17 15:07:13 +00:00
aiongg a537a838d6 Merge branch 'fx/dropview' into fx/all-1117 2026-11-17 14:59:50 +00:00
aiongg ac43942a7e Dock: native::send_to, so it doesn't shadow placement::place 2026-11-17 14:59:50 +00:00
aiongg 320762cb1e Dock drops mark the region the moved panels take
A dock drop's mark is DropMark::Region: the rect the moved panels take once
dropped, laid out from the layout after the drop by the functions the dock
draws with (tree frames, column cells, column group rects) in the room the
dock registered, pruned as the area shows it. A tab join adds its tab line; a
reorder in the own strip marks the line only. The ghost painter washes the
region with the drop rule's colour under the shared band. Region replaces
DropMark::Split; a spot without a placed rect marks a line along its edge.
2026-11-17 14:48:48 +00:00
aiongg 76974ad2b4 Merge branch 'fx/float' into fx/all-1117
# Conflicts:
#	crates/ui-patterns/tests/it/docking/native.rs
2026-11-17 14:46:20 +00:00
aiongg 98a5dca470 Floating dock windows keep their size and place in OS windows
A collapsed native window records its expanded rect, so expanding it restores
its size; an open OS window always carries its maximum size, so a lifted strip
limit reaches the OS; a viewport is sized within its own limits; a dock opens
OS windows only where its mount would, so a float over a full-screen window is
an in-app window that moves; a native window's edge is measured and recorded
in app coordinates. The floating window's title row shows the double arrow and
Close; its menu opens from the band.
2026-11-17 14:42:12 +00:00
aiongg 8d9f0414b3 Cross-window drags read the desktop pointer; the app runs the stepped resize of a native dock window
A window a drag did not start in takes the desktop pointer while the drag runs, never the place it last saw the
pointer itself: the source window holds the pointer, and the window may have had no exit (a palette laid over it).

A floating dock window whose column has steps is sized by its caller in an OS window too (Resize::by_caller): the
OS window is not OS-resizable, the app runs its grips and reports each step, the dock turns the resize into whole
steps and sends the window their rect at once. The input hook's release of an OS resize applies only to windows
the OS may resize.
2026-11-17 14:39:42 +00:00
aiongg 57f959276b Collapsed dock columns draw their icons as the tool rail does 2026-11-17 12:47:06 +00:00
aiongg 2fc58c1ef7 ToolRail::show_column: the full-window workspaces' tool strips are one column wide 2026-11-17 08:31:27 +00:00
aiongg f4eb126da2 Merge branch 'fw/press-route' into k/stage
# Conflicts:
#	crates/ui-contract/src/runtime/commands/board.rs
2026-11-17 07:22:17 +00:00
aiongg aef9f695dd cargo fmt 2026-11-17 07:21:19 +00:00
aiongg b0810ed1f4 A full-window workspace reports the canvas it shows its image on (WorkspacePass::canvas); the dialog host names the canvas of the latest open dialog that has one (StackDialog::canvas, DialogHost::canvas), where an app's tool input in document points goes 2026-11-17 07:19:41 +00:00
aiongg 2b19a28742 Rail story: allow marker covers its width scope 2026-11-17 07:06:20 +00:00
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 c17f5d7e49 Merge branch 'look/align' into fw/mac1 2026-11-17 06:17:59 +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 f42157c78b Merge branch 'fw276/check' into fw/mac1 2026-11-17 05:25:39 +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 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 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 503e30e13a Merge branch 'fw276/rail' into fw276/check 2026-11-17 05:12:45 +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 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 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 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 6d972e35ed Rails: ToolRail lays out the columns its width holds with a measure and dock grid; PanelRail and the CanvasPanel rail removed 2026-11-17 03:59:55 +00:00
aiongg 83e5cee596 Dock sizes: fixed() takes the column by reference 2026-11-17 03:54:49 +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