Commit Graph
807 Commits
Author SHA1 Message Date
24cf70329b M5: Locked layers follow Figma's rules: no nudge, a locked parent's children stay locked (#1560) (#2219)
* M5: Locked layers follow Figma's rules: no nudge, a locked parent's children stay locked (#1560)

Pins Figma's locked-layer behaviour (measured in Figma's web app, 2026-11-10; help center "Lock and unlock layers") in a new lock_behaviour_tests suite. Fixes the divergences: transform.nudge and transform.nudgeSize skip locked layers, object.toggleLock without a value counts a child of a locked parent as locked (so it never locks the child on its own), and the Layers panel padlock on such a child is inert.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Fable 5.1 briefed; Sonnet 5.5 wrote at medium

* Layers panel: a padlock sweep skips the children of a locked layer (#1560)

A padlock drag sweep no longer collects rows with `locked_above`, so
dragging across a locked frame's children leaves their own flags alone
and draws no swept value on them. An eye sweep is 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

* M5: Lock/Unlock leaves a locked layer's child alone in a mixed selection (#1560)

With a locked frame's child and an unlocked layer selected, Lock/Unlock set both own flags, so
the child stayed locked once the frame was unlocked. With no explicit `locked` value, the command
now skips a layer whose parent is locked, as its padlock does; an explicit value (scripts) still
sets it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove and wrote

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-11 21:06:56 +01:00
Dylan M. Taylor 6bc8bbaef1 inspect: work out a grid's cells once per inspection (#2260) 2026-11-11 14:48:38 -05:00
skylar taylor-barrick 3839fe4a0c Naming: use Developer Mode instead of Figma's Dev Mode (#2135)
Figma holds a US registration for DEV MODE (US 7574348). Display text only: the view.devMode label, Inspect tab, shortcut row, refusal messages, CLI help, docs and all locale catalogs now say Developer Mode. Command ids, preference keys and saved fields are unchanged; "Dev Mode" stays a search alias in the Actions palette. Adds a naming guard test.
2026-11-09 06:24:44 +01:00
FredApps 72cfe7be30 fix(naming): use direct FigCraft feature descriptions (#2131)
Drops the "Figma-class" self-description from the MCP instructions and the "Accessibility at Figma" aside from pref.uiScaleUp help. Help text only; ids and preference keys unchanged. Adds a display-name guard over mcp/src and engine/src/cmd string literals.
2026-11-09 06:22:48 +01:00
BFlat b64f13ac56 Merge pull request #1759 from dotCooCoo/feat/export-color-profile
Export: each export setting chooses a color profile
2026-11-07 12:54:29 +08:00
BFlat 8d1b183e7d Merge pull request #1913 from tommy1616/feat/traditional-chinese-taiwan
M10: Traditional Chinese (Taiwan) interface draft
2026-11-07 12:52:13 +08:00
bflatastic d601cc873b Export: rustfmt the merged lines 2026-11-07 11:36:06 +07:00
BFlat d578f44742 Merge pull request #1878 from TrevorBrown-dev/feat/region-fills
M8: a fill per region: the Fill section and the fill commands edit the regions selected in vector edit mode (#1875)
2026-11-07 12:29:43 +08:00
bflatastic a6f6c42886 Merge remote-tracking branch 'origin/main' into landb/1913 2026-11-07 11:28:35 +07:00
bflatastic 02f5a3520a Merge main into #1759 2026-11-07 11:19:38 +07:00
BFlat f490a9b323 Merge pull request #1762 from dotCooCoo/feat/selection-colors-library
M3: Selection colors rows apply library color styles and create a style
2026-11-07 12:18:35 +08:00
BFlat 7da396e1b3 Merge pull request #2067 from storytold/carry/1942
fix(geom): keep arc subdivision bounded whatever the radius
2026-11-07 12:14:07 +08:00
bflatastic 16ae1b2273 Region fills: say it in our own words; one row per item after the merge 2026-11-07 11:10:41 +07:00
bflatastic 2410a94091 Merge remote-tracking branch 'origin/main' into landb/1878 2026-11-07 11:10:05 +07:00
BFlat 7c869057c4 Merge pull request #2020 from TrevorBrown-dev/feat/suggest-auto-layout-1823
M2: Suggest auto layout adds nested auto layout frames by rows and columns and keeps the placement (#1823)
2026-11-07 11:57:49 +08:00
bflatastic f4f16f1ba1 Merge main into #1913 2026-11-07 10:57:11 +07:00
bflatastic f1a5360859 Merge main into #1942 2026-11-07 10:54:18 +07:00
BFlat 390d72cf92 Merge pull request #1884 from ljkx/fix/weight-steps-family-styles
M4: Increase and decrease font weight step through the styles the family has (#1831)
2026-11-07 11:53:05 +08:00
Trevor BrownandClaude Fable 5.1 13937c70eb Merge upstream/main into feat/region-fills
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-06 22:39:44 -05:00
Trevor BrownandClaude Fable 5.1 ea1ae05d16 Merge upstream/main into feat/suggest-auto-layout-1823
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-06 22:39:35 -05:00
BFlat 24c4242dca Merge pull request #1857 from TrevorBrown-dev/fix/text-mixed-fill-section
M1: the Fill section shows a text's characters' fills, mixed when they differ, and a layer fill edit reaches every character
2026-11-07 11:36:20 +08:00
BFlat f244101b53 Merge pull request #1940 from storytold/fix/sec-effect-key-probe-bound
fix(engine): bound the keys an effect object is probed for
2026-11-07 11:23:06 +08:00
bflatastic 9488088d48 Merge main into #1857 2026-11-07 10:21:28 +07:00
bflatastic a7fc90a7aa Merge main into #1857 2026-11-07 10:08:45 +07:00
bflatastic af0c1b2ba7 Merge main into #2050 2026-11-07 10:01:19 +07:00
bflatastic 235a2f3a53 Merge main into #1857 2026-11-07 09:50:38 +07:00
bflatastic 18d0853d9e Merge main into #2050 2026-11-07 09:49:37 +07:00
bflatastic 05530b794e Merge main into #2049 2026-11-07 09:42:38 +07:00
BFlat 4ad444ff19 Merge pull request #1907 from TrevorBrown-dev/fix/baseline-non-text
Auto layout: baseline alignment puts a layer without text with its bottom on the baseline (#1825)
2026-11-07 10:40:21 +08:00
Trevor BrownandClaude Fable 5.1 e4b3815439 Merge upstream/main into feat/region-fills
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-06 21:40:15 -05:00
Trevor BrownandClaude Fable 5.1 4dae256074 Merge upstream/main into feat/suggest-auto-layout-1823
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-06 21:39:54 -05:00
dotCooCoo 10f3e0d589 Merge main into feat/selection-colors-library 2026-11-06 18:39:28 -08:00
bflatastic e619c509a0 Merge main into #1857 2026-11-07 09:38:13 +07:00
bflatastic 905144708b Merge main into #2050 2026-11-07 09:35:50 +07:00
BFlat 2e7cafe662 Merge pull request #1876 from TrevorBrown-dev/feat/text-style-paragraph
M3: text styles carry paragraph spacing and indent, the list style and the OpenType features (#1829)
2026-11-07 10:29:27 +08:00
BFlat e9fc975aa6 Merge pull request #1756 from dotCooCoo/feat/vector-network-corner-smoothing
M4: closed vectors take corner smoothing
2026-11-07 10:27:00 +08:00
bflatastic 7c457e854c Merge main into #1857 2026-11-07 09:22:00 +07:00
bflatastic 748a75cdd3 Merge main into #2050 2026-11-07 09:20:52 +07:00
bflatastic 3ebd14ad2d Merge main into #1876 2026-11-07 09:10:47 +07:00
bflatastic a632d63602 Merge main into #2049 2026-11-07 09:10:44 +07:00
bflatastic cd3c3a2fd4 Merge main into #2050 2026-11-07 09:10:30 +07:00
bflatastic 5560cbdf3b Merge main into #1857 2026-11-07 09:08:29 +07:00
bflatastic 5aaec67e20 Merge main into #1869 2026-11-07 09:07:56 +07:00
Trevor Brown 681d92355b Merge branch 'feat/suggest-auto-layout-1823' of https://github.com/TrevorBrown-dev/figcraft into feat/suggest-auto-layout-1823 2026-11-06 21:06:16 -05:00
Trevor BrownandClaude Fable 5.1 68b9423748 Suggest auto layout: the parity doc says a band overlapping on both axes stays Fixed (#1823)
A band frame hugs only when its own split gives it auto layout; a band whose layers overlap along both axes stays a Fixed frame with a warning. The parity row, its revision entry and the code comment now say so.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-06 21:06:10 -05:00
BFlat 11b2ddfaf4 Merge pull request #1958 from MortenHusted/fix/import-variable-id-collisions
M3: importing a file keeps its own variables and styles when their ids are already taken
2026-11-07 10:03:52 +08:00
bflatastic f98036456b Merge main into #2020 2026-11-07 09:01:23 +07:00
bflatastic c7570645e8 Merge main into #2050 2026-11-07 08:59:37 +07:00
BFlat 47b5979ef0 Merge pull request #2012 from TrevorBrown-dev/feat/text-direction-1830
M4: a paragraph's base direction can be forced: Text ▸ Text direction ▸ Left to right / Right to left (#1830)
2026-11-07 09:58:59 +08:00
bflatastic a93ce619ee Merge main into #2020 2026-11-07 08:58:24 +07:00