Commit Graph
449 Commits
Author SHA1 Message Date
aiongg 290415fd4f Merge storytold next into rc-dock-drag 2026-11-24 13:26:57 +00:00
bflatastic 2157b8afc8 Merge remote-tracking branch 'origin/next' into fix/vc-highlights-a 2026-11-24 20:00:44 +07:00
bflatastic 34e96f9325 ui-panels footer: DialogButtonLook::Filled shows Cancel, Other, Alternate and Alternative as the filled neutral button (buttons::FILLED, now public: surface.control with no edge, state.hover under the pointer) beside the accented answer. Footer story and trial under Filled 2026-11-24 19:38:28 +07:00
bflatastic 6ea1ea73b1 ui-contract, sections: SectionRhythm, an env value an app sets once at its root. Under Spaced a header ruled above (a Section) stands its rule space.gap.section off what precedes it in its Stack, in place of the stack's gap (no room at its flow's start), and its header space.gap.row below the rule; Tight, the default, keeps the stack's gap and the header right under the rule. The Stack's gap reaches its direct children through the env. Story section_rhythm shows both. 2026-11-24 18:52:16 +07:00
bflatastic 06e94d7321 tabs, dock: PanelTabLook::Pill shows a panel strip's shown tab on a filled rounded pill (surface.control, shape.radius.control, size.control.sm high in the middle of the strip; a hovered tab shows it too); TabStrip::panel_look and DockConfig::tab_look choose it, Plain by default 2026-11-24 17:59:45 +07:00
bflatastic 2eb195b889 ui-panels, dock area: DockConfig::column_cards (was rail_cards) shows every docked column as a card, expanded or collapsed to icons: surface.panel with shape.radius.surface corners on the dock's background, inset by space.gap.stack on top, bottom and at the window edge, and space.gap.tight between neighbouring cards; each column wider by its inset so its content keeps its width; group dividers stay inside the card; container surfaces keep to their layer's frame 2026-11-24 17:45:08 +07:00
bflatastic 6e727dc6c6 Merge remote-tracking branch 'origin/next' into fix/vc-chrome-bars
# Conflicts:
#	crates/ui-widgets/src/buttons/mod.rs
2026-11-24 15:31:24 +07:00
bflatastic faf5a954e4 ui-panels, dock area: DockConfig::rail_cards shows a docked tool rail's column as a card: inset by space.gap.stack on its outer, top and bottom sides over the dock's background, surface.panel with shape.radius.surface corners and no frame, the column wider by the inset so its steps stay 2026-11-24 15:24:08 +07:00
bflatastic 0e41edc671 Merge remote-tracking branch 'origin/next' into fix/vc-chips-headers 2026-11-24 14:31:44 +07:00
bflatastic d3b03c1b44 ui-contract: a command a key, a native menu pick or the palette runs no longer closes a layer whose Dismiss::commands is off; a dock panel's flyout turns it off, so the command no longer closes and reopens it and a focused list in it keeps the focus 2026-11-24 13:30:24 +07:00
bflatastic d0e1ca86fa docking: DockConfig::panel_menu_icon picks the panel menu button's icon, more by default 2026-11-24 13:14:08 +07:00
bflatastic 6080b3950c sections: HeaderStrength::Quiet, the caption role in the muted ink with no rule, for an inspector's kind line 2026-11-24 13:14:05 +07:00
bflatastic bb06692b13 ui-widgets, ui-panels: ActiveLook::Pressed shows an icon button that is on in the pressed fill with no accent edge; ToolRail::active_look gives it to the rail's buttons 2026-11-24 12:57:45 +07:00
bflatastic 95c1456826 ui-panels: a dense tool rail step: RailDensity::Dense packs the rail's buttons a control high, and DockGrid::density sizes the rail's column with them 2026-11-24 12:57:26 +07:00
bflatastic fe138f934f docking: DockConfig::panel_menu_always gives every group its panel menu button 2026-11-24 12:35:00 +07:00
bflatastic c71c3025ce sections: HeaderStrength::Subheading, label text in the normal ink with no rule 2026-11-24 12:18:40 +07:00
aiongg 48936610c5 arrange: Tile All tiles docked cells in the document area
Tile All Vertically and Horizontally dock every document first and give each its own cell, as Tile does, instead of floating every document into its own window.
2026-11-24 04:07:24 +00:00
aiongg cfca45a97b docking: a tab drag names its panel inside the drop region, and a tab join marks the group as shown
A collection picks its row drag preview with one named option, RowPreview (Badge, Named, None), in place of the drag_badge flag. A dock tab strip takes Named, so a tab drag shows the panel's name inside the region a drop takes, as group, column and icon drags do, with no badge by the pointer.

