aiongg
290415fd4f
Merge storytold next into rc-dock-drag
2026-11-24 13:26:57 +00:00
bflatastic
dc8b91f5f1
list, menu: CommandHighlight (an env style value, Accent by default) chooses how a menu's active row, a popup list's command row, the palette's active row and an open menu bar title show it; under Hover they paint state.hover with their own ink, as a row with an open submenu
2026-11-24 18:29:26 +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
49d439d63d
ui-widgets: a tile grid without card_columns asks for one card in a measuring run again ( ebf925452, lost in the merge b138b533f), so a dialog pane sized from it holds its rows and the row under them: presses on the tiles, the button and the field beside it land on them
2026-11-24 13:33:04 +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
b21bc0e359
select: SelectLook::Quiet, a quiet box as wide as the entry it shows; WorkspaceSwitcher::look passes it on
2026-11-24 12:35:21 +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
47691f10c2
Inspector: title_strength gives the title another weight than a section heading's
2026-11-24 12:18:43 +07:00
aiongg
8b4e49d62f
drag: the window a drag moves paints the drop mark over itself
...
A native floating window moved by its title row lies over the mark the target under it shows. Its own ghost layer paints the mark too, mapped to the same desktop place through the windows' inner rects, the mapping pointer_in uses, so the mark reads over the faded 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
bflatastic
daed17160c
ui-patterns: a hosted dialog's automation set takes the host's row labels and shown states, every tab's rows and the read-only refusal again, and reports the rows it changed, which the merge of next dropped from the batched set
2026-11-24 08:11:59 +07:00
bflatastic
969bfa99fa
ui-patterns: a document dialog's fixed section puts its rows on a card again and heads them with its name, which the merge of next dropped from the section rewrite
2026-11-24 08:11:54 +07:00
bflatastic
8a4d26ccbb
Merge branch 'fix/hosted-answers-real-run' into vc/fixes-on-stubs
2026-11-24 07:42:11 +07:00
bflatastic
8311df0401
ui-patterns: hosted New Document takes the host's answers and closes on an accepted held answer only in a real run
2026-11-24 07:16:28 +07:00
bflatastic
3eddf17eea
ui-patterns: hosted New Guide Layout and New Guide take the host's answers only in a real run
2026-11-24 07:16:23 +07:00
bflatastic
b178752244
ui-patterns: hosted Save for Web takes the host's answers, the Optimize answers and the automation inputs only in a real run, so a palette colour answered in a measured frame still becomes a shift
2026-11-24 07:16:21 +07:00
bflatastic
8f60b79b39
ui-patterns: hosted Export As takes the host's answers only in a real run, so a path answered in a frame whose first run measures the dialog still finishes it
2026-11-24 07:16:18 +07: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
bflatastic
3a90546e2a
ui-contract, ui-test-kit: a press egui gives a component's text widget (a focused field's) is no press on its container's own surface, so a second click into a focused field in a dock group no longer hands the focus to the panel's tab, whose Escape and Enter then never reached the window; test kit Windows::root_env sends an app's root values
2026-11-24 02:03:20 +07:00
bflatastic
85ba69b147
ui-patterns: PaletteOutput::refused names the disabled command Enter was pressed on, from the new CollectionEvent::Refused of a disabled lead's Enter, so an app can close the palette and say why: the palette stayed open and told the app nothing
2026-11-24 00:57:53 +07:00
bflatastic
662ff9264a
ui-contract: with RootEnv::escape_leaves_fields, Escape in a field of a dialog that Escape closes stays the dialog's with nothing typed too: the field took it to give up the focus and the dialog stayed open
2026-11-24 00:57:52 +07:00
Dylan M. Taylor and Claude
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. Taylor and Claude
346f5ac9fe
fw sync: PageRangeChoices::Line, ParamDialog::caption_column, Param::short_slider (Slider/SliderField::short)
...
Trials line_page_range_options_stand_on_one_line_with_no_page_count, a_caption_column_puts_a_group_caption_beside_its_group_and_lines_the_controls_up, a_short_slider_row_is_as_wide_as_its_content.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-11-23 12:24:54 -05:00
Dylan M. Taylor and Claude
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
Dylan M. Taylor
40442e2f69
Merge branch 'pdf-port/sync' into pdf-port/sync-look
2026-11-23 11:09:46 -05:00
Dylan M. Taylor
cd4704b357
Merge branch 'pdf-port/sync' into pdf-port/sync-look
2026-11-23 09:35:58 -05:00
Dylan M. Taylor
6df2644a0e
Merge branch 'pdf-port/sync' into pdf-port/sync-post
2026-11-23 09:22:42 -05:00
Dylan M. Taylor
9b12c19603
fw sync: Param::stacked_options and Param::under_option (production's Split and Background option rows); a document-dialog group under a heading of its name shows the name once
2026-11-23 08:56:16 -05:00
Dylan M. Taylor
be5e97ea49
fw sync: F-R1: Param::select_on_focus for text rows (Rename opens on the name selected); trial a_text_row_that_selects_on_focus_is_replaced_by_typing
2026-11-23 08:27:17 -05:00
bflatastic
157714c25a
ui-patterns: in the pass a tab click picks a panel of the focused group, DockAreaOutput::focused names that panel: it named the panel the group drew in that pass, the one before the click
2026-11-23 19:48:27 +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
51ad138dd2
ui-contract: a drag of OS files runs in the window under them: the main window's pass, which the OS sends none of a child window's files, ended the session, so files dropped on a native panel window never reached DockAreaOutput::window_files; the test kit's Windows now sends files to one window (FilesOver), as the OS does
2026-11-23 19:42:19 +07:00
bflatastic
503ccd4cd9
Merge branch 'sync/next' into sync/delta11
2026-11-23 17:32:13 +07:00
bflatastic
3ce58d7cae
ui-patterns: a form dialog's body takes the host's answers, the opening pass and OK only in a real run: the dialog's own measuring run of the body (a re-layout under a child dialog) used them up, so Save for Web's real run reported no palette shift
2026-11-23 17:28:13 +07:00
bflatastic
d824d42d25
ui-patterns: a new palette query's active row is its first match, enabled or not, so Enter on a disabled first match runs nothing and the footer says why, rather than Enter running the next match
2026-11-23 17:28:05 +07: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
Dylan M. Taylor
5abaa7360e
fw sync: clippy clean over the merged sync (all targets, all features)
...
Real fixes, no allows: split long functions (portal first reads, canvas wheel read, text editor input pass, list row toggle parts, notice action rows, thumbnails grid aspect and edit rules, comments row entries), boxed the large Entry item row, type aliases for complex types, a StatusMeasure for the status cell's measures, double #[must_use] removed where the type is #[must_use], Copy clones and useless conversions dropped, struct-update syntax in place of field reassignment, a split press-pass test.
2026-11-23 03:42:16 -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
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
Dylan M. Taylor
438ae3da78
fw sync: review/pages/draw/text compile: comment selection and status fields, note popup scope, story binds, memoized-view preview trial, trials registered
2026-11-22 23:31:49 -05:00
Dylan M. Taylor
a297595c4a
fw sync: automation dock_method takes PanelSpecs; platform BrowserFiles writes to an embedding page (page_saves) before downloading, web-host's page_save feeds it (L-317); compile fixes in canvas/patterns trials
2026-11-22 23:30:13 -05:00
Dylan M. Taylor
8a620b3d6e
fw sync: ui-canvas and ui-patterns libs compile: WheelScheme::Document arm, one scroll-bar same_value (both tolerances), region drop mark for a split, memo props on env values, story binds, unused imports
2026-11-22 23:26:27 -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
Dylan M. Taylor
a48cd842f4
fw sync: apply the areas' owed lines (platform/web-host files, clipboard cfg, tooltip, canvas, stories gating, balloons selection, recent list, specimen, preferences re-export)
2026-11-22 23:13:52 -05:00
Dylan M. Taylor
daae7fcd5c
fw-patterns: resolve the origin/next sync for ui-patterns dock area, form dialogs, preferences, preset browser and their trials
...
Dock area: upstream's specs/Arc workspace/memo rewrite with the port's top inset, rail footer,
IconicMode::Rail widths, group view room and title count/caption/command re-applied.
Form dialogs: upstream's held answer, preset sources and button place with the port's tabs,
read-only, Document layout, host notes, one action channel and preview pager; both
beside_previous and beside_next rows in one section_rows; SetOrClear carried into
PasswordFields as an opt-in clearable.
Preferences (L-312): upstream's PreferencesPage structure with a PreferencesLayout option,
Paged by default, Cards carrying the port's scrolling cards, segmented short choices and
match count; body.rs removed.
2026-11-22 23:09:08 -05:00