aiongg
692ea17f1e
Merge storytold next into rc-modal-stack
2026-11-24 13:26:57 +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
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
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
bf62d509fb
Merge branch 'sync/delta11' into sync/next2
2026-11-24 02:04:29 +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
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
bbd5eb35d1
ui-contract: a focused text part takes as its edits only the bindings of Cut, Copy, Paste and the rest that are the platform's text-editing chords: an app's alternate key (F4 for Paste) went to the field too, where production left the text alone
2026-11-23 19:27:29 +07:00
Dylan M. Taylor
f2e83cd928
fw sync: a focus request for a part waits for that part instead of landing on a sibling
...
A component's stops register after update, so a part first declared in the pass its
owner asks for it (PdfCraft's Tab onto a field on a page just scrolled in) was not
found, and the request fell back to the component's first stop: Tab reached the first
field. A Part request now lands on its part or awaits it (the stop that registers later
in the pass takes the focus); an Id request keeps the fallback.
Trial: a_part_asked_for_in_the_pass_it_appears_takes_the_focus_not_a_sibling.
2026-11-23 07:12:37 -05:00
bflatastic
b14f3a313d
ui-contract: a component's focus request in a press's pass holds: the press's own focus move at the pass end does not take the focus back, as a layer that appeared in the pass already kept it
2026-11-23 17:28:11 +07:00
bflatastic
2f068b43a0
ui-contract: an injected step whose events the frame it entered held back (behind a real press, H0) stays in flight into the pass that delivers them, which reports injected_pass
2026-11-23 17:28:09 +07:00
bflatastic
508faa1eb7
ui-contract: an Alt press an input method types through is typing: the focused text stop that has the IME holds it, so its bound command does not run beside the commit
2026-11-23 17:28:04 +07:00
bflatastic
1fc46b5730
ui-contract: a one-character text with no press of its own is a tap of the key it stands for: a claim takes it, the shortcuts read it with the held modifiers (Shift+~ arrives as ~ alone) and a focused field types it; a text Alt typed with a press no claim took is its key's for a claim (Option+8 types [)
2026-11-23 17:28:03 +07:00
bflatastic
cbbc1c26e7
ui-contract: a clipboard event with Cmd and Shift or Alt held is that chord (Cmd+Shift+X), the app's, unless the focused editor lists it for the edit: only the edit's own chord is the editor's Cut, Copy or Paste
2026-11-23 17:28:03 +07:00
bflatastic
fd80adccc0
ui-contract: a press of a key that is down already is a repeat, as egui reads it: egui-winit sends every press as no repeat and leaves egui to tell, so the key stage's repeat rules (shortcuts, Escape, Tab) never saw a held key's repeats; the trials that pressed one key twice release it between
2026-11-23 17:28:02 +07:00
bflatastic
ac24169b19
ui-contract: a press that moves past slop leaves the click run, so the press after a drag is a single press, as only clicks counted toward a double click in the old apps
2026-11-23 12:18:28 +07:00
Dylan M. Taylor
7f53dfd8b7
fw sync: ui-contract compiles: one AccessKit tree store (upstream's settled tree, the port's view over it), journal calls on upstream's signature, Span strikethrough, filtered Source borrows; the settled-region rename trial on a memoized view
2026-11-22 23:19:58 -05:00
Dylan M. Taylor
a9126c6a72
fw-sync fw-contract-runtime: resolve ui-contract runtime, egui glue, fonts, style, testing kit, manifest and runtime trials
...
Union of the port's and upstream next's changes: document-face chains carried onto
upstream's over-interface faces (one begin-pass edit), refused/declined commands and
requested pastes onto the rewritten command board (resolve_once, Instances), drop
operations beside region tokens in drag registration, wheel layers/exit gate/modal
family beside scroll_owner_inside, locate_wheel beside press records, text_edit
scroll + submit_key, both focus/policy additions, test module lists and trials.
2026-11-22 22:57:47 -05: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
bflatastic
28a5d985f0
ui-contract: a key press whose chord binds only commands disabled where it lands is reported in FrameOutput::dimmed, so the app can say why nothing ran
2026-11-23 10:11:19 +07:00
bflatastic
5bfcb2249d
ui-contract: a press of any button runs on the click run, as the old apps counted clicks; only a primary press carries the count
2026-11-23 04:28:57 +07:00
bflatastic
f3119648e0
ui-contract: a multi-finger tap allows its own finger drift (MULTI_TAP_SLOP, 16 pt), not a press's slop
2026-11-23 03:47:15 +07:00
bflatastic
f812df100a
ui-contract: clippy 1.100 clean: a row unit reports how it leaves as one (cut_first, rank) pair; the items' place_rows takes the detail through ItemCx::take_detail and a cell_width helper; face and whole-paste types named; tests return directly and take the last visibility by reduce
2026-11-22 22:36:07 +07:00
bflatastic
8206a076a2
ui-contract: a focused stop that is no longer shown leaves focus nowhere; only a removed child of a collection row hands it back to the row
...
behavior: after_removal goes with the rule it served. The spec trials state the new rule.
2026-11-22 18:15:04 +07:00
bflatastic
fec30bbd83
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/ui-contract/tests/it/runtime/mod.rs
# crates/ui-shell/src/shell/app_shell.rs
# crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-22 09:57:26 +07:00
bflatastic
cbe4d96951
ui-contract tests: the wheel-over-popup trial's field takes focus on a press, and each of its wheels starts its own gesture
2026-11-22 09:28:08 +07:00
aiongg
d67796f469
focus: trials for the focus after a removed stop and after a closed canvas text editor
...
Both fail on this branch: a stop that inherits the focus from a removed one is revealed, and a closed
editor on a canvas with rulers hands the focus to the rulers' corner instead of the canvas.
2026-11-21 18:49:26 +00:00
bflatastic
b2b9a7e104
ui-contract: port fields in upstream's literals and calls (span link, run link colour, fill raster, Id::unique)
2026-11-22 01:29:04 +07:00
bflatastic
03ef0d0817
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/automation/Cargo.toml
# crates/automation/src/client.rs
# crates/automation/src/control.rs
# crates/automation/src/screenshot.rs
# crates/automation/src/synthetic.rs
# crates/automation/tests/it/main.rs
# crates/automation/tests/it/synthetic.rs
# crates/color-ui/src/palette.rs
# crates/color-ui/src/ui/area.rs
# crates/color-ui/src/ui/disc/stories.rs
# crates/color-ui/src/ui/mod.rs
# crates/color-ui/src/ui/paint_chip.rs
# crates/color-ui/src/ui/pair/stories.rs
# crates/color-ui/src/ui/palette/stories.rs
# crates/color-ui/src/ui/panel.rs
# crates/color-ui/src/ui/picker/stories.rs
# crates/color-ui/src/ui/picker_dialog.rs
# crates/color-ui/src/ui/swatches/library.rs
# crates/color-ui/src/ui/swatches/panel.rs
# crates/color-ui/src/ui/swatches/stories.rs
# crates/color-ui/src/ui/wheel/stories.rs
# crates/color-ui/tests/it/main.rs
# crates/color-ui/tests/it/panels.rs
# crates/color-ui/tests/it/picker.rs
# crates/dialogs/src/lib.rs
# crates/dialogs/src/native.rs
# crates/dialogs/src/portal.rs
# crates/dialogs/src/service.rs
# crates/draw/src/ui/brush_presets/panel.rs
# crates/draw/src/ui/brush_presets/picker.rs
# crates/draw/src/ui/brush_presets/stories.rs
# crates/draw/src/ui/gradient/palette/mod.rs
# crates/draw/src/ui/pattern/editor.rs
# crates/draw/src/ui/pen/stories.rs
# crates/draw/src/ui/transform/mod.rs
# crates/draw/src/ui/transform/transform_box.rs
# crates/draw/src/ui/transform/transform_box/stories.rs
# crates/draw/src/ui/transform/transform_fields.rs
# crates/draw/tests/it/brush_presets.rs
# crates/draw/tests/it/main.rs
# crates/draw/tests/it/transform_box.rs
# crates/font-manager/src/axes.rs
# crates/font-manager/src/picker.rs
# crates/font-manager/src/picker/rows.rs
# crates/font-manager/src/picker/stories.rs
# crates/font-manager/tests/it/main.rs
# crates/font-manager/tests/it/picker.rs
# crates/host/src/files.rs
# crates/i18n/src/lib.rs
# crates/imaging/src/ui/layer_style/styles.rs
# crates/keymap/src/keymap.rs
# crates/keymap/src/matcher.rs
# crates/layers/src/ui/filter/mod.rs
# crates/layers/src/ui/filter/stories.rs
# crates/layers/src/ui/mock.rs
# crates/layers/src/ui/panel/mod.rs
# crates/layers/src/ui/panel/stories.rs
# crates/layers/src/ui/tree.rs
# crates/layers/tests/it/panel_drag_menu.rs
# crates/layers/tests/it/panel_filter.rs
# crates/menu/src/bar.rs
# crates/menu/src/driver.rs
# crates/menu/src/model.rs
# crates/menu/src/shortcuts/pages.rs
# crates/menu/src/shortcuts/state.rs
# crates/menu/src/shortcuts/stories.rs
# crates/menu/src/shortcuts/view.rs
# crates/menu/tests/it/main.rs
# crates/menu/tests/it/native.rs
# crates/menu/tests/it/shortcuts/mod.rs
# crates/pages/src/ui/mod.rs
# crates/pages/src/ui/view.rs
# crates/platform/README.md
# crates/platform/src/clipboard_tests.rs
# crates/platform/src/open.rs
# crates/print/src/ui/stories.rs
# crates/text/src/ui/character.rs
# crates/text/src/ui/character/stories.rs
# crates/text/src/ui/find.rs
# crates/text/src/ui/find/dialog.rs
# crates/text/src/ui/find/stories.rs
# crates/text/src/ui/ruler.rs
# crates/text/src/ui/ruler/paint.rs
# crates/text/src/ui/ruler/run.rs
# crates/text/tests/it/main.rs
# crates/text/tests/it/ruler.rs
# crates/ui-canvas/src/canvas/mod.rs
# crates/ui-canvas/src/canvas/tool.rs
# crates/ui-canvas/src/canvas/tool_host.rs
# crates/ui-canvas/src/canvas_controls/grid/mod.rs
# crates/ui-canvas/src/canvas_controls/grid/stories.rs
# crates/ui-canvas/src/canvas_controls/guides/stories.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/rulers.rs
# crates/ui-canvas/tests/it/canvas/tool.rs
# crates/ui-canvas/tests/it/canvas_controls/grid.rs
# crates/ui-contract/src/contract/body/presses.rs
# crates/ui-contract/src/contract/items/drag.rs
# crates/ui-contract/src/contract/items/hooks.rs
# crates/ui-contract/src/contract/items/lead.rs
# crates/ui-contract/src/contract/overlay/placement.rs
# crates/ui-contract/src/contract/overlay/props.rs
# crates/ui-contract/src/contract/overlay/ui.rs
# crates/ui-contract/src/contract/steps/label.rs
# crates/ui-contract/src/contract/text.rs
# crates/ui-contract/src/contract/tooltip.rs
# crates/ui-contract/src/layout/body.rs
# crates/ui-contract/src/primitives/draw.rs
# crates/ui-contract/src/primitives/icon.rs
# crates/ui-contract/src/primitives/mod.rs
# crates/ui-contract/src/primitives/textures/thumbnails.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/input.rs
# crates/ui-contract/src/runtime/egui/plugin.rs
# crates/ui-contract/src/runtime/frame.rs
# crates/ui-contract/src/runtime/keys.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/wheel.rs
# crates/ui-contract/src/runtime/windows.rs
# crates/ui-contract/src/runtime/windows/viewport.rs
# crates/ui-contract/src/style/cx.rs
# crates/ui-contract/src/style/span.rs
# crates/ui-contract/src/testing/access.rs
# crates/ui-contract/src/testing/icon_trials.rs
# crates/ui-contract/tests/it/body/mod.rs
# crates/ui-contract/tests/it/runtime/mod.rs
# crates/ui-contract/tests/it/runtime/wheel.rs
# crates/ui-contract/tests/it/runtime/windows.rs
# crates/ui-contract/tests/it/text/editor.rs
# crates/ui-gallery/src/mock/panels.rs
# crates/ui-panels/src/dialog/mod.rs
# crates/ui-panels/src/docking/group.rs
# crates/ui-panels/src/rails/drawer/stories.rs
# crates/ui-panels/src/rails/tool.rs
# crates/ui-panels/src/rails/tool/stories.rs
# crates/ui-panels/src/rails/tool/trials.rs
# crates/ui-panels/src/sections/footer.rs
# crates/ui-panels/tests/it/dialogs.rs
# crates/ui-patterns/src/patterns/dock/hide.rs
# crates/ui-patterns/src/patterns/dock/panes.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/list_manager.rs
# crates/ui-patterns/src/patterns/form_dialogs/list_manager/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/mod.rs
# crates/ui-patterns/src/patterns/form_dialogs/new_document.rs
# crates/ui-patterns/src/patterns/form_dialogs/new_document/cards.rs
# crates/ui-patterns/src/patterns/form_dialogs/new_document/details.rs
# crates/ui-patterns/src/patterns/form_dialogs/param.rs
# crates/ui-patterns/src/patterns/form_dialogs/pdf_export.rs
# crates/ui-patterns/src/patterns/form_dialogs/pdf_export/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/report.rs
# crates/ui-patterns/src/patterns/form_dialogs/report/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/rows.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web/hosted.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web/model.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web/options.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web/stories.rs
# crates/ui-patterns/src/patterns/panels/palette.rs
# crates/ui-patterns/src/patterns/panels/palette/stories.rs
# crates/ui-patterns/src/patterns/preferences/document/model.rs
# crates/ui-patterns/src/patterns/preferences/page.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/src/patterns/presets/browser/stories.rs
# crates/ui-patterns/src/patterns/presets/manager.rs
# crates/ui-patterns/src/patterns/presets/mod.rs
# crates/ui-patterns/src/patterns/presets/named.rs
# crates/ui-patterns/src/patterns/presets/picker.rs
# crates/ui-patterns/tests/it/docking/drop_session.rs
# crates/ui-patterns/tests/it/docking/native.rs
# crates/ui-patterns/tests/it/form_dialogs/hosted.rs
# crates/ui-patterns/tests/it/form_dialogs/list_manager.rs
# crates/ui-patterns/tests/it/form_dialogs/mod.rs
# crates/ui-patterns/tests/it/form_dialogs/params.rs
# crates/ui-patterns/tests/it/form_dialogs/save_for_web.rs
# crates/ui-patterns/tests/it/panels/palette.rs
# crates/ui-patterns/tests/it/presets/browser.rs
# crates/ui-shell/src/shell/app_shell.rs
# crates/ui-shell/src/shell/app_shell/stories.rs
# crates/ui-shell/src/shell/mod.rs
# crates/ui-shell/src/shell/start.rs
# crates/ui-shell/src/shell/start/stories.rs
# crates/ui-shell/tests/it/commands/mod.rs
# crates/ui-shell/tests/it/shell/app_shell.rs
# crates/ui-shell/tests/it/shell/mod.rs
# crates/ui-widgets/src/bars/bar.rs
# crates/ui-widgets/src/buttons/button.rs
# crates/ui-widgets/src/buttons/face.rs
# crates/ui-widgets/src/buttons/mod.rs
# crates/ui-widgets/src/buttons/stories.rs
# crates/ui-widgets/src/choice/mod.rs
# crates/ui-widgets/src/choice/swatch.rs
# crates/ui-widgets/src/choice/swatch/stories.rs
# crates/ui-widgets/src/choice/swatch_table.rs
# crates/ui-widgets/src/choice/swatch_table/stories.rs
# crates/ui-widgets/src/display/text.rs
# crates/ui-widgets/src/list/row.rs
# crates/ui-widgets/src/list/row/paint.rs
# crates/ui-widgets/src/list/stories.rs
# crates/ui-widgets/src/list/view_stories.rs
# crates/ui-widgets/src/menu/bar.rs
# crates/ui-widgets/src/menu/item.rs
# crates/ui-widgets/src/menu/search.rs
# crates/ui-widgets/src/menu/stories.rs
# crates/ui-widgets/src/pickers/mod.rs
# crates/ui-widgets/src/pickers/reference_point.rs
# crates/ui-widgets/src/pickers/reference_point/stories.rs
# crates/ui-widgets/src/tabs/strip.rs
# crates/ui-widgets/src/text/number.rs
# crates/ui-widgets/src/text/number/stories.rs
# crates/ui-widgets/src/tile_grid/grid.rs
# crates/ui-widgets/tests/it/buttons.rs
# crates/ui-widgets/tests/it/label/mod.rs
# crates/ui-widgets/tests/it/label/tooltip.rs
# crates/ui-widgets/tests/it/main.rs
# crates/ui-widgets/tests/it/menu/bar.rs
# crates/ui-widgets/tests/it/menu/mod.rs
# crates/ui-widgets/tests/it/menu/rows.rs
# crates/ui-widgets/tests/it/menu/search.rs
# crates/ui-widgets/tests/it/pickers/select_list.rs
# crates/ui-widgets/tests/it/text/mod.rs
2026-11-22 01:16:36 +07:00
bflatastic
aa4c6adbde
ui-contract: tests follow the contract (held buttons, wheel share, surface, held keys)
2026-11-21 22:00:54 +07:00
bflatastic
3846cbbaac
chrome-w2: net change of 2 commits
...
- chrome-w2: written from its sheet
- chrome-w2: repair 1
2026-11-21 21:26:38 +07:00
bflatastic
4a367a9a50
canvas-w2: net change of 1 commits
...
- canvas-w2: written from its sheet
2026-11-21 21:26:19 +07:00
bflatastic
5886f1ff30
shell-w1: net change of 1 commits
...
- shell-w1: written from its sheet
2026-11-21 21:25:53 +07:00
bflatastic
7cc766ad84
Contract stubs: craft-ui-contract, craft-ui-widgets
2026-11-21 12:30:25 +07:00
aiongg
161d2c0a42
Merge storytold next into rework-windows
2026-11-21 03:59:28 +00:00
aiongg and Jere Salonen
5d5c729f7a
Palette windows follow the app's modal and minimized state
...
A palette window stands as an ordinary window while an app-modal layer in
another window blocks it, and the modal's window is raised above it once,
by toggling its level (egui-winit ignores Focus for a focused window, and
on Windows a palette made non-topmost stands in front of the main window
otherwise). The palette goes back above the app's windows when the modal
closes (#15525 ).
A palette window is hidden while the main window is minimized and shown
again when it is restored, on Windows and Linux; on macOS the app stays
active with its main window minimized, and palettes stay (#15860 ).
One function, WindowLevel::standing, decides a window's level and
visibility from the app's state (focus, app-modal window, minimized main
window), which follow_activity records once per frame. The raise is
WindowAction::Raise.
Supersedes craft-libs#2267, whose design and trial this takes over.
Co-authored-by: Jere Salonen <hi@jere.co >
2026-11-21 02:01:03 +00:00
aiongg
d202ab2fec
Merge remote-tracking branch 'upstream/next' into memo-stack
...
# Conflicts:
# crates/ui-contract/src/testing/mod.rs
# crates/ui-panels/src/docking/targets.rs
# crates/ui-patterns/tests/it/docking/floating_area.rs
2026-11-20 23:37:01 +00:00
aiongg
aa9e22db05
Merge pull request #2648 from aiongg/floating-restore
...
Floating dock windows: production's bar, grips and macOS resizing; grip bar and width resize for collapsed icon groups
2026-11-20 17:35:08 -05:00
Dylan M. Taylor
d7d2ba44e3
Hand passed drags to arena background parts
2026-11-20 17:02:21 -05:00
aiongg
c30c9e1749
Merge remote-tracking branch 'upstream/next' into memo-stack
...
# Conflicts:
# crates/layers/tests/it/main.rs
# crates/menu/tests/it/main.rs
# crates/ui-contract/src/testing/mod.rs
# crates/ui-contract/tests/it/runtime/mod.rs
# crates/ui-widgets/tests/it/menu/mod.rs
2026-11-20 20:32:36 +00:00
aiongg
761faa9d3a
Merge remote-tracking branch 'upstream/next' into floating-restore
...
# Conflicts:
# crates/ui-contract/src/contract/body/hooks.rs
# crates/ui-patterns/src/patterns/dock/area.rs
# docs/contract-api.md
2026-11-20 20:00:02 +00:00
Dylan M. Taylor
865baab71b
Resolve secondary presses on context-only parts
2026-11-20 14:52:30 -05:00
Dylan M. Taylor
469a82076e
Restrict wheel recipients to the active modal family
2026-11-20 14:16:20 -05:00
FredApps
36dea842e8
Merge remote-tracking branch 'origin/next' into perf/2332-print-coverage
...
# Conflicts:
# crates/design-lint/src/workspace.rs
# crates/menu/tests/it/main.rs
# crates/ui-contract/src/testing/mod.rs
# crates/ui-gallery/src/chrome/card.rs
# crates/ui-gallery/src/viewer/catalog.rs
# crates/ui-gallery/tests/it/main.rs
# crates/ui-widgets/tests/it/bars/mod.rs
# crates/ui-widgets/tests/it/body/mod.rs
# crates/ui-widgets/tests/it/text/chips.rs
2026-11-20 19:23:18 +01:00
aiongg
b729d8b422
Derived: a replayed view keeps the values it derived
...
A replay asks for no derived value, so the memo rule dropped the values of a view that replayed for a few frames
and the view's next run built them again. The record notes the slots a run asked for, as it does for layout memory,
and a replay keeps them. last_frame_derived_builds counts the builds of every pass of a frame. IconId is plain data.
2026-11-20 18:16:52 +00:00
aiongg
ea48749d34
Derived: a value kept per component id and rebuilt only when its key changes
...
`runtime::derived::derived(ctx, id, &key, build)` (and `BodyCx::derived`) keeps one
value per id and value type. The key is `MemoProps`, so it holds only checked inputs.
A value no pass asks for is dropped by the memo rule for absent entries, which moves
into one helper both stores call. `testing::last_pass_derived_builds` counts builds.
Part of #2336 .
2026-11-20 18:16:52 +00:00
aiongg
b35a0faee0
Floating windows: production's bar height, grips and AppKit resize
...
- The floating window's title row is one text row high (HeaderStrength::Bar, size.row.text: 18 pt compact), as
production's 18 pt bar; the tab strip below keeps the panel header height.
- A resizable or movable layer with a header keeps its top grip's band (contract::grip_band, size.handle.sm) clear
above the header, so the top grip never lies over it; the regions start below the band or the padding, whichever
is deeper. Dialogs keep their layout (their padding is deeper than the band).
- Grips lie inside the frame for layers too; corners reach twice the edge width along each edge (12 pt), top corners
of a banded layer only the band's height.
- Where the OS resizes a window from its own frame (macOS Inset, resizable: windows::os_resizes) no app grips stand,
the cursor over AppKit's resize areas is the default (craft_window::mac::in_resize_area) and the move band keeps
the arrow, as an OS title bar does.
- DockSizes::window_chrome (title row plus the band in the app window) sizes floating windows, stepped resizes,
collapsed windows and float previews (FloatSpace::chrome).
2026-11-20 16:57:13 +00:00
aiongg
39da1180ee
Merge storytold next into memo-audit-fix
...
next's WordCraft port and the framework work under it (243d68e12d ) take the memoized-view APIs where they meet the
branch: story values bind through StoryData::bind, value_at and pair_at (next's copy-out stories included; one held
form story still binds a copy, as its held answer is a note beside the value); next's env values (GroupLevel,
ControlPlace, RibbonLook, ScreenModeSet), IconMark and PageBandRoom derive MemoProps, and the shell entry keys the page
band's room; request_own_repaint calls become request_repaint. The collection extent next reworked (motion-owned
style context, FillHeight, ideal width by item count) moves into items_extent. The header's hosted cells join the
parts' roving group from the pass's own membership (parts_group over Cx::join_roving), as the parts' stops do. A
content-sized shell slot measures its content with the app running in it every pass. The gallery card hands the
story's output from its view's real run (StoryRun).
2026-11-20 14:58:23 +00:00
FredApps
9793d1a452
Merge branch 'next' of https://github.com/storytold/craft-libs into publish/registry-2332
...
# Conflicts:
# crates/dialogs/src/lib.rs
# crates/dialogs/src/ui/mod.rs
# crates/draw/src/ui/gradient/mod.rs
# crates/draw/src/ui/gradient/swatch.rs
# crates/menu/src/shortcuts/view.rs
# crates/menu/tests/it/main.rs
# crates/menu/tests/it/shortcuts/mod.rs
# crates/pages/tests/it/main.rs
# crates/print/src/lib.rs
# crates/review/tests/it/main.rs
# crates/story-render/src/main.rs
# crates/table/tests/it/main.rs
# crates/text/tests/it/main.rs
# crates/ui-canvas/src/canvas/navigate/mod.rs
# crates/ui-canvas/tests/it/canvas/mod.rs
# crates/ui-contract/tests/it/access/mod.rs
# crates/ui-contract/tests/it/fonts/mod.rs
# crates/ui-contract/tests/it/runtime/mod.rs
# crates/ui-gallery/src/foundations/mod.rs
# crates/ui-patterns/src/patterns/preferences/mod.rs
# crates/ui-patterns/tests/it/docking/mod.rs
# crates/ui-patterns/tests/it/form_dialogs/mod.rs
# crates/ui-patterns/tests/it/panels/palette.rs
# crates/ui-patterns/tests/it/preferences/mod.rs
# crates/ui-shell/src/shell/mod.rs
# crates/ui-shell/tests/it/shell/mod.rs
# crates/ui-widgets/src/tabs/strip.rs
# crates/ui-widgets/tests/it/bars/mod.rs
# crates/ui-widgets/tests/it/contract/mod.rs
# crates/ui-widgets/tests/it/layout/mod.rs
# crates/ui-widgets/tests/it/main.rs
# crates/ui-widgets/tests/it/menu/mod.rs
# crates/ui-widgets/tests/it/pickers/mod.rs
# crates/ui-widgets/tests/it/text/mod.rs
2026-11-20 15:04:36 +01:00
FredApps
dd0596ae8f
Merge branch 'next' of https://github.com/storytold/craft-libs into publish/registry-2332
...
# Conflicts:
# crates/menu/tests/it/main.rs
2026-11-20 13:44:42 +01:00