A tab join marks the group under the pointer at its current size, with the tab line, as production did; other drops keep the rect the panels take once dropped.
2026-11-24 04:07:24 +00:00
Dylan M. Taylor b138b533fe Merge remote-tracking branch 'upstream/next' into pr-2809-merge
# Conflicts:
#	crates/automation/Cargo.toml
#	crates/automation/src/access.rs
#	crates/automation/src/synthetic.rs
#	crates/automation/tests/it/access.rs
#	crates/automation/tests/it/synthetic.rs
#	crates/behavior/src/codec.rs
#	crates/behavior/src/edit_history.rs
#	crates/behavior/src/lib.rs
#	crates/behavior/src/wheel.rs
#	crates/color-ui/src/ui/paint_chip.rs
#	crates/color-ui/src/ui/pair.rs
#	crates/color-ui/src/ui/palette.rs
#	crates/color-ui/src/ui/palette/stories.rs
#	crates/dialogs/src/service.rs
#	crates/draw/src/ui/transform/transform_box.rs
#	crates/draw/src/ui/transform/transform_box/stories.rs
#	crates/draw/tests/it/transform_box.rs
#	crates/font-manager/src/glyphs.rs
#	crates/font-manager/src/picker.rs
#	crates/font-manager/src/picker/rank.rs
#	crates/font-manager/src/picker/rows.rs
#	crates/font-manager/src/picker/stories.rs
#	crates/font-manager/tests/it/picker.rs
#	crates/host/src/lib.rs
#	crates/menu/src/context.rs
#	crates/menu/src/mac.rs
#	crates/menu/src/model.rs
#	crates/pages/src/ui/view.rs
#	crates/platform/README.md
#	crates/platform/src/browser_files.rs
#	crates/print/src/ui/dialog.rs
#	crates/print/src/ui/mod.rs
#	crates/print/src/ui/panel.rs
#	crates/print/src/ui/stories.rs
#	crates/print/tests/it/dialog.rs
#	crates/text/src/ui/character.rs
#	crates/text/src/ui/character/rows.rs
#	crates/text/src/ui/editor.rs
#	crates/text/tests/it/editor.rs
#	crates/text/tests/it/main.rs
#	crates/ui-canvas/src/canvas/mod.rs
#	crates/ui-canvas/src/canvas/split/stories.rs
#	crates/ui-canvas/src/canvas/tool_host.rs
#	crates/ui-canvas/src/canvas_controls/outline/mod.rs
#	crates/ui-canvas/src/canvas_controls/task_bar.rs
#	crates/ui-canvas/src/canvas_controls/task_bar/stories.rs
#	crates/ui-canvas/tests/it/canvas/navigate.rs
#	crates/ui-canvas/tests/it/canvas/tool_keys.rs
#	crates/ui-canvas/tests/it/canvas_controls/task_bar.rs
#	crates/ui-contract/src/contract/collection/props.rs
#	crates/ui-contract/src/contract/cx/pointer.rs
#	crates/ui-contract/src/contract/items/access.rs
#	crates/ui-contract/src/contract/items/drag.rs
#	crates/ui-contract/src/contract/items/lead.rs
#	crates/ui-contract/src/contract/label.rs
#	crates/ui-contract/src/contract/mod.rs
#	crates/ui-contract/src/contract/run.rs
#	crates/ui-contract/src/contract/steps/report.rs
#	crates/ui-contract/src/contract/steps/update.rs
#	crates/ui-contract/src/primitives/mod.rs
#	crates/ui-contract/src/primitives/sensing.rs
#	crates/ui-contract/src/primitives/text_adapter.rs
#	crates/ui-contract/src/primitives/text_input.rs
#	crates/ui-contract/src/runtime/access/emit.rs
#	crates/ui-contract/src/runtime/access/text.rs
#	crates/ui-contract/src/runtime/commands/board.rs
#	crates/ui-contract/src/runtime/commands/mod.rs
#	crates/ui-contract/src/runtime/drag.rs
#	crates/ui-contract/src/runtime/egui/access.rs
#	crates/ui-contract/src/runtime/egui/access/tree.rs
#	crates/ui-contract/src/runtime/egui/input.rs
#	crates/ui-contract/src/runtime/env.rs
#	crates/ui-contract/src/runtime/focus/nav.rs
#	crates/ui-contract/src/runtime/frame.rs
#	crates/ui-contract/src/runtime/keys.rs
#	crates/ui-contract/src/runtime/keys/claims.rs
#	crates/ui-contract/src/runtime/keys/input.rs
#	crates/ui-contract/src/runtime/keys/route.rs
#	crates/ui-contract/src/runtime/pointer.rs
#	crates/ui-contract/src/runtime/windows.rs
#	crates/ui-contract/src/testing/fixture.rs
#	crates/ui-contract/src/testing/host_key_trials.rs
#	crates/ui-contract/tests/it/collection/rows.rs
#	crates/ui-contract/tests/it/drag/mod.rs
#	crates/ui-contract/tests/it/runtime/wheel.rs
#	crates/ui-macros/src/props.rs
#	crates/ui-panels/src/dialog/mod.rs
#	crates/ui-panels/src/dialog/prompts.rs
#	crates/ui-panels/src/dialog/recovery.rs
#	crates/ui-panels/src/dialog/trials.rs
#	crates/ui-panels/src/dialog/words.rs
#	crates/ui-panels/src/rails/drawer.rs
#	crates/ui-panels/src/rails/drawer/stories.rs
#	crates/ui-panels/src/rails/tool/trials.rs
#	crates/ui-panels/src/sections/footer.rs
#	crates/ui-panels/tests/it/rails/drawer.rs
#	crates/ui-patterns/src/patterns/dock/area.rs
#	crates/ui-patterns/src/patterns/form_dialogs/about.rs
#	crates/ui-patterns/src/patterns/form_dialogs/dialog.rs
#	crates/ui-patterns/src/patterns/form_dialogs/dialog/stories.rs
#	crates/ui-patterns/src/patterns/form_dialogs/host_requests.rs
#	crates/ui-patterns/src/patterns/form_dialogs/mod.rs
#	crates/ui-patterns/src/patterns/form_dialogs/param.rs
#	crates/ui-patterns/src/patterns/form_dialogs/properties.rs
#	crates/ui-patterns/src/patterns/form_dialogs/properties/stories.rs
#	crates/ui-patterns/src/patterns/form_dialogs/rows.rs
#	crates/ui-patterns/src/patterns/form_dialogs/rows/stories.rs
#	crates/ui-patterns/src/patterns/panels/history.rs
#	crates/ui-patterns/src/patterns/preferences/document/model.rs
#	crates/ui-patterns/src/patterns/preferences/model.rs
#	crates/ui-patterns/src/patterns/preferences/page.rs
#	crates/ui-patterns/src/patterns/preferences/rows.rs
#	crates/ui-patterns/src/patterns/preferences/window.rs
#	crates/ui-patterns/src/patterns/preferences/window/stories.rs
#	crates/ui-patterns/src/patterns/presets/browser.rs
#	crates/ui-patterns/tests/it/docking/group_view.rs
#	crates/ui-patterns/tests/it/form_dialogs/dialog.rs
#	crates/ui-patterns/tests/it/form_dialogs/params.rs
#	crates/ui-patterns/tests/it/preferences/model.rs
#	crates/ui-shell/src/shell/start.rs
#	crates/ui-shell/src/shell/start/stories.rs
#	crates/ui-widgets/src/buttons/icon_button.rs
#	crates/ui-widgets/src/buttons/mod.rs
#	crates/ui-widgets/src/buttons/stories.rs
#	crates/ui-widgets/src/choice/swatch.rs
#	crates/ui-widgets/src/choice/swatch_table.rs
#	crates/ui-widgets/src/display/text.rs
#	crates/ui-widgets/src/form/slider_field.rs
#	crates/ui-widgets/src/layout_components/mod.rs
#	crates/ui-widgets/src/list/mod.rs
#	crates/ui-widgets/src/list/row/paint.rs
#	crates/ui-widgets/src/list/row/show.rs
#	crates/ui-widgets/src/list/stories.rs
#	crates/ui-widgets/src/list/view.rs
#	crates/ui-widgets/src/list/view_stories.rs
#	crates/ui-widgets/src/menu/mod.rs
#	crates/ui-widgets/src/menu/stories.rs
#	crates/ui-widgets/src/pickers/select.rs
#	crates/ui-widgets/src/tabs/document.rs
#	crates/ui-widgets/src/text/number.rs
#	crates/ui-widgets/src/text/zoom_field.rs
#	crates/ui-widgets/src/tile_grid/grid.rs
#	crates/ui-widgets/src/tile_grid/grid/stories.rs
#	crates/ui-widgets/src/tile_grid/mod.rs
#	crates/ui-widgets/tests/it/label/tooltip.rs
#	crates/ui-widgets/tests/it/popover/popup.rs
#	crates/ui-widgets/tests/it/tabs.rs
#	crates/ui-widgets/tests/it/text/mod.rs
#	crates/ui-widgets/tests/it/text/number.rs
#	crates/ui-widgets/tests/it/tile_grid/grid.rs
#	crates/window/Cargo.toml
#	docs/components-index.md
#	docs/porting.md
2026-11-23 19:01:32 -05:00
Dylan M. TaylorandClaude 7c0ae3e639 fw sync: merge craft-libs next e3ca63165 (149 commits) into pdf-port/sync
Conflicts resolved (upstream's design and defaults win; the port's opt-ins stay):
- ui-contract fonts: upstream's served-faces provider, catalog job queue and byte budget;
  the port's FaceBytes::chain (Word subset siblings, F-8) re-done on the provider: a served
  face lists its served chain faces before the interface faces, a sibling landing after its
  owner remakes egui's fonts once, drawing a face marks its chain drawn. The port's chain
  trial moves onto upstream's rig, plus a late-sibling trial.
