Commit Graph
1820 Commits
Author SHA1 Message Date
Trevor BrownandClaude Sonnet 5.5 3bbd1d3ce5 Pages: Set as opening page, so a shared file opens on the page the team chooses (#1817) (#1972)
* M9: page.setOpening sets the page a shared file opens on, for everyone who joins (#1817)

A file on a figcraft-server opened on the page current at publish time, with no way to change it:
`DocProp::CurrentPage` was synced but nothing wrote it (`page.select` is each viewer's own page,
only a local save stamps the document). `page.setOpening {id?}` writes `doc.current_page` as a
document edit: one undo step, a synced change in a live session, so every later join opens on it;
the current page when none is named; a divider or a layer refused; nobody's own page moves. The
pages list's context menu gets "Set as opening page". Docs: mcp.md, collaboration-parity.md.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* M9: the pages menu's new string is in the English catalog (#1817)

The gate's i18n test wants every tr() key in locales/en.toml.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* Opening page: the parity doc states the default when no opening page is set (#1972 issue)

With none set, a file opens on its saved current page, not the first page, and a link cannot name a page, so the row is partial.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* Opening page: one sharing row, and the spotlight exception on the opening-page row (#1972 issue)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* Opening page: the parity row states where the joiner's page comes from (#1972 issue)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* Opening page: a no-op set adds no step, deleting the opening page falls back, and the tests cover junk ids, refusals, undo and the menu item (#1817)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* M5: the chosen opening page is saved with the file and opens it for everyone (#1817)

The opening-page flag now lives on the page node (NodeKind::Page opening), so it syncs
through the existing node kind. Saving writes the flagged page as current_page instead of
the page the saver was viewing. A duplicated page does not copy the flag, and deleting the
page removes it.

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

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-15 00:05:48 -06:00
Trevor BrownandClaude Sonnet 5.5 adad8a08ad M8: Duplicate repeats the copy's rotation as well as its move, and forgets the step on a deselect (#2293) (#2313)
* M8: Duplicate repeats the copy's rotation as well as its move, and forgets the step on a deselect (#2293)

Duplicate remembered only the shift of the copies' bounds corner, so a turned copy repeated an arbitrary offset and no rotation. The step is now the move of the copies' centre in the page frame plus the turn each copy has over its source, applied to the new copies about their own centre (one layer) or their shared centre (several). Size is not stepped; a resized copy repeats its move, not its growth. Measured in Figma's web app on 2026-11-12. The step was already dropped when the selection changes to anything but the copies (clean_selection), and a test now pins that.

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

* M8: the duplicate step ignores turns in place, size changes and flips (#2293)

The move of the step is now measured per pair, as each copy's own centre minus its source's, less the shift a size change gives that centre (taken in the source's frame), averaged over the pairs. A turn about a layer's own centre, uneven layers and a widened-then-turned copy no longer record a move. A copy whose flip state differs from its source's repeats no turn, since flips were not measured.

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

* M8: a turn of several copies together is not counted as a move in the duplicate step (#2293)

Duplicated::step took the mean of the per-pair centre moves, so a Rotate on several uneven layers (turned together about the selection centre) read as an extra move and the next Duplicate applied it. The step now also tries the reading where the copies were turned together about the sources' bounds centre, and uses it when every copy fits it and the in-place reading does not fit. Two tests cover a turn together and a move plus turn together.

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

* M8: the duplicate step reads a turn about the rotation handle's centre, and a resize after a turn, as no move (#2293)

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

* M8: the duplicate step turns several layers about their handle box's centre, with no pivot inferred (#2293)

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

* Docs: repair a row the earlier merges garbled (Alt-drag duplicate)

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

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 00:05:43 -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
bflatastic fe301aeb74 Merge main into #2310 2026-11-14 01:35:02 +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
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
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
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
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
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
bflatastic c36c1754ca Merge main into #2304 2026-11-13 23:39:24 +07:00
BFlat 2f56e48930 Merge pull request #2139 from TrevorBrown-dev/feat/zoom-selection-margin
View: Zoom to selection leaves Figma's 40 pt margin and clears the bottom toolbar
2026-11-13 23:38:35 +07:00
BFlat b240de7362 Merge pull request #2324 from TrevorBrown-dev/feat/fig-export-text-path
M6: .fig export writes text on a path (#2323)
2026-11-13 23:36:56 +07:00
bflatastic 8932347ef8 Merge main into #2139 2026-11-13 23:23:44 +07:00
BFlat ef5a058a22 Merge pull request #2331 from denisg0mes/paste-over-next-to-selection
M1: Paste over selection puts the copies just above the selected layer
2026-11-13 23:21:50 +07:00
bflatastic 93e1cf1a52 Merge main into #2324 2026-11-13 23:18:36 +07:00
bflatastic 956e9c1642 Merge main into #2304 2026-11-13 23:18:03 +07:00
BFlat 373696ac88 Merge pull request #2292 from TrevorBrown-dev/feat/jam-native-shapes-1808
M9: .jam import: shapes with text come in as native board shapes (#1808)
2026-11-13 23:16:35 +07:00
bflatastic bbd8d7c661 Merge main into #2331 2026-11-13 23:06:07 +07:00
bflatastic e1647fba6a Merge main into #2139 2026-11-13 23:04:53 +07:00
BFlat c69a45382e Merge pull request #2288 from TrevorBrown-dev/docs/drag-modifiers-measured
Docs: drag modifiers measured in Figma
2026-11-13 23:03:31 +07:00
bflatastic b0b23d8c63 Merge main into #2324 2026-11-13 23:01:23 +07:00
bflatastic b6a49eaf87 Merge main into #2304 2026-11-13 23:00:50 +07:00
bflatastic 919df8fd80 Merge main into #2292 2026-11-13 23:00:17 +07:00
BFlat 3511511bfb Merge pull request #2301 from TrevorBrown-dev/feat/fig-export-image-adjustments-2297
M6: .fig export writes image adjustments (#2297)
2026-11-13 22:58:48 +07:00
bflatastic 953383fff8 Merge main into #2331 2026-11-13 22:54:24 +07:00