bflatastic
928e478220
dialogs: Save As onto the document's own file writes the file type the panel picked, also after the changed-on-disk question's Replace: the own-file path dropped the pick
2026-11-23 21:26:11 +07:00
bflatastic
52d1ec7402
menu, dialogs: rustdoc -D warnings clean: no redundant link targets on MenuBar::show; the service docs name the private with_chosen_type without linking it
2026-11-22 22:52:27 +07:00
bflatastic
694f73388c
dialogs tests: the chooser's service trial expects Picked::Saved for a Save (contract fl.F1) and clicks once the chooser has laid out its listing
2026-11-22 19:21:20 +07:00
bflatastic
cfb9ec9c6e
dialogs: the chooser's Save answers Answer::Saved with the type picked, and a browser save answers Picked::Saved, so name settling and records_file follow upstream's save path
2026-11-22 01:33:35 +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
6766559d37
dialogs: a hook runs around the native dialog's blocking show
2026-11-21 22:13:27 +07:00
bflatastic
d1fbb63a56
files-w1: net change of 1 commits
...
- files-w1: written from its sheet
2026-11-21 21:28:01 +07:00
bflatastic
5e06e0cace
Contract stubs: refresh (i18n, keymap, behavior, font-catalog, platform, window, appkit, wayland, automation, dialogs, ui-contract, ui-widgets, ui-panels, ui-canvas, ui-patterns, color-ui, draw, pages, print, font-manager, text, layers, craft)
2026-11-21 19:03:27 +07:00
bflatastic
1f60297144
Contract stubs: craft-color-ui, craft-dialogs, craft-draw, craft-imaging, craft-layers
2026-11-21 13:52:28 +07: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
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
b87e5f1ade
Expose chooser trials to the registry
2026-11-20 15:15:52 +01: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
aiongg
bddc593180
Merge storytold next into memo-audit-fix
...
Memoized views stay the one change mechanism: next's settling-path additions (modifier reads as bind keys, given-edit
and keymap unsettling, settle counters) give way to the tracked inputs that cover them, and request_own_repaint calls
become request_repaint. next's command board, node facts after the node check, the guide drag out of a ruler and the
CommandStates input are taken; the trials next wrote on Lazy::settles run on memoized views. The ruler guide env value
keys a view under the canvas in every pass of a drag. The replay audit's run in the gate takes next's target selection.
2026-11-20 10:26:06 +00:00
aiongg
5589523161
stories: values bound together come from one story value or StoryData::pair_at, helpers bind by source
...
A story binds two values at once from pair_at when one of them must keep its own name, as a dialog's open does for
the gallery's opener; values bound together otherwise share one story value, and a helper takes the value's ValueAt
beside it. The PDF export story's open leaves its settings value, so the card opens the dialog again after Cancel.
Unused Bind imports in story files are gone.
2026-11-20 10:11:06 +00:00
Martin Ball and Claude Opus 5.5
84b8358d24
dialogs trial: the chooser folder field is compared with the platform separator (Windows)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 09:35:40 +00:00
aiongg
22835c7cf2
stories: format the scripted binds
2026-11-20 08:04:18 +00:00
aiongg
13764666ac
stories: bind story values through StoryData::bind
...
Scripted: Bind::bound(data.value(..)) becomes data.bind(..) and Bind::bound(data.ranged(..)) data.bind_ranged(..).
2026-11-20 07:43:21 +00:00
Martin Ball and Claude Opus 5.5
bc4bb7bd73
Merge craft-libs next 7efbe8bb6 into the WordCraft port
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 03:53:30 +00:00
Alan Rockefeller
bbe5b514a8
Dialogs: a Save over an existing file keeps its extension's spelling ( #2114 )
...
With Lowercase Extension on, saving over an existing PHOTO.PNG wrote
PHOTO.png: a second file beside the one the panel asked about on a file
system that tells letter case apart, or a silent rename on one that does
not. settled_save_path now lowercases only a name that does not exist yet.
Port of storytold/photocraft#9899 , whose code moved here in
storytold/photocraft#15449 .
2026-11-19 20:16:53 -05: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
aiongg
52c1f953ea
craft-ui: env word sets, Units, formats and the host key memoized views by generation
...
A word set written by words! keeps the generation of the Words it was localized in and keys by it. Format, DateFormat
and Host get a generation per instance built (clones keep it), and Units keys by its format, words and point size.
The scope key and the host's word cache use these generations, not pointers. Checks that captured env words, units
or other locals take them as check_with inputs (page range, path field, print preview and font picker stories).
2026-11-19 13:31:20 +00:00
FredApps
938d170b87
Keep library trials available without a UI suite and preserve the generator API
2026-11-19 14:11:23 +01:00
FredApps
b04d18a735
Select UI suite items through explicit registries
2026-11-19 12:20:08 +01:00
FredApps
f8dddb2a55
Split UI test kit from story suite
2026-11-19 09:25:07 +01:00
Martin Ball
4f37976c25
platform-w4: net change of 4 commits
...
- platform-w4: written from its sheet
- platform-w4: repair 1
- platform-w4: review fixes (review-1)
- platform-w4: review fixes (review-1b)
2026-11-18 17:25:03 +00:00
Martin Ball
4414e30f9e
fmt: shell framework batch
2026-11-18 12:44:54 +00:00
Martin Ball
0d37561828
shell-w2: review fixes (review-2)
2026-11-18 12:26:29 +00:00
Martin Ball
0bc3e87d3d
shell-w2: drop the stale finished read left by the review fix
2026-11-18 12:22:48 +00:00
Martin Ball
1c9051d6c3
shell-w2: net change of 3 commits
...
- shell-w2: finished by an agent
- shell-w2: finished by an agent
- shell-w2: review fixes (review-1)
2026-11-18 12:20:27 +00:00
Martin Ball
3981899044
Contract stubs: phase 4 refresh (decisions S-L141..S-L152, consistency contract changes)
2026-11-18 10:20:44 +00:00
Martin Ball
b14ea47830
Contract stubs: craft-browse craft-dialogs craft-menu craft-print craft-review craft-table craft-update craft-automation
2026-11-18 08:35:49 +00:00
aiongg
c23956c73c
merge-fwe: FW16 E6: PathField drops an unused import
2026-11-16 12:53:08 +00:00
aiongg
6e7c1d4e7c
merge-fwe: FW16 E6: PathSetting, a Preferences path row over the settings draft (Browse through the host's file service, keys naming list entries); PathRow files host picks itself, PathField uses it
2026-11-16 12:44:56 +00:00
aiongg
0835e114ca
Fix CI lints: samples referenced in every build, missing docs, rustdoc links, deprecated Ui::id, unused manifest dependencies
2026-11-16 03:03:33 +00:00
aiongg
9d68b50a52
top-w28: net change of 1 commits
...
- top-w28: written by an agent
2026-11-15 12:06:38 +00:00
aiongg
20e0bcf93b
dialogs-w2: net change of 3 commits
...
- dialogs-w2: written by an agent
- Integration: ParamRows keeps dialogs-w1's preview_colors beside the patterns rows (dialogs-w1 7a195af4a)
- dialogs-w2: review fixes (review-1)
2026-11-15 04:46:07 +00:00
aiongg
deeb91802f
Lints: doc links, test lint allowances, struct update in tests, wildcard imports, dead code
2026-11-14 02:35:35 +00:00
aiongg
8378864db3
Lints: gate test-only items, simplify types, struct literals, doc link
2026-11-14 01:25:10 +00:00
aiongg
d08c97c8c5
Lints: story facts initialisers, doc links, path field last edit
2026-11-14 01:14:54 +00:00
aiongg
a17171af48
Lints: drop the workspace missing_docs lint and warn on it in the framework crates that document every public item
2026-11-14 00:15:29 +00:00
aiongg
e51e929e48
Dialogs: automation surface for every StackDialog
...
StackDialog gains json_fields and set_json_field; DialogHost lists its open
dialogs with their fields, sets one by id, and confirms or cancels by id
whatever the type. HostedParamDialog (values by parameter row, with a
programmatic OK), StandardPrompt and UnsavedChangesDialog (their choice)
implement them. craft_automation::dialogs runs ui.dialog.set/confirm/cancel
on a host and lists its dialogs for ui.inspect.
2026-11-12 22:27:40 +00:00
aiongg
f7f75c178f
Sizing::FillWidth makes a leaf fill its row's leftover room
...
Component::fills defaults to the width when the caller set Sizing::FillWidth,
and the sizing stays on the component after step 1 so the layout hooks read
it. Button, TextField and Slider lose their fill_width props and Swatch and
GradientSwatch their fill flags; callers set Sizing::FillWidth. The blend
select in BlendRows takes the room before Opacity, as in PhotoCraft.
A contract trial checks that a FillWidth leaf takes the row's room and a
Content leaf does not.
2026-11-12 15:12:10 +00:00
aiongg
b54195e805
One path row: PathRow, a path field and a Browse button that reports the press; ParamRows and Watermark ask with a PathRequest, PathField picks through the file service
2026-11-12 14:32:50 +00:00
aiongg
13221fd697
Collections take their width from content where their column gives none, and honour their pad
...
A collection that fills the width (Fill or FillWidth) follows the rule a
container does: where the enclosing body does not give its width (sized
from content, or a content column), a measuring run takes the width from
its content (header least width, else its largest row, at least its
ideal_width) and the column holds it across the width it settles on. A
FillWidth TabStrip or list in a dialog's column no longer sets the
column to the screen's width. Env::gives_width names the rule for both.
Collections honour ContainerProps::pad as containers do: the items hook
reports it (ShapeHooks::pad), the pass carries it in Resolved::pad, and
step 5, the measure view's room and step 7's content rect read the
padding through steps::padding. The header, rows, scroll bar and empty
text sit inside it; the surface covers the whole rect. #[container]
forwards pad, so Panel's own copy goes.
The spelling, file list and glyph wells are a List or TileGrid with
surface(Sunken).pad(Control); RelinkDialog's table is FillWidth.
2026-11-12 14:32:48 +00:00
aiongg
280f5cbdf7
Wells: the spelling suggestions, the file list and the recently used glyphs in a sunken well, and the notes editor in the text well
2026-11-12 14:32:47 +00:00
aiongg
91fec0031d
Side button columns in the dialogs that had them (K16)
...
FindReplace, Hyperlink, Paragraph, Check Spelling, Marker, the Contour editor, ListManager
and ParamDialog with a preview put their buttons in the side column. FormDialog takes extra
footer buttons (ResetFooter::extra, ResetPick::Extra) in place of hand-made buttons in
footer_extra; ParamDialog's Preview check box sits under the buttons. FileListPicker's
buttons stand beside the list through Stack::footer_beside, one width.
2026-11-12 14:32:40 +00:00
aiongg
f74d963e8f
Collection keys: Cmd+] and Cmd+[ move the selected items, Shift to the ends
...
The stacking keys replace Alt+Up and Alt+Down as the reorder keys of every reorderable
collection and section stack, from one table in the key table. ] moves toward the front:
the start of a vertical order, later in a horizontal strip. The keys move the selection
as a block (the lead alone when it is not selected), with the tree rule for into_groups;
the single-row nudge helpers go. Alt+Down is Open everywhere.
2026-11-12 14:32:39 +00:00