aiongg and skylartaylor
eaeb0fa028
platform: owner_only's docs name its Windows-only functions as code, not links
...
From storytold/craft-libs#3236 , so this PR's Workspace docs check can pass.
Co-authored-by: skylartaylor <hi@skylar.cc >
2026-11-24 04:02:17 +00:00
aiongg
87ed3c0be0
ui-contract: one modal stack across viewports, ordered by the frame each top modal opened in
...
A modal viewport blocks only the viewports whose top modal opened in an earlier frame, and those with none.
Modals that open in the same frame form one level and block none of each other, so the screen picker's
capture windows, opened over a modal Color Picker, take the click, right-click and Escape that end the
pick, while the Color Picker's window stays blocked until they close. The input hook, key ownership, the
blocked cursor, the close refusal and the window raises all read that one fact.
2026-11-24 04:00:07 +00:00
aiongg
9750fe6d77
i18n: the region test module builds only where its one test runs
2026-11-24 03:41:37 +00:00
aiongg
c13c6eeed5
docs: regenerate the components index
2026-11-24 03:28:05 +00:00
aiongg
8ef406cd5d
ui-widgets: a tile grid that takes its width from its content asks for at least one card again
...
The merge of next (b138b533fe ) brought back the early zero width that ebf9254522 removed, so a measured stack lost the
grid's rows and what follows them. The selectable-text trial names its canvas with Id::unique.
2026-11-24 03:28:05 +00:00
aiongg
3b200f43d6
text: a one-line field pastes each line ending as a space again; the editor's step loop is its own function
...
The merge of next (b138b533fe ) dropped one_line from the paste when it took the step loop. Moving the loop out of
TextEditor::update keeps the update under clippy's cognitive complexity limit.
2026-11-24 03:28:05 +00:00
aiongg
22205fffd1
ui-contract: an OS file drop lands where it was dropped, and files hovering in the pass that takes it start their own drag
...
A drop the next frame takes reads the drop's own position, not a pointer the next files have moved, and the files the OS
holds over the window in that pass start a session once the drop ends the old one. The files' pointer is the system
pointer where the platform tells one, else the pass's own: the drag's noted source pointer is from the pass before.
2026-11-24 03:28:05 +00:00
aiongg
ae722739ab
ui-contract: presses the focused component holds leave egui's input again, and Tab stays navigation with nothing focused
...
The merge of next (b138b533fe ) passed whether a stop was focused where withdraw_taken takes whether the app's own
widget reads its keys from egui, so no held press left egui's input while anything had focus. With nothing focused the
document canvas's held claims leave out Tab and Shift+Tab: a tool that claims the plain keys no longer keeps keyboard
navigation from moving into the window. The unfocused-canvas trial releases its keys, since a press of a key already
down is a repeat.
2026-11-24 03:28:05 +00:00
bflatastic
9c9e7ae806
ui-contract: a focused stop in a layer that plays its exit loses the focus in the first pass of the exit
2026-11-24 10:12:15 +07:00
bflatastic
a6c6eda35a
theme: VectorCraft Modern's selected, pressed and disabled colours take production's values
...
Production tints selected rows and pressed fills toward the accent in every
Modern palette, the default Coral included, and draws disabled text in its
disabled grey. The VectorCraft themes pinned the untinted values and left
text.disabled derived. Their dumps also lacked tokens added since they were
last written.
2026-11-24 09:58:45 +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
1b72220272
behavior: a grid's least probe keeps its Fill columns Fill, unbounded, so a field that fills its width there measures its own width instead of none; the fill column's least is then the field's, so a grid beside a menu no longer squeezes the field under it, stacks its label in rows measured unstacked, and overlaps the next row
2026-11-24 08:07:49 +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
David Mann and Claude Opus 5.5
07a223c0ff
ui-contract: a full-window container's own window keeps its size
...
A full-window container in its own OS window was sent its body's size
every pass. The body leaves out the side panels, header and footer, so
the window shrank by them each frame: RAW Develop's window ended a pixel
wide and, still modal, blocked the app (photocraft#16595). The window now
opens at the opener's content size and from then on its size is the
user's, as a resizable window's is.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-24 01:25:34 +01: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
David Mann and Claude Opus 5.5
7e51840348
WIP: own-window full-window dialogs keep their size (photocraft#16595)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-24 01:13:22 +01: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
batistalucasv
362844f704
ui-contract: sync egui font color transfer function with resolved theme mode
2026-11-23 19:57:10 -03: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