Conflicts:
- options_bar/fill.rs: main's HealingReplace arm joins the Paint Bucket's
mode match, which writes only when the mode changes.
- retouch_ui/bar/tone.rs: Finger Painting keeps its tracked binding;
main's pressure-for-size switch follows it.
* ci: notify artcraft-services on release state changes
* notify-services: pass only the dispatch token to the shared workflow
secrets: inherit handed every repository and organization secret
(including signing credentials) to an unpinned @main workflow. The
reusable workflow only needs ARTCRAFT_SERVICES_DISPATCH_TOKEN, so
forward just that.
---------
Co-authored-by: FredApps <[email protected]>
* fix: mark duplicate images unsaved with their own history state
* test: use engine save API for duplicate close regression
* test: install commands for duplicate history cases
* test: keep duplicate history fixture core-only
The merge kept both import lists in channel_cmds/view.rs. Main moved the
code that used AlphaChannel, Color and ColorIndicates out of this file,
so clippy -D warnings failed on unused imports.
A review round on the draft pull request:
- the group refusals now pin the painted child layer's pixels inside the
group before and after the click; a group has no surface, so the
click-point check alone was vacuous there;
- the mask guard is renamed to what it actually pins and now also pins
the engine's "Paint Bucket" state label and its filled: true answer;
- the nested-group fixture nests the active group inside a group that
really holds a red child.
No production-code change.
A Paint Bucket click on a hidden target layer, a layer with Lock image
pixels or Lock all, or with a group active filled nothing (right), but the
first two said so only in the status bar and the group used the shared
group sentence. The reference application opens a modal alert with OK for
each and changes nothing.
Naming the tool in brush_refusal::tool_name and counting Lock image pixels
for the Paint Bucket in locked() routes all three through the press-time
alert that press_refused already asks before the status bar and before
refuse_group, so the group case speaks once and in its measured words. No
new wording: the sentences are the house HIDDEN/LOCKED/GROUP constants the
Brush, Magic Eraser, Burn and Healing Brush items merged, and the tool
name is tl!("paint bucket") like tl!("burn tool").
The bucket click itself is untouched: a hidden, locked or group target adds
no pixels and no History state, a visible unlocked layer still fills, a
pixel layer inside a group fills, Lock transparency and Lock position still
fill, and the group's targeted mask keeps today's exact output. Two tests
that pinned the bucket's old status-bar rule (hidden_layer_tests,
paint_tool/tests) are re-pinned to the alert, each keeping its rest.
New tests: paint_bucket_refusal_alerts_tests.rs, 11 tests; 5 of them fail
on unmodified main (the three measured refusals, the nested-group
neighbour, and the ui.inspect dialogs round trip).
The shell keys each slot by its region version: title_bar, options_bar
and a new status_bar version. TitleSlot and OptionsSlot go; the status
bar keeps its body and trailing views inside its slot. Trials tell the
shell's slot views apart by id in the shell's order.
Conflicts:
- Cargo.lock: kept photocraft#17149's lock. F6's a5e476b933 committed a lock the local patch file had rewritten.
- panels/region_versions.rs (no textual conflict): F6b deleted `serialized`, which F4's canvas version still uses for
the UI state that has no `Hash`. `serialized` stays; the canvas version reads the tool options through their
revision instead of serializing them.
The vector tools' drain after every canvas run read `pointer::frame` only for the buttons held and the release, and
the type transform box read it for the modifiers and the press. Both noted the pointer, so any pointer move ran the
document area. They read `pointer::press_state` and `pointer::mods`, which only a press, a release or a modifier
change moves. The pointer-over-panel trial stays held back: two craft-ui-canvas reads (the tool host, the middle-button
autoscroll) still note the pointer on every canvas run.