aiongg
2313dd96a7
Readout trial: the release-pass check runs its tool in the canvas body, from the canvas's tool pass
2026-11-16 22:12:27 +00:00
aiongg
e902b2d306
Merge branch 'red/lag' into fw/mac1
2026-11-16 22:03:51 +00:00
aiongg
36becdf099
ToolHost::run takes the canvas's ToolPass only
...
Every host runs in its canvas body, so the form that read a CanvasOutput after
the canvas goes: CanvasOutput no longer carries the pass, and run has no
measuring-run return (no measuring run publishes a pass).
2026-11-16 22:02:07 +00:00
aiongg
8df0d78832
Page view hands the canvas's tool pass to the app's body
...
PageBody carries the canvas's ToolPass, so the app runs its tool host inside
the page view's canvas body, after its controls and before the overlays that
show what the tool did.
2026-11-16 22:02:07 +00:00
aiongg
88a153964a
Tool stories run their tool in the canvas body
...
The story body is the canvas body: it shows the canvas controls, runs the
tool through the StoryHost on the canvas's tool pass, then shows what reads
the tool's state, so the canvas shows a press and its moves in the same pass.
The run closure applies the tool's events and the story buttons' edits to the
document after the canvas. The body gets the document mutably, since some
tools edit it themselves.
2026-11-16 22:02:07 +00:00
aiongg
87a005c790
Merge branch 'ci/facade' into fw/mac1
2026-11-16 21:52:46 +00:00
aiongg
0734fdde26
Merge branch 'red/lag' into fw/mac1
2026-11-16 21:52:46 +00:00
aiongg
8cb12aa24f
Merge branch 'red/t4c' into fw/mac1
2026-11-16 21:52:46 +00:00
aiongg
83b6d0e48f
craft facade: craft-ai-agents is an external crate, outside the facade
2026-11-16 21:47:49 +00:00
aiongg
5eefdb88a1
Run the tool host in the canvas body at every caller but tool_story and PageView
...
Gallery mock panels, ui-bench, review story, doc examples and the test sites run
ToolHost::run on the ToolPass the canvas publishes, after the body's controls and
before the picture, which paints with .picture().
2026-11-16 21:37:38 +00:00
aiongg
858c826f75
Merge branch 'red/lag' into fw/mac1
2026-11-16 21:35:59 +00:00
aiongg
b8fba385db
Merge branch 'red/t6' into fw/mac1
2026-11-16 21:35:40 +00:00
aiongg
4c563057cd
Merge branch 'red/t5' into fw/mac1
2026-11-16 21:35:40 +00:00
aiongg
e546c64d77
Merge branch 'red/t4' into fw/mac1
2026-11-16 21:35:40 +00:00
aiongg
e6ab0f2153
Merge branch 'red/t3' into fw/mac1
2026-11-16 21:35:40 +00:00
aiongg
7916ccb93e
Merge branch 'red/t2' into fw/mac1
2026-11-16 21:35:40 +00:00
aiongg
7a0eb4c0ee
TransformOverlay reach: TransformReach::MoveOnly offers only the move reach outside the frame (no handles, sides, inside, outside, keys or menu; drawn only while its drag runs), replacing the f32 move reach; the box and overlay report the part their open press holds
2026-11-16 21:35:23 +00:00
aiongg
19f06c9322
Transform session: Undo or Redo inside the nudge pause records the nudges as their own step first, so Redo finds nothing after them
2026-11-16 21:33:31 +00:00
aiongg
1676d9d533
Canvas tool host runs in the canvas body: input, tool, picture in one pass
...
The canvas publishes its pass's tool input (ToolPass: id, rect, press, space,
view, snap) to its body; ToolHost::run reads it there, after the body's
controls and before its picture, so the picture shows this pass's press and
moves without a second pass. No ToolPass exists in a measuring run, so the
host never runs in one. The full-window canvas and ToolFixture run their host
this way, with the image in the canvas's picture slot. CanvasOutput still
converts for the callers not yet moved into their bodies.
2026-11-16 21:32:48 +00:00
aiongg
1231eaa6ff
Crop tool trial: a Straighten line inside a frame snaps its ends as points, never as a frame move
2026-11-16 21:31:42 +00:00
aiongg
edd7a2afcd
A host cancels an open press by its owner through the press lifecycle Escape uses; BezierOverlay's parts follow the press's tool
...
cancel_press_of(ctx, owner) marks the arena holding the owner's open press; its next lifecycle run ends the press with
PressCancel::Host, which step 9 turns into a HostChanged cancel of the gesture. PartsCx reads the component's press
slot, so BezierOverlay declares its parts under the tool the press began with, as it handles them. The overlay lets go
of a press that is cancelled or that none of its parts carries, and a release with nothing held does nothing.
2026-11-16 21:29:20 +00:00
aiongg
b8416e7cc7
An open press keeps the pointer until its button comes up: a press of a held button starts nothing, and injected input drops a Down for a button it holds
2026-11-16 21:26:42 +00:00
aiongg
af40a12e48
Font picker: a preview the pointer proposed ends when the pointer leaves the rows
2026-11-16 21:21:57 +00:00
aiongg
ebf36dc279
A Single Row or Column Marquee click inside the selection selects the line at the press snapped as a point, leaving out the selection's own edges
2026-11-16 21:21:53 +00:00
aiongg
2b66d91e8b
IME engine: the input method's byte-counted delete-surrounding deletes the characters those bytes cover, converted at the editor against its text around the caret
2026-11-16 21:20:27 +00:00
aiongg
bc61abdff2
Gradient preview carries the gradient's direction, so a Reverse edit changes the paint a chip sets
2026-11-16 21:18:29 +00:00
aiongg
de2c2972c2
BezierOverlay: an open press keeps the tool it began under; the host can cancel the open press
2026-11-16 21:17:55 +00:00
aiongg
503c7b1f78
Frames can keep their clock still, so time passes only where a test advances it
2026-11-16 21:17:37 +00:00
aiongg
4ad172d12d
Tool host: a drag's readout ends with its gesture; trial
2026-11-16 21:17:26 +00:00
aiongg
02732c6cb1
Crop session: a first Set records a box step (the history starts from the frame before the change)
2026-11-16 21:16:52 +00:00
aiongg
3151102d53
Trial: a ratio typed in several steps fits from the frame the edit began with
2026-11-16 21:15:41 +00:00
aiongg
c53698127e
TransformBox snapping follows PhotoCraft: inside drags snap the box's bounds, the reference point snaps to the box's nine points only, Distort corners snap to guides only and Ctrl keeps their snapping, and a folded-short corner reports no line
2026-11-16 21:15:37 +00:00
aiongg
83152b550a
Trial: the pen's eraser end keeps a drawn crop frame pending
2026-11-16 21:15:14 +00:00
aiongg
11b7cf0903
Outline draft: a shift freehand drag locks one of eight directions and stays on that line
2026-11-16 21:15:07 +00:00
aiongg
c1fa0841a0
Trial: P and H belong to the crop only while a frame is pending
2026-11-16 21:14:49 +00:00
aiongg
35d4413ffd
Direct Selection: a click on empty canvas keeps the path being edited; trials for the marquee gesture, the deselect click, the Convert click edit and the arrow nudges
2026-11-16 21:14:45 +00:00
aiongg
6c064a218c
Curvature Pen: a press on a carried anchor adds an anchor and a double click on a carried anchor changes nothing, as the path's handles stay
2026-11-16 21:12:29 +00:00
aiongg
ddb920e3f2
Font picker trial: the hovered row is proposed as the preview; closing the list cancels it
2026-11-16 21:12:23 +00:00
aiongg
db27e2c1c7
Crop overlay: a crop that fills what a turn uncovers keeps the press frame; Content-Aware Fill sets it
2026-11-16 21:12:00 +00:00
aiongg
6317e47925
Convert Point click on an anchor is reported as the click's edit even when the anchor already is a corner
2026-11-16 21:11:57 +00:00
aiongg
960d74f6b2
Trial: a Cmd line keeps turning the frame in place after Cmd is let go
2026-11-16 21:11:17 +00:00
aiongg
e51804e9a3
Crop: Cmd held is read before the overlay declares its parts and a Straighten line in progress keeps its state
2026-11-16 21:11:01 +00:00
aiongg
c101ffbcbe
IME engine: the input method's delete-surrounding reaches the editor owning the IME
2026-11-16 21:10:15 +00:00
aiongg
661abbb67e
Direct Selection marquee is a gesture: Escape cancels it and the cancelled marquee selects nothing
2026-11-16 21:09:44 +00:00
aiongg
f1cc690bbc
Pen: the anchors Undo and Delete never take back are the draft's kept run, so a draft handed back by Undo loses its anchors
2026-11-16 21:09:13 +00:00
aiongg
fd73622066
Regenerate docs/components-index.md
2026-11-16 21:01:30 +00:00
aiongg
1295b96958
text, timeline: composer docs and trials in the framework's trial form (docs, gate)
2026-11-16 20:57:00 +00:00
aiongg
bd254f1320
craft facade keeps its ai-agents feature; keymap docs name the kys depth limit, not a private constant
2026-11-16 20:15:00 +00:00
aiongg
c89eec0537
Scroll bar trial: hover with the hover mix the thumb width resolves from
2026-11-16 20:03:12 +00:00
aiongg
95b0a3e714
Design-lint clean: the scroll thumb's width per state, Canvas::layer_bounds as a prop, centring relations in the tool rail trial
2026-11-16 19:55:05 +00:00