Commit Graph
8428 Commits
Author SHA1 Message Date
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 02dc636a6c ui-contract, title bar: one way for an end group whose ranked members leave first: TitleBar::show_fitted turns on its end region's fit, as Bar::trailing does, and layout::end_group goes; the fit's env fact carries the body's shortfall, which the region's first row gives up off its ideal width 2026-11-24 14:52:29 +07:00
bflatastic 41a0679299 ui-widgets tests: the selectable-text trial names its canvas with Id::unique, not the deprecated Id::new 2026-11-24 13:50:32 +07:00
bflatastic 02d26c8cc0 bars: a bar's trailing group joins the body's fit; its ranked members leave, lowest rank first, before a body member narrows or leaves 2026-11-24 13:50:25 +07:00
bflatastic cb367bccf3 menu bar: MenuTitlePad, the padding role of the titles an app sets at its root; Control sets them closer, as an app bar whose menus share the line with many controls 2026-11-24 13:38:50 +07:00
bflatastic 161c99c637 ui-contract, title bar: layout::end_group places a row's end group at its end edge, its members ranked units of the row's fit; TitleBar::show_fitted shows the trailing content as the body's end group, so its ranked members leave before the menus fold 2026-11-24 13:37:29 +07:00
bflatastic 8982191687 title bar: document the surface role it takes and show it on the background surface in a story 2026-11-24 12:58:31 +07:00
bflatastic 45a8457c7b ui-widgets: DocumentTab::name_len, the label's name part, which a modified tab's mark follows: "Untitled-1* @ 93.5 % (RGB/Preview)" 2026-11-24 12:58:00 +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 4ae91846fa title bar: take show_fitted out again; with caption buttons its trailing content stops short of the end and a ranked member narrows instead of leaving 2026-11-24 12:57:16 +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 9450c7fa7a title bar: show_fitted puts the trailing content after the body on its line, so ranked members leave before the leading content narrows 2026-11-24 12:25:28 +07:00
bflatastic 12c5d012ed ui-contract: a focused text field keeps the Escape it does not use, and every other focused control lends it to the window 2026-11-24 09:57:15 +07:00
bflatastic 7a01b71818 Merge remote-tracking branch 'origin/next' into vc/next-ci 2026-11-24 09:46:23 +07:00
bflatastic b6b2908123 theme: regenerate the VectorCraft token dumps with the six tokens next added 2026-11-24 09:27:06 +07:00
bflatastic 68a41a9e81 text: Format Text's font row names the font_picker prop without a link the font-picker feature gates 2026-11-24 09:17:56 +07:00
bflatastic 9aa180d031 ui-contract: a press egui gives to a selection part's text takes focus through the press plan
A press on SelectableText has no winning framework shape, so the press plan was Unclaimed and egui's read-only
text widget took focus by itself: the focus record never saw a press, and Tab with tab_toggles_chrome on moved
focus instead of toggling the panels. A press no shape wins that egui gives to the widget of a press-only stop
now takes focus for that stop, so it records FocusOrigin::Press.
2026-11-24 09:13:59 +07:00
bflatastic afbe61c547 automation: the control server ends a connection after its last reply by closing its write side and reading off what the client still sends, so the close no longer resets the connection and loses the reply or the end of the stream 2026-11-24 08:48:26 +07:00
bflatastic f92a0be4ec atomic: drop the empty line between KEPT_ATTRIBUTES and its doc comment 2026-11-24 08:37:06 +07:00
bflatastic 7002b2ec8f ui-contract: drag::register takes a target's reach as one TargetReach; collections report an item's output through one helper 2026-11-24 08:23:57 +07: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 c41413e8b5 platform: name the page save callback type; web-host: implement Files::pending_pick 2026-11-24 08:08:04 +07:00
bflatastic 5d094e34ad ui-widgets: declare the Arabic test font read from ui-contract 2026-11-24 08:02:08 +07:00
Dylan M. Taylor 945e849cba Merge pull request #2809 from storytold/port/stubs
VectorCraft UI port: framework contract and components
2026-11-23 19:55:54 -05:00
bflatastic 8a4d26ccbb Merge branch 'fix/hosted-answers-real-run' into vc/fixes-on-stubs 2026-11-24 07:42:11 +07:00
bflatastic 80854fad02 draw: Slice Options takes the host's answers only in a real run 2026-11-24 07:16:37 +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
Dylan M. Taylor b436ae9925 PdfCraft UI port: framework changes (#3232)
PdfCraft UI port: framework changes
2026-11-23 15:04:44 -05:00
bflatastic e952ad33c7 workspace: unreached-rs allows vendor/**, whose crates are on the workspace exclude list and so have no module tree the check can follow 2026-11-24 02:44:27 +07:00
bflatastic bf62d509fb Merge branch 'sync/delta11' into sync/next2 2026-11-24 02:04:29 +07: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 dbcbf55e18 Merge commit '0726c0f87' into sync/next2 2026-11-24 01:52:47 +07:00
bflatastic 57aacff99d Merge remote-tracking branch 'origin/next' into sync/next2 2026-11-24 01:41:30 +07:00
bflatastic b78d580c7d ui-contract: a window-wide drop target (a tab strip's tear-off) yields to a component's target under the pointer in another window, also one that window's running pass registered: a tab dragged out of a document's OS window and released over the main window's strip tore off instead of docking there 2026-11-24 01:37:06 +07:00
bflatastic 5353053e5a ui-contract: RootEnv::shortcuts_repeat: with it on, a held key's repeats run its chord's command again as FirePhase::Repeat, matched on their own (no double press, no hold wait settled), except a key with a hold binding or one held over a modal layer's opening or closing; off by default: a shortcut bound to a held key ran only on its press, where production repeated it 2026-11-24 01:32:36 +07:00
Dylan M. Taylor 0a6e42b80b fw sync: a Fill picture without a set aspect takes the SVG's own or a square (next 126ec28dc meets the port's optional aspect) 2026-11-23 13:30:20 -05:00
Dylan M. Taylor e3562d3c21 Merge remote-tracking branch 'origin/next' into pdf-port/sync 2026-11-23 13:22:30 -05:00
bflatastic dab7d1a115 ui-contract: a shell without Caps::SYSTEM_CURSOR keeps the system pointer under a painted cursor and paints none, nor hands the window an image: a host on Wayland with no cursor theme, where a hidden pointer never comes back, could not keep it 2026-11-24 01:09:28 +07:00
bflatastic efebc0cdac color-ui: ColorDisc::stored_as and HarmonyWheel::stored_as take the host's round trip through its own colour model, so a drag whose colour comes back moved by it (CMYK through a profile) is still the drag's; without it the disc keeps its 8-bit echo check: a host storing colours in another model had its own drags cancelled as outside changes 2026-11-24 01:08:34 +07:00
bflatastic 0726c0f87d ui-contract, ui-canvas: KeyUse::command_keys and Canvas::editor_command_keys: a canvas editor that has the keys leaves chords with the platform's command modifier and function keys to the app's commands under any typing rule, its text editing chords kept; off by default: under TypingRule::AllWait a type tool's editor ran none of the app's Cmd chords or function keys 2026-11-24 00:58:13 +07:00
bflatastic 83b922e633 ui-contract: an Alt chord's text is withheld only when a binding of it in a scope around the focus can run, as the key stage matches the press: a type editor's Alt chord in a scope no focused component is in kept the character a layout types for it (a Blob Brush's [) from reaching anything 2026-11-24 00:58:07 +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
bflatastic 4a6ea8a984 ui-contract: a text part asks where the keyboard goes back to only once it held the focus or keeps a selection for a menu, so a part that never held the focus reads no focus in its run: the replay audit found a memoized view whose field read the focus only when another stop had it 2026-11-24 00:57:49 +07:00