- text editor HostCx follows FacesCx's job-based document_face and document_face_bytes.
- ui-widgets Swatch: upstream's SwatchFill (split, spectrum, image, empty) with the port's
  Swatch::optional / SwatchFace::optional (new SwatchFill::None, the "no colour" diagonal)
  and Swatch::icon (glyph on the empty well) on top; both word sets kept.
- draw PaintBar: upstream's MixerLoad fill.
- font-manager: upstream's sample band; host rows (port) use it too.
- ui-panels / ui-patterns dock grips: upstream's drag_origin and named slack.
- platform clipboard tests: both trials kept.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-23 12:54:08 -05:00
Dylan M. TaylorandClaude e93d468b76 fw sync: floating window bodies keep to the window's rounded corners (frame_surfaces, FloatingGroup::rounded_body, DockConfig::floating_rounded_body); CaptionColumn env value for inline forms
Trial a_rounded_window_body_keeps_its_surfaces_inside_the_rounded_corners (ui-patterns docking/floating_rail.rs).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-23 12:24:54 -05:00
bflatastic b991e3f9c0 ui-panels: a footer's armed buttons wait again for a host's next dialog shown in the same place with the same ids (overlay::running_dialog): a question put in place of another between two frames took the click the one before had armed 2026-11-23 21:26:09 +07:00
Dylan M. Taylor 15e8ac8058 fw sync: a dialog can keep a field's typing on Escape (FocusPolicy::escape_keeps_typing, Dialog::escape_keeps_typing, PreferencesWindow::escape_keeps_typing)
Upstream's one Escape in a modal dialog cancels the focused field's typing with the dialog. A Live
Preferences window applies each row as it changes, so that Escape wrote the start value back and
Live mode applied it: PdfCraft's Preferences lost what was typed. The new opt-in (off by default,
upstream's rule kept) commits the draft as leaving the field does and lets the dialog close.
Trials: preferences::live::escape_cancels_a_live_windows_typing_by_default,
escape_keeps_a_live_windows_typing_when_asked.
2026-11-23 07:43:54 -05:00
bflatastic 34d7846cd3 ui-panels: a docking flyout closes on a press outside it only with Auto-Collapse Iconic Panels on 2026-11-23 17:11:24 +07:00
bflatastic 08ada730d3 ui-panels: an edited tool rail takes the drops off its buttons: beside the nearest button, and on a blank toolbar as its last slot 2026-11-23 17:11:22 +07:00
Dylan M. Taylor 32fae648a6 Merge branch 'pdf-port/sync-beh1' into pdf-port/sync-int 2026-11-23 02:57:51 -05:00
Dylan M. Taylor 3b78a10197 Merge branch 'pdf-port/sync-optin' into pdf-port/sync-int
# Conflicts:
#	crates/pages/src/ui/view/pictures.rs
#	crates/review/src/ui/comments.rs
#	crates/review/src/ui/comments/row.rs
2026-11-23 02:57:51 -05:00
Dylan M. Taylor 85659945c3 fw sync: L-323: StandardPrompt::alternate_role (production's order), DialogButtonLook::Quiet (ghost Cancel and Don't Save), StartScreen::heading_sections and pinned_first, ToolbarDrawer::grouped_tools_drag opt-in; tab marks resolve outside the memoized tab row and join its key; a grip floating window keeps no title-rule band 2026-11-23 02:57:02 -05:00
Dylan M. Taylor 33d7e8d65e fw sync: unsaved question long-text trial finds the question as an alert dialog
Upstream made the unsaved question Role::ALERT_DIALOG; the port trial looked it up as
Role::DIALOG. Only the lookup changes; the check that the text stays inside stands.
2026-11-23 02:42:51 -05:00
Dylan M. Taylor 6a89835982 fw sync: design lint clean (107 findings to 0): non_exhaustive or closed list, #[prop] setters, layer imports moved down (begin hook, line-break chord, scroll move targets), session memory, story consts, marker exceptions with reasons 2026-11-23 02:10:46 -05:00
bflatastic 9afb1ebf55 ui-panels: the grip trial reads GroupGripOutput::drag_started as the bool next's grip reports 2026-11-23 14:06:14 +07:00
bflatastic 0a4d309686 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	Cargo.toml
#	crates/font-manager/src/picker/rank.rs
#	crates/font-manager/src/picker/rows.rs
#	crates/ui-panels/src/docking/group.rs
#	crates/ui-panels/src/docking/iconic/trials.rs
#	crates/ui-patterns/src/patterns/dock/area.rs
#	crates/ui-widgets/src/choice/mod.rs
#	crates/ui-widgets/src/choice/swatch.rs
#	crates/ui-widgets/src/choice/swatch/stories.rs
#	docs/contract-api.md
2026-11-23 13:53:35 +07:00
bflatastic cbf17f41b9 ui-panels: the rail's locate trial is reached by a module, against the rail's Tracked slots and its reveal and mark props 2026-11-23 13:20:49 +07:00
Dylan M. Taylor 975ccce6c8 fw sync: ui-panels compiles: one Dialog::least_width (the container prop), story commands on CommandStates, tracked rail slots in a trial 2026-11-22 23:24:47 -05:00
bflatastic 47d6a3e095 ui-panels: a tool rail inside an arena (a dock) reports its Edit Toolbar button: the grid's run sends the button's response, and a replay reads it back through contract::response_of, which also knows arena members 2026-11-23 11:21:29 +07:00
bflatastic 1385f0ff3d ui-contract: a held Escape cancels once: its repeats raise no Cancel, focused or not 2026-11-23 11:21:26 +07:00
Dylan M. Taylor 58f35e8ec0 fw-panels-shell: resolve the sync of origin/next into the port's ui-panels and ui-shell files
Dialog: upstream's ButtonPlace replaces the port's side flag; the port's title note, title icon and close-unchanged stay.
Footer roles: upstream's Alternate and the port's Alternative are both kept, with one rank table.
Unsaved question: upstream's alert role, Alternate role and failure reason, with the port's wording options.
Docking: the port's group footer, titled header, tab marks and counts and caption go into upstream's memoized tab row;
the port's footer, rail footer and content hooks stay on DockPanels beside upstream's PanelSpecs; iconic rail mode on
upstream's bar; floating grip on upstream's chrome sizes. Tool rail edit icon in the memoized grid.
Start screen: upstream's Home and Greeting layouts, picture shape and recent_list split, with the port's pinned
folder listing, host sections, offers_new/offers_open, pinned title and section headings.
Tests: both sides' trials kept; port trials moved to Titles, Registry and the props-keyed CommandGate.
2026-11-22 23:04:30 -05:00
bflatastic 2c718b583b ui-panels: trial: a drag from a collapsible section's title moves it in a section stack, through a header menu and a drop slot, and a click there still folds it 2026-11-23 10:49:22 +07:00
Dylan M. Taylor cb3101725c sync skeleton: origin/next 118f1d2ff9 into pdf-port/gaps ea77c1676f, markers left
257 conflicted files staged with their conflict markers (630 hunks). The one
modify/delete, crates/ui-patterns/src/patterns/preferences/body.rs (deleted
upstream, modified by the port), keeps the port's file for its area to carry
into upstream's preferences/page.rs. Plan: landing/fw-sync-plan.md.
2026-11-22 22:42:09 -05:00
aiongg 6a1d13c762 ui-panels: the grip trials compare within a named slack (design-lint test/literal-size) 2026-11-23 03:23:17 +00:00
bflatastic 42d6487d9a ui-panels: a prompt with no default answer opens with no button focused, so Enter answers nothing 2026-11-23 10:11:22 +07:00
aiongg cee746e97c ui-panels: rustfmt the grip's drag-start condition 2026-11-23 02:33:25 +00:00
aiongg b634808ce4 Dock grips on next pass design-lint; the facade table lists main's new crate features
The rail grip takes the press that started its drag from GroupGrip's own
press (GroupGripOutput::drag_origin) instead of reading egui's pointer
state. The grip trials compare with GRIP_ABOVE and the theme's grip
shape instead of literal sizes. crates/craft/Cargo.toml [features] is
regenerated from the member manifests (exr, media-source and tiff
features from main; android-res in order).
2026-11-23 02:30:29 +00:00
Dylan M. Taylor 4a0cbec2c3 ToolRail::edit_icon: the Edit Toolbar button takes the app's icon (trial) 2026-11-22 20:51:18 -05:00
Dylan M. Taylor a69b2ca3ea DocumentTabs: the trailing control ends at the visible edge of its row when the bar leaves less than the row's width (fixes Open under Discord; trial) 2026-11-22 20:37:39 -05:00
Dylan M. Taylor 9f42cd9b81 FloatingGroup::grip / DockConfig::floating_grip: a quick-action strip's title row is a bare grip (trial) 2026-11-22 20:09:56 -05:00
bflatastic 0e9af5befe Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/ui-panels/src/docking/group.rs
2026-11-23 08:00:44 +07:00
Dylan M. Taylor 1d93a47088 dialog::set_close_button: an app takes the close x off every dialog's title row (trial) 2026-11-22 19:58:51 -05:00
Dylan M. Taylor e0bbb110d6 HeaderStrength::Overline: a small capitals group name; the print dialog's section names use it (trial; print test premise updated to the capitals) 2026-11-22 19:18:44 -05:00
Dylan M. Taylor bde3742fdb StartScreen: offers_open(false) leaves Open out, section headings are page headings with no rule, Pin Folder is ghost, a pinned folder's Unpin is text (trial) 2026-11-22 18:34:36 -05:00