Commit Graph
25 Commits
Author SHA1 Message Date
Dylan M. Taylor a297595c4a fw sync: automation dock_method takes PanelSpecs; platform BrowserFiles writes to an embedding page (page_saves) before downloading, web-host's page_save feeds it (L-317); compile fixes in canvas/patterns trials 2026-11-22 23:30:13 -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
aiongg c1bf37c69d Preferences: one label column per page across its groups; AppearancePage rows join it 2026-11-21 08:51:55 +00:00
aiongg 3eebedfcff Component sets: the productivity set 2026-11-21 01:19:14 +00:00
aiongg baa3a2f258 Merge remote-tracking branch 'upstream/next' into ruler-look
# Conflicts:
#	crates/ui-contract/src/testing/mod.rs
2026-11-20 20:31:23 +00:00
aiongg b5edc283c0 Merge remote-tracking branch 'upstream/next' into ruler-look
# Conflicts:
#	crates/text/src/ui/ruler/stories.rs
#	crates/ui-canvas/src/canvas/rulers/stories.rs
#	crates/ui-gallery/src/chrome/card.rs
#	crates/ui-gallery/src/chrome/variants.rs
#	docs/contract-api.md
2026-11-20 19:21:26 +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 d395d4f831 Component sets: the app's set of component looks as a root env value
craft-theme gets `ComponentSet { Creative, Office }`: the app states its
set in `AppDefaults::set`, the user's own choice for the app
(`AppChoice::set`) overrides it, and `Selection::set` carries the result.
The suite's choice never carries a set.

ui-contract makes the set a style-affecting env value: `RootEnv::set`
puts it in the root app values, a container overrides it for its subtree
through `Overrides::values`, and windows, layers and popups take the
scope's value. A component reads it in `style` with `StyleCx::set`.
`Fixture::set` sets it in tests.

The gallery gets a Set choice in the More popover and a Set axis in the
Variants view.
2026-11-20 18:17:09 +00:00
aiongg 922dc82098 stories: story values kept in a local bind through ValueAt
Script: `let PAT = data.value(ARGS);` (or ranged, choice) whose locals a later Bind::bound / Bind::bound_mixed in the
same block binds becomes `let (PAT, AT) = data.value_at(ARGS);` and the binds become AT.bind / AT.bind_mixed; 292
values, 333 binds; unused Bind imports dropped.
2026-11-20 09:46:30 +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
Dylan M. Taylor b3b4b968cf Framework follow-ups F-18, F-20, F-22, F-23, F-26, F-27 (app red 5-6, L-224, L-229, L-235): AppearancePage can_favorite/size/contrast; HostedParamDialog set_param_label/set_param_shown; HostedPrint JSON sheet/sheets/notes; JSON sets recorded as edits (HostRequests::set_field); RecoveryStore::write remakes its folder; no autosave deadline while nothing waits 2026-11-19 11:07:38 -05: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
aiongg ccfa5fbdac theme-store: save over a library theme
Store::save_theme replaces a library theme under the suite lock when its
file still has the stamp the caller loaded it with (StoreError::Changed
otherwise; built-ins refused) and bumps library_revision, sharing the
import/delete write steps. The disk backend replaces through craft_atomic
with the existing pre-rename guard, which now checks bytes for
selection.json and the stamp for a theme. Op::Save / OpOutput::Saved on
the worker; SuiteClient::save_theme, is_saving and take_saved, one save
in flight. Tests: store save, changed stamp, built-in refusal, client
round trip, and a save child in two_processes.
2026-11-17 16:19:38 +00:00
aiongg 38c42aad58 Theme store's file system wrappers pass set_group through 2026-11-17 13:06:43 +00:00
aiongg d6e9997261 rustfmt the crates round D changed 2026-11-17 01:02:42 +00:00
aiongg 13b0375c93 Appearance page reads a SuiteView; SettingsDocument exposes its draft whole 2026-11-16 23:40:03 +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 d78a3aa6b2 theme-store: has_theme and in_library check the suite's themes without copying a definition 2026-11-13 18:36:52 +00:00
aiongg 6448292d7b SuiteClient: selection_read exposes whether the suite's selection has been read 2026-11-13 18:36:52 +00:00
aiongg 7665c90527 ThemeChip: the favourite star sits in a round raised badge in the top end corner, accent when a favourite, with the add or remove words as its tooltip 2026-11-12 14:32:46 +00:00
aiongg dae805591c SwatchPalette wells, ThemeChip and rail buttons take the old sizes from shared tokens
SwatchTable's cells can be wells at the control height (`wells`), as a
palette's swatches are; SwatchPalette shows its colours that way. A theme
chip is a medium control's height by a small one's inside `space.pad.control`.
A rail button (FlyoutButton) is `size.rail.button` square.
2026-11-12 14:32:41 +00:00
aiongg 2d6f600cba Check box, switch, radio and segmented take Enter as well as Space
The controls use the default activation keys. Arrows in a radio group move
focus without picking; Enter or Space picks.
2026-11-12 14:32:41 +00:00
aiongg 8735a8b1c5 Document and app crates on the framework: text, pages, table, review, timeline, menu, browse, dialogs, print, font manager, theme store, update, automation 2026-11-12 14:32:38 +00:00