Commit Graph
2213 Commits
Author SHA1 Message Date
B-uchi ae592a0d71 M8: design context joins aliased and style-bound variables, and reads only valid targets
From review: the variables a style binds and those an alias or colour
calculation reads are joined too, followed to any depth; fonts come from the
text layers placed in the tree, so a second target's font isn't lost to a
separate walk's budget; and a malformed `id` or `ids` entry is an error
instead of reading the selection or dropping the entry. A regression test for
each fails without its fix.
2026-11-18 20:37:44 +01:00
B-uchi 2d4309c9aa M8: design context for AI agents
inspect.designContext and the MCP tool design_context read the selection (or
ids, or a scope) in one call. Each layer keeps apart the values the designer
set (explicit), those layout or the file worked out (derived) and those with no
direct CSS equivalent (unsupported, with the reason). The variables (every
mode's stored and resolved value), styles, components, fonts and assets the
tree uses are joined once, and `missing` says what the design doesn't specify.
A connected instance gives its code snippet instead of its layers. Large trees
are capped and say so, and the MCP tool asks for fewer layers until the result
fits the client.
2026-11-18 20:37:44 +01:00
Trevor Brown 0d70c332b1 M12: boards: code blocks (doc and engine): a board code block that hugs its lines, with a language (#2237) (#2282)
The change from #2282 by @TrevorBrown-dev, as one commit.
2026-11-19 02:00:46 +07:00
Trevor Brown 6b625a0d46 M6: .fig export writes ruler guides (#2336) (#2337)
The change from #2337 by @TrevorBrown-dev, as one commit.
2026-11-19 01:28:57 +07:00
Trevor Brown 98c4714458 M8: dragging near the canvas edge pans the view, as in Figma (#2015) (#2104)
The change from #2104 by @TrevorBrown-dev, as one commit.
2026-11-19 01:19:39 +07:00
bflatastic 64b0b45108 M4: Outline stroke on a text without a stroke outlines its glyphs (#2405)
A fill-only text was left as it was: Outline stroke skipped every layer
without a visible stroke. A text now flattens in place into a vector of
its glyphs, filled as the text was and keeping its colour style,
constraints, visibility and lock; a text with no glyphs stays.
2026-11-19 00:56:10 +07:00
Trevor Brown b5d43a7de2 M8: a Shift-click range in the Layers panel keeps a frame, not its covered children, as in Figma (#2330)
The change from #2330 by @TrevorBrown-dev, as one commit.
2026-11-19 00:47:42 +07:00
Trevor BrownandClaude Sonnet 5.5 4806b95e8e M5: a drag from a child of a selected frame moves the frame (#2360)
A press on a layer inside a selected one now drags the selection, and a click
without a drag selects that layer (also in Dev Mode and for a single selection),
as in Figma. Cmd/Ctrl, Shift and layers outside the selection are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-19 00:21:12 +07:00
Trevor BrownandClaude Sonnet 5.5 e94ecfca7a M5: the arrow keys move a layer along the canvas axes inside a rotated parent (#2372)
transform.nudge applied the step in the parent's local space, so Down inside a frame
rotated 90 degrees moved the layer sideways. The step is now turned into the parent's
space first (falling back to the plain step if the parent's transform is not invertible).
Auto layout children are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-18 23:46:16 +07:00
BFlat 39da85ca8a Merge pull request #2439 from storytold/carry/2359
M1: Paste with a layer in a frame selected puts the copy next to it (#2355)
2026-11-18 23:44:36 +07:00
BFlat acf0b14da4 Merge pull request #1735 from storytold/feat/asset-analytics-actions
M3: library analytics count insertions and detachments of styles and variables
2026-11-18 20:03:41 +07:00
BFlat 18b4acfda9 Merge pull request #2440 from B-uchi/pr/inspect-stored-keys
M8: get_node reports text and stroke settings it stores
2026-11-18 19:46:38 +07:00
bflatastic e4bc567855 M3: library analytics count insertions and detachments of styles and variables
Applying a style or variable, or copying or duplicating content that uses it,
inserts it; the Detach button detaches it; an instance counts as its component
alone. Show usage and library.usage give them over the chosen period.
2026-11-18 19:38:54 +07:00
BFlat 2d8c412e6b Merge pull request #2443 from storytold/fix/variants-share-properties
M3: combining components gives every variant the properties any of them had
2026-11-18 19:38:16 +07:00
bflatastic d21aebab4b M3: combining components gives every variant the properties any of them had
A property added to a set goes to all its variants (component.addProperty), but
Combine as variants kept each component's own definitions, so a property made
on one component before combining was missing from the others: their layers
couldn't be bound to it ("the component has no property") and an instance
switched to one of them dropped its value. make_variant_set now gives every
variant the properties any of them has (share_props, through the give_prop step
addProperty uses too); a variant with a property of that name keeps its own.
Tests: variant_shared_props_tests.
2026-11-18 19:12:17 +07:00
FredApps ead996c237 Merge remote-tracking branch 'origin/main' into feat/mind-maps-ui-2226
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 19:11:01 +07:00
FredApps b137fe589d Merge remote-tracking branch 'origin/main' into fix/drag-sprite-2033
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 19:11:01 +07:00
FredApps 4eb45a3239 Merge remote-tracking branch 'origin/main' into fix/present-hidpi-detail-2127
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 19:11:01 +07:00
Trevor BrownandClaude Opus 5.5 3ae4971b5f docs: the #2355 paste note gets its own dated bullet
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 19:10:42 +07:00
Trevor BrownandClaude Sonnet 5.5 d6bfe68936 M1: Paste with a layer in a frame selected puts the copy next to it (#2355)
Cmd/Ctrl+V with one layer inside a frame selected pasted onto the page on top of the frame. It now pastes into the layer's parent just above it, in an auto layout frame the item after it.
Page-level layers, several layers, instance children, board atoms, component sets and copied components keep today's behaviour.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-18 19:10:42 +07:00
BFlat 5f87a60f2d Merge pull request #2445 from storytold/carry/2370
M3: a text field shows a value too long for it with an ellipsis and a tooltip (#2368)
2026-11-18 19:09:07 +07:00
FredApps f44a6b5da2 Merge branch 'main' into feat/mind-map-tool-shortcut
Keep this PR's #2226 mind-map notes and main's #2109 align-and-distribute note in the parity docs.

Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 19:08:28 +07:00
FredApps 1d4acfd1b1 Merge branch 'main' into feat/drag-sprite-outline
Keep this PR's #2033 drag-sprite note and main's #2109 align-and-distribute note in ui-parity.

Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 19:08:28 +07:00
FredApps 92d49456c1 Merge branch 'main' into fix/present-hidpi-detail-2127
Keep this PR's #2127 HiDPI presenter note and main's #2109
align-and-distribute note in the target-app-parity revision history.

Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 19:07:24 +07:00
Trevor Brown 4c71211e2f M8: points align and distribute in vector edit mode, as in Figma
In vector edit mode, align.* and distribute.* act on the selected
points instead of moving the whole vector. The Design panel shows the
alignment row, and the existing shortcuts apply to those points.

Closes #2109.
2026-11-18 19:06:24 +07:00
FredApps 1f50d696a5 Merge branch 'main' into feat/mind-maps-ui-2226
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 18:32:17 +07:00
FredApps f9320b1303 Merge branch 'main' into fix/drag-sprite-2033
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 18:32:17 +07:00
FredApps bc9d961ebf Merge branch 'main' into fix/present-hidpi-detail-2127
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 18:32:17 +07:00
Trevor Brown d494fad166 M2: Fill across a hugging axis takes the line, as Figma does
In a hugging parent, Fill on the other axis follows the line the way
Figma does, instead of forcing the parent Fixed. This also covers item 2
of #2090 on both axes: a hugging main that becomes Fixed is followed by
its instances' roots.

Fixes #2091 item 3. Fixes #2034. Fixes item 2 of #2090.
2026-11-18 18:31:20 +07:00
FredApps 83fd948bbf Merge branch 'main' into feat/mind-maps-ui-2226
Keep both ROADMAP header notes: #1902 Noto Sans Arabic default web
fonts from main, then this PR's mind-map toolbar and keyboard entry
(#2226).

Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 17:12:09 +07:00
FredApps 46ab9db0a0 Merge branch 'main' into fix/kscale-bound-values-2090
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 17:11:34 +07:00
FredApps 8770a1f109 Merge branch 'main' into fix/drag-sprite-2033
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 17:11:34 +07:00
FredApps 7cff8a6628 Merge branch 'main' into fix/present-hidpi-detail-2127
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 17:11:34 +07:00
FredApps bba5754d86 Merge remote-tracking branch 'origin/main' into feat/mind-maps-ui-2226
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>

# Conflicts:
#	ROADMAP.md
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 16:46:07 +07:00
FredApps e5a276bc6a Merge remote-tracking branch 'origin/main' into fix/drag-sprite-2033
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>

# Conflicts:
#	docs/ui-parity.md
2026-11-18 16:43:20 +07:00
FredApps 08f346d0d7 Merge remote-tracking branch 'origin/main' into fix/kscale-bound-values-2090
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>

# Conflicts:
#	docs/components-parity.md
#	docs/ui-parity.md
2026-11-18 16:42:57 +07:00
FredApps e2aa302165 Merge remote-tracking branch 'origin/main' into fix/present-hidpi-detail-2127
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>

# Conflicts:
#	docs/prototyping-parity.md
#	docs/target-app-parity.md
2026-11-18 16:41:47 +07:00
FredApps 12506f9df5 Merge branch 'main' into codex/fix-1902-default-arabic-fallback
Resolve ROADMAP.md and docs/localization-parity.md by keeping main's
newer log entries and the #1902 Noto Sans Arabic default-web-font notes.

Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 16:33:05 +07:00
FredApps eb8b35d51c Merge pull request #1737 from storytold/feat/web-team-libraries
M9: the browser build uses team libraries and plugin directories on a server
2026-11-18 16:19:08 +07:00
Trevor BrownandClaude Sonnet 5.5 ed8df474f0 M3: a text field shows a value too long for it with an ellipsis and a tooltip (#2368)
A text field that isn't being edited painted its whole value clipped to the field, so the variant value "Down left" read "Down lef". It now paints the value shortened with an ellipsis to fit, and hovering shows the whole value (not for a secret field). Editing and screen readers keep the whole value.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-18 15:32:25 +07:00
BFlat 4f7ea53391 Merge pull request #2152 from Carbocode/fix/inside-stroke-padding
M2: align padding areas with inside strokes and add central drag grips
2026-11-18 14:02:54 +07:00
B-uchi 6dace8c570 M8: get_node reports text and stroke settings it stores
A layer stored its vertical text alignment, text case, paragraph spacing and
indent, OpenType features, start and end caps, a frame's variable modes, which
component property controls a field, and whether a nested instance is exposed,
but node.get and document.inspect left them out. They are reported now, under
the names node.set takes so a value read can be written back, and only when
they aren't the default.
2026-11-18 08:00:03 +01:00
bflatastic 33c697e712 M9: the browser build uses team libraries and plugin directories on a server
The browser's requests to a server now open library and plugin directory
connections, so the panels work there as on the desktop. A plugin installed in
the browser lasts as long as the page.
2026-11-18 13:57:08 +07:00
BFlat c986fb92d7 Merge pull request #2363 from TrevorBrown-dev/feat/variables-window-resize-2354
M3: the Local variables window resizes from its edges and corners (#2354)
2026-11-18 13:55:45 +07:00
BFlat 9b9953c470 Merge pull request #2211 from TrevorBrown-dev/feat/present-add-comment-2209
M7: Present mode: a click in comment mode adds a comment on the frame (#2209)
2026-11-18 13:53:25 +07:00
BFlat 51d8c9508f Merge pull request #2102 from TrevorBrown-dev/fix/scrub-rate-measured
Fields: scrubbing a label moves half a step a point, as measured in Figma
2026-11-18 13:51:10 +07:00
Timo Klerx 530c159699 M6: Merge main and bound prototype override expressions 2026-11-18 00:37:43 +01:00
Dylan M. Taylor 4b853f455a M6: serialize Android drawables through craft-vectordrawable 2026-11-17 15:49:46 -05:00
Carbocode 318198b4f2 M2: merge latest upstream main into padding fixes 2026-11-17 19:13:25 +01:00
Trevor BrownandClaude Opus 5.5 4c97b307c9 Merge upstream/main into fix/scrub-rate-measured
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 driver, no subagent
2026-11-17 06:34:10 -05:00