Commit Graph
4369 Commits
Author SHA1 Message Date
Zinadin Zidan 92d0ffdc62 Variables: fix the move order in the group rename collision test (#2353)
Both moves had names of the same length, so which one ran first came
from the order of the variables. The first one now has a longer name,
which the longest-first order always moves first, so the second one
always collides after a move that has to be undone.
2026-11-14 04:31:08 +06:00
Zinadin Zidan 70aeeee941 Variables: test that a refused group rename undoes the moves already made (#2353)
The collision test's two moves had names of the same length, so the
first one already collided and nothing was left to undo. With the
existing name on the second move, the first moves, the second collides,
and the test checks that the batch puts the first one back.
2026-11-14 04:05:13 +06:00
Zinadin Zidan 7644de9f81 Variables: renaming a group to a path with / nests it (#2353)
Renaming a group in the Local variables window replaced every slash in the
typed name with a hyphen, so "Palette/Orange" gave a flat Palette-Orange
group and there was no way to move a group under a new parent.

The typed path now replaces the group's last part, so a slash nests the
group as in Figma: Orange/100 becomes Palette/Orange/100 and the sidebar
shows Orange under Palette. Each part is trimmed and empty parts are
dropped; a name that comes out empty or unchanged does nothing. The
renames go deepest name first, so a group moved into its own new subgroup
(Orange to Orange/Warm) never collides with a variable that is still to
move. A rename onto a variable name that stays is refused by
variable.update and the batch rolls back; it stays one undo step.
2026-11-14 02:36:36 +06:00
BFlat 24613d3fa6 Merge pull request #2310 from TrevorBrown-dev/fix/layers-icon-double-click-zooms
M8: a double-click on a layer's icon zooms to it, as in Figma
2026-11-14 01:48:53 +07:00
bflatastic fe301aeb74 Merge main into #2310 2026-11-14 01:35:02 +07:00
BFlat 4a0eafa77a Merge pull request #2319 from TrevorBrown-dev/feat/tidy-up-figma-rule
M8: Tidy up keeps the order and sizes and evens the gaps, as measured in Figma
2026-11-14 01:32:46 +07:00
bflatastic cf0ebbe27e Merge main into #2319 2026-11-14 01:14:26 +07:00
bflatastic 4cd86095c5 Merge main into #2310 2026-11-14 01:13:53 +07:00
BFlat 81699e8506 Merge pull request #2335 from TrevorBrown-dev/fix/crop-from-picker-2307
M8: after Crop is chosen in the image fill's menu, a drag on the image crops it, and no internal gesture message shows (#2307)
2026-11-14 01:12:40 +07:00
bflatastic 62c5f8c17a Merge main into #2335 2026-11-14 00:59:04 +07:00
bflatastic 8e3c46b27d Merge main into #2319 2026-11-14 00:57:58 +07:00
bflatastic b82924f760 Merge main into #2310 2026-11-14 00:57:25 +07:00
BFlat 7a80106a5e Merge pull request #2298 from TrevorBrown-dev/fix/align-auto-layout-child
M8: Align is unavailable for a layer in an auto layout frame's flow, as in Figma
2026-11-14 00:56:12 +07:00
bflatastic 4f38875087 Merge main into #2335 2026-11-14 00:42:26 +07:00
bflatastic c768dd7e4e Merge main into #2319 2026-11-14 00:41:20 +07:00
bflatastic 719044412f Merge main into #2310 2026-11-14 00:40:47 +07:00
bflatastic e581dcba99 Merge main into #2298 2026-11-14 00:40:14 +07:00
BFlat 4af811c199 Merge pull request #2291 from TrevorBrown-dev/feat/select-layer-locked-1560
M5: Select layer lists locked layers with a padlock and picks them (#1560)
2026-11-14 00:38:54 +07:00
Trevor BrownandClaude Opus 5.5 02b6280a75 Merge upstream/main into fix/align-auto-layout-child
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 12:36:32 -05:00
Trevor BrownandClaude Opus 5.5 e34d7ef2d6 Merge upstream/main into fix/layers-icon-double-click-zooms
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 12:36:30 -05:00
Trevor BrownandClaude Opus 5.5 32f5fd01c4 Merge upstream/main into feat/tidy-up-figma-rule
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 12:36:27 -05:00
Trevor BrownandClaude Opus 5.5 33e611d82a Merge upstream/main into fix/crop-from-picker-2307
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 12:36:23 -05:00
bflatastic 7fe1e67cf2 Merge main into #2291 2026-11-14 00:19:03 +07:00
BFlat 4935a21980 Merge pull request #2285 from TrevorBrown-dev/feat/scale-origin-centre
M8: Scale tool drags pivot on the opposite handle, and its origin starts at the centre
2026-11-14 00:17:47 +07:00
Trevor BrownandClaude Sonnet 5.5 6772c8f1a8 Merge branch 'fix/align-auto-layout-child' of https://github.com/TrevorBrown-dev/figcraft into fix/align-auto-layout-child
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-13 12:09:45 -05:00
Trevor BrownandClaude Sonnet 5.5 04e3d0f7f1 Merge branch 'fix/layers-icon-double-click-zooms' of https://github.com/TrevorBrown-dev/figcraft into fix/layers-icon-double-click-zooms
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-13 12:09:42 -05:00
Trevor BrownandClaude Sonnet 5.5 cff4d82d0b Merge branch 'fix/crop-from-picker-2307' of https://github.com/TrevorBrown-dev/figcraft into fix/crop-from-picker-2307
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-13 12:09:37 -05:00
Trevor BrownandClaude Sonnet 5.5 d7807db273 Merge branch 'feat/tidy-up-figma-rule' of https://github.com/TrevorBrown-dev/figcraft into feat/tidy-up-figma-rule
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-13 12:09:26 -05:00
bflatastic 66974c94b8 Merge main into #2335 2026-11-14 00:05:53 +07:00
bflatastic 87d5f993f7 Merge main into #2319 2026-11-14 00:04:47 +07:00
bflatastic 85c17dd552 Merge main into #2310 2026-11-14 00:04:14 +07:00
bflatastic 43f56a6dd3 Merge main into #2298 2026-11-14 00:03:42 +07:00
bflatastic c138c26ccc Merge main into #2291 2026-11-14 00:03:09 +07:00
bflatastic 0bf58651bf Merge main into #2285 2026-11-14 00:02:36 +07:00
BFlat ec18cc67cb Merge pull request #2320 from TrevorBrown-dev/fix/native-code-every-fill-2271
M10: SwiftUI, Compose and Flutter code export writes every colour and gradient fill, in paint order (#2271)
2026-11-14 00:00:13 +07:00
BFlat 2472f99659 Merge pull request #2304 from TrevorBrown-dev/feat/fig-export-region-paints
M6: .fig export writes vector region paints (#2302)
2026-11-13 23:59:19 +07:00
BFlat 8dcbb9df5d Merge pull request #2308 from TrevorBrown-dev/feat/polygon-count-handle
M8: polygons and stars get a Count handle on the canvas, as in Figma
2026-11-13 23:57:39 +07:00
Dylan M. Taylor d5d0814a94 Merge pull request #2344 from storytold/ci/sonar-prefetch-cargo
ci: prefetch locked dependencies for Sonar coverage
2026-11-13 11:50:19 -05:00
bflatastic 0475ceec26 Merge main into #2335 2026-11-13 23:45:42 +07:00
bflatastic e352aa8d61 Merge main into #2319 2026-11-13 23:44:35 +07:00
bflatastic ec1fa6d26f Merge main into #2310 2026-11-13 23:44:02 +07:00
bflatastic cae4a71c0c Merge main into #2308 2026-11-13 23:43:29 +07:00
bflatastic 8ab984c258 Merge main into #2298 2026-11-13 23:42:55 +07:00
bflatastic 35aa524f8a Merge main into #2291 2026-11-13 23:42:21 +07:00
bflatastic 4ad2c52b28 Merge main into #2285 2026-11-13 23:41:48 +07:00
bflatastic aef88e0197 Merge main into #2320 2026-11-13 23:39:40 +07:00
Trevor BrownandClaude Sonnet 5.5 39b54d9512 Merge upstream/main into fix/align-auto-layout-child
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-13 11:39:36 -05:00
Trevor BrownandClaude Sonnet 5.5 e8ab083e59 Merge upstream/main into fix/layers-icon-double-click-zooms
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-13 11:39:35 -05:00
Trevor BrownandClaude Sonnet 5.5 cc3e510cb4 Merge upstream/main into fix/crop-from-picker-2307
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-13 11:39:34 -05:00
Trevor BrownandClaude Sonnet 5.5 8de179754b Merge upstream/main into feat/tidy-up-figma-rule
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-13 11:39:34 -05:00