Commit Graph
15074 Commits
Author SHA1 Message Date
David Mann e37856b8a6 Merge pull request #16197 from aiongg/doc-tracked
Document state is Tracked; command-state sources are derived values (#15709)
2026-11-21 18:37:52 +01:00
David Mann c46da419ac Merge pull request #16225 from davidmann4/integration-batch-24
Integration batch 24: 18 green PRs after #16180
2026-11-21 18:32:32 +01:00
David Mann 5c3e297cf5 Merge main 1f86f4bacf into integration batch 24 2026-11-21 18:24:25 +01:00
FredAppsandFredApps 1f86f4bacf io: cover Camera Raw settings through PSD save and reopen (#16218)
Co-authored-by: FredApps <[email protected]>
2026-11-22 00:17:28 +07:00
David Mann 096a5ae1e0 Merge PR #16215: Status bar: keep the bar inside the window with memoized views 2026-11-21 17:59:27 +01:00
David Mann a4f378966c Merge PR #16171: Open Recent lists an automation open where the file is on disk (#16098)
# Conflicts:
#	crates/ui-egui/src/control/tests.rs
2026-11-21 17:25:58 +01:00
David Mann 2906b5b34d Merge PR #14272: Artboards to Files: the File Type list matches the reference application (#13635) 2026-11-21 17:25:13 +01:00
David Mann 8e8c1420d3 Merge PR #16069: Appearance and Language menu picks change the theme and the language 2026-11-21 17:25:08 +01:00
David Mann 4e3ed1fee9 Merge PR #16168: Smart Filter Lens Blur: refuse an alpha channel depth on edit (#16167) 2026-11-21 17:25:00 +01:00
David Mann aefa1bd5af Merge PR #16154: Cover Escape ownership in Targa Options 2026-11-21 17:24:57 +01:00
David Mann 295164cd4a Merge PR #16138: Cover canceling a staged Vanishing Point paste 2026-11-21 17:24:53 +01:00
David Mann 45c5ddeec0 Merge PR #16134: Restore guide paint order and shortcut recorder coverage 2026-11-21 17:24:49 +01:00
David Mann ad04ed6e13 Merge PR #16126: Restore Alt-drag corner radius coverage 2026-11-21 17:24:45 +01:00
David Mann 264b37412a Merge PR #16125: Restore Color Sampler context menu coverage 2026-11-21 17:24:41 +01:00
David Mann f095de6eeb Merge PR #16124: Restore Fit Image dialog validation coverage 2026-11-21 17:24:37 +01:00
David Mann ff602e1977 Merge PR #16110: Clear pending Crop state after canvas Enter 2026-11-21 17:24:33 +01:00
David Mann e4c4d49cea Merge PR #16109: Map tests removed by the shared UI framework port 2026-11-21 17:24:29 +01:00
David Mann 7bde971eb0 Merge PR #16085: Tests: trim the bevel thread-independence matrix (#15935) 2026-11-21 17:24:25 +01:00
David Mann 4f1e50f67c Merge PR #16087: Credit MMexicann as mexicann 2026-11-21 17:24:21 +01:00
David Mann e781a2514a Merge PR #15846: fix(xtask): include current ATN command paths in the corpus gate 2026-11-21 17:24:16 +01:00
David Mann f17f0de50c Merge PR #15840: fix(engine): reserve transparency in Exact indexed conversion 2026-11-21 17:24:10 +01:00
David Mann d8ede65774 Merge PR #15165: fix(paint): wrap procedural pattern seed hashing 2026-11-21 17:24:04 +01:00
David Mann dc405d077a Merge pull request #16180 from aiongg/frame-t2t3
Memoized views for the status bar, menu model, brush picker and preset lists; pin craft-libs next
2026-11-21 17:19:55 +01:00
aiongg 12a5837e88 Command-state sources are derived values (#15709) 2026-11-21 16:12:46 +00:00
aiongg 72f7f93777 Document state is Tracked (#15709) 2026-11-21 16:12:46 +00:00
David Mann 3dbb289460 Status bar: keep the bar the slot's direct child, memoize its body and trailing group
One memoized view around the whole status bar made the bar a child of the status slot's row: since craft-libs
02be56cfbb a memoized view in a row moves down onto the row's line, so the bar was shifted about 5 px and its
readout was clipped at the window's bottom edge. The bar now stays the slot's direct child, as on main, and its
body (readout, message) and trailing group (render path, redraw, job) are a memoized view each, as the options
bar's lead is.
2026-11-21 16:59:54 +01:00
aiongg 919e66b497 Palette trial: every entry keeps its command's English name, as its label or beside a translated label 2026-11-21 15:05:22 +00:00
aiongg 78ea49c77e Clippy: preset rows take slices, a named type for a resolved gradient, no explicit derefs of the Tracked brush and presets in tests 2026-11-21 14:34:53 +00:00
aiongg 3b04515f1c Migrate Presets writes the presets only when it adds a group: a migration that adds nothing leaves their revision alone 2026-11-21 14:34:53 +00:00
David Mann da58055365 Merge pull request #16176 from davidmann4/fix/16172-home-rail-icons-cards
Home: the old Discord and GitHub icons, recent cards of one size (#16172)
2026-11-21 15:15:14 +01:00
aiongg 4a5555bdcb Pin craft-libs next 7d8b961515 (craft-libs#2756) 2026-11-21 14:11:22 +00:00
David MannandClaude Opus 5.5 0203c5865d Repin craft-libs next at 2946b2041
Brings in storytold/craft-libs#2758 (New Document: Background Contents
before the advanced fields, the save-preset icon on the Name row, section
captions), #2762, #2767, #2770, #2729, #2785 and #2569.

previews, stroke trails and Object Finder hover masks now take a Serials.
The app holds one (texture_serials) for all of them, since a preview of one
name is made in several places (a transform begins in one, re-renders in
another). The Object Finder job sends the region only; its mask is made on
the UI thread, as a cache hit's already is.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 14:10:27 +00:00
aiongg 6f6466987a PhotocraftApp::commands_run goes: nothing reads it since the region versions went 2026-11-21 14:07:16 +00:00
aiongg d370e394e0 Canvas brush picker: it closes when its popover writes its binding; the output's open is false in a run that shows no layer 2026-11-21 14:07:16 +00:00
aiongg da93d53af6 The canvas brush picker is a memoized view; idle trial: an idle open picker runs no component 2026-11-21 14:07:16 +00:00
aiongg 4bfb5c7567 Preset lists as sources: brush picker, Brushes panel, tip grid, preset panels and pickers, Fill, Pattern Fill, Layer Style and the Preset Manager build their rows from MemoProps inputs; brush picker count trials 2026-11-21 14:07:15 +00:00
aiongg c9ebb9246d Menu facts build fixes; the gate's refused list derived from the menu facts; trials run engine commands directly 2026-11-21 14:07:15 +00:00
aiongg 7ba70a634e Menu floor trials: idle key bytes equal at small and large model sizes, no derived builds when settled, a status message runs only the status view, the menu model builds only for a shown fact, and the held model equals a fresh build after each step of a script 2026-11-21 14:07:15 +00:00
aiongg 4a97e311c8 Status bar as one memo view: StatusProps with the values, item, view, messages and progresses, events through an Outbox; the job's progress is a pure value (jobs_ui::status_job) 2026-11-21 14:07:15 +00:00
aiongg 292cdc6dc5 Menu model derived from MenuFacts: the facts the rows show, through their revisions or as small plain values; state_hash, had_input and the hash-keyed MenuModel go; the native menus re-sync on the bar's revision and the keymap. PresetState.rev gives way to the Tracked revision, saves that rename a document move documents_generation, and the default proof setup shares the built-in profile 2026-11-21 14:07:15 +00:00
aiongg 4c78950e68 Menu facts, step 1: session areas the rules read held in Tracked
The clipboards, the presets, the colour proofs and the image-assets list become
Tracked, so the menu's facts can key on their revisions. DocId derives PlainData
and MemoProps. UI: the recent files and the workspaces become Tracked.
2026-11-21 14:07:15 +00:00
aiongg c19d432dec UiState saves its Tracked fields through the facade's tracked-serde feature and compares by value again 2026-11-21 14:07:15 +00:00
aiongg a8f21a383d Brush tip is Tracked: the Brush Preset field runs only for the presets, the tip and the values it shows
photocraft-paint's BrushSettings::tip is a Tracked<TipShape>; tools.setBrush keeps its revision when the new brush's
tip equals the old one. The options bar's field takes the presets, the tip and a BrushFace (size, hardness, angle,
roundness) as props instead of the whole brush, so an Opacity or Flow write replays it. Trial:
brush_settle_trials.
2026-11-21 14:07:15 +00:00
aiongg a3eb80d5dd Memoized views: options bar lead, Brush Preset field, Brush Settings toggle, paint members, Brushes and Color panels
The picker's and the Brushes panel's view states are Tracked; the trials count memoized views.
2026-11-21 14:07:15 +00:00
aiongg cf84333049 Brush and presets are Tracked
The engine's ToolState.brush and ToolState.presets are Tracked, so a memoized view that shows them keys on their revisions; photocraft-paint's brush types derive PlainData.
2026-11-21 14:07:15 +00:00
David MannandClaude Opus 5.5 8f3e231794 Home: the old Discord and GitHub icons, recent cards of one size (#16172)
Discord and GitHub shared a globe icon since the framework move; they get the
speech bubble and the chain link back. The recent cards grew to fill the row
(about 390 points at a desktop width); they keep one size again, about 230
points, as many to a row as fit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 14:25:40 +01:00
David Mann dc12ca9182 Merge remote-tracking branch 'origin/main' into fix/automation-open-recent-absolute 2026-11-21 14:17:53 +01:00
David MannandClaude Opus 5.5 e1d950d6b2 Smart Filter Lens Blur: setParams refuses an alpha channel depth
Applying Lens Blur to a Smart Object already refuses an alpha channel as
the depth map: a smart filter re-renders from its params alone, without
the document's channels (#7400). layer.smartFilter.setParams did not, so
since the Lens Blur dialog sends a chosen channel as `depthMap: "channel"`
(#15883), OK in a Smart Filter's Lens Blur dialog could record a source
the re-render cannot read. setParams now refuses it with the same message,
merged or replaced, and the filter and history stay as they were.

Follow-up to the review of integration batch #16092.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 14:04:27 +01:00
David Mann fbd84f2d88 Merge pull request #16092 from davidmann4/integration-batch-23
Integration batch 23: EPIC-UI-REWORK tab close, Tile titles, Custom Shape Alt-click, Lens Blur depth channel
2026-11-21 13:54:13 +01:00
Mex 60ce64e2bf Cover Escape ownership in Targa Options 2026-11-21 13:33:25 +01:00