skylartaylor
52503acd71
Fix the macOS test failures next picked up from the PdfCraft framework sync ( #3232 )
...
- atomic: a file the user may write but not read (mode 0200) saves again on macOS; its extended
attributes can't be read, so there are none to keep.
- menu, ui-shell, pages, ui-contract, ui-canvas tests: follow the macOS conventions the code already has. The
in-window bar test pins its target as the other bar tests do; macOS has no Menu key and no Cmd+Home/End move;
its platform copy key is Option; a press with Control there is a secondary click, so Control comes after the press.
2026-11-24 04:48:57 +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. Taylor
84dd65f487
fw-sync fw-menu-misc: resolve menu, behavior, automation, font picker, theme, color-ui, docs, vendor, Cargo.lock
...
menu: upstream's memoised bar and English names in the model, with the port's icons/compact
options and disabled submenus. behavior: press keeps both the pointer-left and pass-drag
states; KeyRole gains PartialEq/Eq. automation: agents deps via craft-control, screenshot
params with region, document points with a page. font picker: upstream's column list, kinds,
actions and missing note, with the port's host groups, current host row and mixed label.
theme: wordcraft and pdfcraft app palettes. Cargo.lock: port side; vendor jbig2: upstream.
2026-11-22 22:58:08 -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
Dylan M. Taylor
276161b92b
Shortcuts reference opens at a moderate fixed height; FindBar options icon is the adjustments glyph (trial)
2026-11-22 21:18:48 -05:00
bflatastic
603697c7a2
automation, draw, imaging, menu: clippy 1.100 clean: no must_use on builders of must_use types; tests return directly, take Copy rows uncloned, name the remembered answers type
2026-11-22 22:36:59 +07:00
bflatastic
eaa3433662
framework: public enums and records the port added are #[non_exhaustive]; HoldSetting, PopupRegion, ParamPresets, CardSource::preset and WebDocument::vector take constructors for the crates that build them
2026-11-22 20:01:00 +07:00
bflatastic
4e76008c1e
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/font-manager/src/picker.rs
# crates/ui-canvas/src/canvas/mod.rs
2026-11-22 14:20:34 +07:00
bflatastic
e48b1bab21
menu tests: Defaults in the import review keeps the Will change count, as the production review counts ready entries whatever the start
2026-11-22 09:37:25 +07:00
batistalucasv
ebba2b5d30
menu/ribbon: render framed Gallery with sunken well surface and restore stepper button contrast
...
Framed galleries now render with the sunken well surface (`colors.surface.sunken`)
and provide a dedicated stepper track (`colors.surface.panel`) with divider definition
for the stepper buttons column to preserve contrast and hierarchy in both light and dark modes.
2026-11-21 23:31:00 -03:00
bflatastic
f8176040a0
menu: summary::text_for writes the shortcut summary without a Ui, in the host's language
2026-11-22 04:31:12 +07:00
bflatastic
5ecba486c3
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/behavior/src/overlay.rs
# crates/ui-canvas/src/canvas_controls/guides/mod.rs
# crates/ui-contract/src/contract/label/step.rs
# crates/ui-contract/src/contract/overlay/placement.rs
# crates/ui-contract/src/contract/tooltip.rs
# crates/ui-patterns/tests/it/docking/native.rs
# crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-22 02:11:13 +07:00
bflatastic
4a76442e8f
Port trials follow upstream's APIs: the guides rig without a body rect, in-place tidy and English names on the menu model, page-aware document points
2026-11-22 01:53:46 +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
aiongg
71e51851ae
Merge remote-tracking branch 'upstream/next' into wc-regressions
...
# Conflicts:
# crates/ui-contract/src/layout/mod.rs
# docs/contract-api.md
2026-11-21 17:53:07 +00:00
bflatastic
6c0224ec45
shortcuts-w5: net change of 1 commits
...
- shortcuts-w5: written from its sheet
2026-11-21 21:26:16 +07:00
bflatastic
8a2636cd68
shortcuts-w4: net change of 1 commits
...
- shortcuts-w4: written by an agent
2026-11-21 21:26:14 +07:00
bflatastic
6491d45d61
menus-w1: net change of 1 commits
...
- menus-w1: written by an agent
2026-11-21 21:26:02 +07:00
aiongg
f016e24751
Merge storytold/next into rework-d2
...
Brings in craft-libs#2756 (frame-t3), #2810 (a memoized view in a row sits on the row's line) and #2838 (home rail look).
- egui pin and Cargo.lock: rework-d2's egui rev, which contains #2756 's; frame-t3's serde line for craft-tracked.
- menu bar: EnglishFn goes with frame-t3's removal of english; rework-d2's docs stay.
- Env::start_view_room: keeps both column flags, then Shrink::Fit when the view fits.
- lazy::Place: both opacity and fits.
- Lazy::run_keyed: a memoized view's room is the row's cap when the row narrows it, else the flow region, and then moves down onto the row's line (on_row_line); the cap is horizontal and the move vertical, and the move keeps the room's size, so a kept run replays moved with it.
2026-11-21 14:23:08 +00:00
aiongg
8db22341b4
A memoized view in a Stack fits its content to its room, as in a shrinking row; the menu bar folds in any Stack
2026-11-21 10:18:40 +00:00
aiongg
dfe6c94183
A memoized view is a unit of the shrinking row around it; the menu bar takes its titles' width (photocraft#15533)
...
A memoized view's content started a layout room of its own that cleared the row's shrink step, so a view in a row
took the row's whole remaining room. The in-window menu bar, a memoized view that filled X, then ate the title bar's
gap and the document title was never drawn.
A memoized view in a shrinking Row is now one of its units, as a body unit is: it reports what its content takes in
no room in the counting sweep and what it takes with every leaf at its least in the least probe, and shows at most
the width the row gave it. That width is the room of its place, so a new width runs the view and an unchanged one
replays; whether the view is a row unit is a fact of its place too. Its content's leaves fit that room.
Env::local_mut clears the cached scope key, so a sweep that edits its scope keys again.
MenuBar no longer fills: it measures every title's width, and the "…" title alone as its least, so a short row
narrows it and the last titles fold into "…".
2026-11-21 09:02:19 +00:00
aiongg
3f84f9eb43
menu: the ribbon measures right in its first frame
...
A group sized the spacer under its content from the content height the last real run kept (ContentHeight), so in the first frame every group stood one body too tall, and a host laying out under the ribbon saw a taller ribbon first (WordCraft scrolled its caret into view 64 pt off). The titles' line (BodyHeight) and their centring (TitleCentre) were the same last-pass state.
Each group is a labelled stack that fills the row's line: its title sits at its foot under a filling spacer, its separator fills its height, and its title row centres the title across the group's width in this pass. The row's least height (three control rows and a title line) is the row's least line height. ContentHeight, BodyHeight and TitleCentre are gone.
2026-11-21 06:11:12 +00:00
aiongg
638230bfba
Overlay replays: the layer root node has its own id, AccessKit parents stay acyclic, closes and toasts settle
...
- An overlay layer's root node is `layer_root(P)` = `P.with(Sub("layer"))`, written before the layer's `Area` shows;
egui hangs the Area, its content `Ui` and the container component under it (root -> A -> P), in the run and in a
replay. The journaled content-parent registration is gone; openers' `controls` name the root.
- Trials check at every pass end that egui's AccessKit parents hold no cycle (`Context::with_accesskit_parents`).
- A running gesture ends as removed when its component was not shown in the previous pass by a run or a replay,
read from the memory registry's owner passes, which replays register; the per-component `drawn` stamp is gone.
- A run that dismisses its layer, or whose animation tween moves, is not replayed: its next run reads another state.
- A run that ends holding focus reads `Input::Focus` with `Input::Sent`; a chord capture reads `Input::Sent`.
- The toast queues are a tracked input (`Input::Toasts`, read by `toast::cards`).
- Trials: a popover in a view hangs below its layer root (fails without the root's own id), a toast opening runs its
view in its frame and then replays with the stack order kept; the overlay trials run with motion off and keep their
scene in place; craft-menu's labels trial drives a key into the open menu.
2026-11-21 03:20:45 +00:00
aiongg
f418a2a3f7
Memoized views: a view that shows an overlay replays it, and a view holding the focus replays while nothing is sent to it
...
A memoized view that shows an overlay journals the layer (its Area, layer stack entry, peers, layer content parent)
and replays it pinned where it ran; a view holding focus replays while nothing is sent to it (Input::Sent) and the
focus is where its run left it. Press and safe-rect inputs, queued closes, journaled AccessKit focus, IME caret and
key claims are tracked or journaled. Trials: overlay trials in memo_view.rs and craft-menu's open-menu trial. The
layer root's own id in the next commit keeps egui's AccessKit parents acyclic when these records replay.
2026-11-21 03:20:45 +00:00
aiongg
000a091d4b
craft-menu: English names on the menu model, the MenuBarUi::english hook goes
2026-11-21 03:20:37 +00: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
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
95d7fc34b4
Trials: idle key bytes of a tool rail, a dock and a menu bar do not grow with their models
2026-11-20 18:17:23 +00:00
aiongg
0ab21b8b6f
craft-menu: trials that sync_with lays out only when its key moves and apply_state keeps the revision when nothing changes
2026-11-20 18:17:12 +00:00
aiongg
1d40128fad
craft-menu: NativeMenu::sync_with is keyed by a checked key; sync and had_input are removed
2026-11-20 18:17:12 +00:00
aiongg
73e5bc474e
craft-menu: the bar's labels are one derived value keyed by the model revision, language and keymap
2026-11-20 18:17:12 +00:00
FredApps
428601bc95
Merge branch 'next' of https://github.com/storytold/craft-libs into publish/registry-2332
...
# Conflicts:
# crates/color-ui/src/ui/swatches.rs
# crates/draw/tests/it/main.rs
# crates/imaging/tests/it/main.rs
# crates/menu/tests/it/shortcuts/mod.rs
# crates/text/tests/it/main.rs
# crates/ui-patterns/tests/it/form_dialogs/mod.rs
# crates/ui-widgets/tests/it/text/mod.rs
2026-11-20 16:35:19 +01:00
aiongg
339570da6f
Merge storytold next into memo-audit-fix
...
next's submenu switch (62189858af ) requests a plain repaint, and its trial counts a memoized view beside the bar,
which replays while sibling submenus switch, in place of a settling Lazy region.
2026-11-20 15:33:50 +00:00
aiongg
ae02996d83
Replay audit: the pass a closed layer's exit ends in is unsettled
...
A host runs a closed layer only while its open tween still shows it (motion::layer_fading). In the pass the exit
reaches its end the layer's container still runs, drives the tween to rest and paints nothing; a memoized view around
it kept that run as settled and replayed it, re-registering the layer's memory owner, while a real run of the next
pass skips the layer. layer_presence notes the pass unsettled when the exit ends there, so the next pass runs for real
and is the run kept. The menu bar's open-and-close trial runs under the audit.
2026-11-20 15:09:54 +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
David Mann and Claude Opus 5.5
16e2584365
Merge storytold next into haranishi-combined
...
Conflicts resolved by keeping both sides. The start screen keeps next's
Greeting layout and its move of the recent body to recent_list.rs; the
desktop Home grid aspect and card padding now reach recent_body through a
desktop_home flag. The scroll bars keep both the document chrome (arrows,
corner) and next's drag tip.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 14:55:23 +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
Martin Ball and Claude Opus 5.5
27c1c0ebb1
Merge storytold next ( d5b465e54) into the port
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 12:17:11 +00:00
David Mann
324e2dd5d1
Merge #2386 : Give the Keyboard Shortcuts tabs the full dialog width
2026-11-20 12:51:38 +01:00
aiongg
439a6ced67
Merge storytold next into memo-audit-fix
2026-11-20 11:44:32 +00:00
Martin Ball and Claude Opus 5.5
a9deabd00e
design-lint: api, props, contract and exception findings of the port code
...
- api/non-exhaustive: #[non_exhaustive] on public enums, variants and structs, with constructors for what
callers built by struct expression (KeytipControl, GroupWidths, RibbonMenuRequest, EdgeLook::sample,
BalloonItem, CropScope::object, PageBandRoom, WheelSpeed, AltCodePages, GalleryFace, GradientTile).
GalleryItem, RibbonOutput, LineBreakOptions, AsianTypography and GapEdge join the closed list.
- props/hand-setter: setters that only store become #[prop] fields. Keytips drops its own enabled field
for Common enabled, and its show becomes show_over.
- contract/no-global-state: constant tables are const, not static.
- contract/egui-import, memory, allocate: LayerId, TreeUpdate, Id::unique, the text scroll memory and
allocate_space go through runtime::egui.
- contract/overlay-flag: CanvasScrollbars declares overlay; its drag story covers Open.
- Markers and exception entries only where the code is the exception (stories, trials, unit-square
coordinates, the balloons id scope).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 09:38:56 +00:00
Martin Ball
9a4dd39d3a
Workspace clippy: fix lints across ui crates and tests
2026-11-20 00:56:55 +00:00
Martin Ball
f77301a76d
Merge follow-up: resolve_in takes Reads; the host-key trial gives states through CommandStates; cargo fmt
2026-11-20 00:40:05 +00:00
Dylan M. Taylor
895d5a46f8
Framework batch 4 c: port follow-ups (see runs/fwb4-c.md)
2026-11-19 18:25:02 -05:00
Martin Ball
6dedbe4fe6
skeleton: merge up/next into area/ribbon-fw with conflict markers left in (land step 1)
2026-11-19 20:42:08 +00:00
haranishi
d0c7789b29
fix(shortcuts): activate tabs picked from the overflow menu
2026-11-19 23:55:18 +09:00
aiongg
8b784b4bdb
craft-menu: the in-window menu bar is a memoized view
...
MenuBarUi takes its English hook as a stateless fn item or capture-free closure; the menu model derives MemoProps.
2026-11-19 14:30:07 +00:00
Martin Ball and Claude Opus 5.5
874e096445
look-ribbon-3: Gallery::thumb names its tiles' thumbnail size (medium unless set), so a gallery of small pages (style sets) takes the large size and reads as the old ribbon's did; trial and story
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-19 14:21:15 +00:00
Martin Ball and Claude Opus 5.5
e2ed478fea
look-ribbon-3: a ribbon group ends with its title: Divider::length gives a separator its own length (no fill), a group's separator is as tall as the group; the title sits directly under the body on one caption line in every group; the dialog launcher sits on that line at the group's end, shown at its place so it never makes the title line taller; trials and story
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-19 14:19:21 +00:00