storytold/vectorcraft main 2b7dd67ac0 (#9352) replaces Session::bucket_paints with tool_paints,
which is what the gate shards and the Sonar instrumented archive were dying on. No nightly or
policy file changes.
The trust-closure flow-mapping reader split its masked copy, so a quoted key (`{"environment":
release}`, `{'uses': ...}`) became `''` and the scan accepted a route it must refuse. It now splits
the original bracket-free mapping and keeps the mask only for the shape check. New cases cover a
double- and single-quoted `environment` key, a quoted `uses` key, and a harmless quoted key that
must still be read rather than masked.
The activation notes and the signer caller said the `release` environment already trusts
`nightly-signer`. It admits only `release` today, so both now state that the environment must
admit `nightly-signer` before the first dispatch.
The Sonar shape test reads the accepted security bound as a Decimal, with a regression case: `5.0000000000000001` must not round to `5.0`. The registry notes no longer call this app's row Linux-only now that #370 carries the Windows and macOS rows.
craft-common-actions main is now `be00e5ccd18b68e950c8a08532f2230e7c3d0cba`: #371 admits a
candidate on the built commit's own Sonar analysis instead of main's latest, after #370 (the
Windows and macOS registry rows) and #369 (helper checkouts kept out of the clean-source check,
macOS on `macos-15`), which follow #364 and #363.
Both callers name it in `uses` and `tooling-revision`, the policy names it as
`producer_tooling_revision`, `signer_tooling_revision` and `producer_workflow_ref`, and the
activation notes record what the pin is.
Checked at that commit: the candidate `contract()` for this policy (its rules are unchanged by
#371), `nightly_app.admit` on `main` and on `nightly-signer`, all three platform targets with their
release-ref plug-ins and entrypoints, and this app's packaging suites.
The contrast row, its menu rows and its tests move to the craft UI framework,
as main's Color Wheel panel now uses it:
- The row is a Row with a Swatch named Background (a color well whose value is
the background's hex value) and Text for the ratio and the AA and AAA
results, each with the WCAG minimums as its tooltip.
- Show Contrast, Contrast For and Contrast Background are rows of the panel
menu's items (ui.colorWheel.contrast, contrastFor.<id>,
contrastBackground.below and contrastBackground.current), after Show
Opacity. Current Color is gray, and its row answers an error, while the
active proxy has no solid color.
- The kept background and ratio answer are fields of WheelUi instead of panel
state. The answer's key also holds whether the Live Paint Bucket paints,
which changes the proxies' paint without a document revision.
- The row's tests run in the panel's Fixture by accessible name; the drag test
runs an interaction whose previews set the fill, as the Show Document Colors
drag test does.
- The settings lists in the params text, docs/mcp.md and the tests take both
opacity and the contrast keys.
Export… in the Print Presets, PDF Presets, Transparency Flattener Presets
and Perspective Grid Presets dialogs suggested the document's name
(Untitled.vcprintpresets). It now suggests the selected preset's name with
the format's extension, made safe as a file name the way Export Library…
makes a library's. A built-in preset's file is named without its brackets
([Default] gives Default.vcprintpresets). The four dialogs share one
helper, preset_manager::export, and the web downloads the file under the
same name.
craft-common-actions main is now `fc7124a1defa96813aee060031dc8b4d2afa3652`: #370 admits this
app's Windows and macOS nightly registry rows, on top of #369 (shared helper checkouts kept out of
the app's clean-source check, and macOS on `macos-15`), which follows #364 and #363.
Both callers name it in `uses` and `tooling-revision`, the policy names it as
`producer_tooling_revision`, `signer_tooling_revision` and `producer_workflow_ref`, and the
activation notes record what the pin is.
Checked at that commit: the candidate `contract()` for this policy, `nightly_app.admit` on `main`
and on `nightly-signer`, all three platform targets with their release-ref plug-ins and
entrypoints, and this app's packaging suites.
The panel's style browser used one id for every document, and styles
are keyed by name. A rename field left open in one document moved to
the next document's style of the same name, with the text typed so far,
and Enter renamed that document's style. The browser id now includes
the document's uid, so the open rename field and the scroll position
are kept per document.
The new test types into a style's rename field, switches documents,
types again and presses Enter. Without the change the second
document's style is renamed to "XY".
The test paints a dashed Overlay::Line that runs far past both sides of
the canvas through paint and checks that only the dashes near the canvas
are drawn, all on the line.
The Align panel's buttons, and the Object > Align and Object > Distribute
items that run the same commands, are UI commands. Their enabled check
returned only true or false, so a dimmed button was described as "command
`Vertical Distribute Top` is not available right now", in its tooltip and
to screen readers.
They now give the reason of the engine command the button runs: "select at
least two objects" for Distribute with fewer than two objects, "nothing
selected" for Align, "no document open". With the Artboard tool chosen
they say how many artboards Distribute needs ("select at least three
artboards", or two with Align to Artboard).
A dimmed menu item's reason is now shown in the interface language, as
the fallback text already was.