Commit Graph
3780 Commits
Author SHA1 Message Date
Trevor BrownandClaude Opus 5.5 d3d48eebd5 Merge upstream/main into feat/variables-window-resize-2354
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 driver, no subagent
2026-11-17 06:33:56 -05:00
BFlat da2792cb4a Merge pull request #2427 from storytold/fix/page-keeps-its-view
M8: going back to a page shows it where it was left, not fitted again
2026-11-17 18:26:23 +07:00
BFlat 6b6e86e5f9 Merge pull request #2425 from storytold/fix/pan-edge-preview
M8: a pan past the canvas image shows a coarse image of the area around the view, not the bare page colour
2026-11-17 18:26:18 +07:00
BFlat bf29f7731e Merge pull request #2391 from MMexicann/patch-3
fix: escape Windows device names in generated exports
2026-11-17 18:25:15 +07:00
BFlat 2eb14ab0af Merge pull request #2423 from Silvertree2010/fix/2416-bug-report-figcraft-library-acce
Keep library variables that styles bind when accepting updates
2026-11-17 18:20:55 +07:00
BFlat f16f620f95 Merge pull request #2386 from gmrmad1/fix/2181-batch-step-refusals
Batch: a refused step names its step and keeps its kind (#2181)
2026-11-17 18:16:16 +07:00
BFlat 62f6916903 Merge pull request #2385 from gmrmad1/fix/2375-noto-jp-fallback
Text: embedded Noto Sans JP backs up Japanese runs (#2375)
2026-11-17 18:13:57 +07:00
BFlat 9b27f7bae6 Merge pull request #2374 from adikshan11/fix/automation-roots-network-prefix
Automation roots: same_file doesn't open a path on another computer, native NT link targets and names Windows trims are refused, and the docs say network paths are refused
2026-11-17 18:11:29 +07:00
BFlat 7c0f1e5a87 Merge pull request #2362 from TrevorBrown-dev/fix/afterdelay-variant-chain-2352
M5: a chain of After delay variant changes plays to the end (#2352)
2026-11-17 18:08:59 +07:00
bflatastic bbb12d7b74 M8: going back to a page shows it where it was left, not fitted again 2026-11-17 18:08:35 +07:00
bflatastic a7355eed5e M8: turning soft proof on or off redraws the image around the view 2026-11-17 18:06:05 +07:00
bflatastic c391f13ccd M8: a pan past the canvas image shows a coarse image of the area around the view, not the bare page colour 2026-11-17 18:06:04 +07:00
BFlat 3b0baf8651 Merge pull request #2428 from storytold/mcp/components-guidance
MCP: the instructions tell agents to place copies as instances and use properties and variants
2026-11-17 18:04:59 +07:00
BFlat 8cf1a296e2 Merge pull request #2426 from storytold/perf/pan-strips-in-bands
M8: the strips a pan uncovers render in parallel bands, as full renders do
2026-11-17 18:04:54 +07:00
BFlat 38a287e36c Merge pull request #2341 from ljkx/fix/point-radius-full-edge-2334
M4: a rounded vector point reaches along the whole of a segment whose other end is sharp (#2334)
2026-11-17 18:03:36 +07:00
BFlat e90b76a3e3 Merge pull request #2389 from kler/swedish-ui-2026-11-15
i18n(sv): translate 21 new strings
2026-11-17 18:02:28 +07:00
bflatastic 3451d42118 M8: a test that a textured layer renders the same in column and row bands 2026-11-17 17:43:41 +07:00
bflatastic 5baf4d80b3 MCP: the instructions tell agents to place copies as instances and use properties and variants 2026-11-17 17:41:27 +07:00
bflatastic 3c92930224 M8: the strips a pan uncovers render in parallel bands, as full renders do 2026-11-17 17:14:57 +07:00
BFlat 7e28531c22 Merge pull request #2419 from faridulhq/zoom-refine-after-pause
M8: the desktop refines a zoom only once it pauses
2026-11-17 16:50:09 +07:00
NetterSilverandClaude Opus 5.5 e9a4777736 Keep library variables that styles bind when accepting updates
Fixes #2416

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 06:15:50 +01:00
Dylan M. Taylor caf6ff5108 Merge main retaining shared Sketch and Penpot dependencies 2026-11-16 22:06:49 -05:00
Dylan M. Taylor 5ee60ec708 fix(format): keep legacy ZIP options only for remaining test fixture 2026-11-16 22:01:33 -05:00
Dylan M. Taylor 6963e0d5ce Use shared Sketch container while retaining Fig document projection (#2418) 2026-11-16 21:58:13 -05:00
Dylan M. Taylor 931a1467b2 fix(format): retain Cursor import for embedded Penpot PNG encoding 2026-11-16 21:50:31 -05:00
Dylan M. Taylor 87e43cccf0 format: write Penpot containers through shared incremental writer 2026-11-16 21:22:16 -05:00
Faridul 2451cc34e4 M8: the desktop refines a zoom only once it pauses
After a zoom step's preview the render thread only checked once, right away,
for a newer request, then started the full render. That render can't be
stopped, so on a heavy page every later step of a held zoom waited for it
(110-520 ms per render on a 9,000-layer page with images and shadows).

It now waits like the browser worker does: SETTLE_MS, or the last full
render's time when that's shorter. Pans and edits have no preview and are
refined straight away as before.
2026-11-17 08:16:04 +06:00
FredApps f0a34a1221 M6: i18n catalog test reads cargo metadata for the host only (#2413)
craft_fig_src() ran `cargo metadata --offline` with no platform filter.
Cargo then needs every target's packages in its cache, and a cache that
holds only what a host build fetched lacks iOS-only crates such as
accesskit_ios, so the nightly FreeBSD job failed. Ask the same cargo for
its host triple (`cargo -vV`) and pass it as `--filter-platform`.
2026-11-17 00:55:24 +01:00
Dylan M. Taylor 0a94b092eb refactor(svg): share XML escaping and character validation 2026-11-16 10:08:47 -05:00
Dylan M. Taylor 64132ad9e0 Merge pull request #1699 from saimskywalker/issue-1683-frame-new-from-selection
M1: the Frame tool's panel has New from selection above the presets (#1683)
2026-11-15 19:07:38 -05:00
Dylan M. Taylor 87454911fe M1: disable frame selection inside locked instance structure 2026-11-15 18:22:50 -05:00
Dylan M. Taylor 5455139d54 Reuse shared Android drawable wire primitives 2026-11-15 13:27:48 -05:00
Patrik LermonandClaude Opus 5.5 3c4111bacb i18n(sv): translate 1 new string, remove 1 obsolete
Brings the Swedish catalog up to date with upstream main (0015eb5f).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 17:25:32 +01:00
Patrik Lermon bc60d0490c Merge upstream/main into swedish-ui-2026-11-15 2026-11-15 17:09:56 +01:00
Mex 71cd63a21b engine: escape device components after export suffixes
Apply the shared device-name rule to completed folder/name/suffix components before collision numbering, with regression coverage.
2026-11-15 16:02:12 +01:00
Mex 19a4a309e4 test: cover generated device-name path components
Exercise device names, extensions, nested components and safe near-matches using the existing device-name classification.
2026-11-15 16:01:13 +01:00
Mex af87503d04 Implement escape_device_names function
Prefix generated path components using the existing device classifier, after filtering and suffix construction.
2026-11-15 15:59:34 +01:00
FredApps ac4f5511ef Merge #2284's branch (with current main) into codex/figcraft-native-consumer 2026-11-15 15:14:14 +01:00
FredApps 4675ae65d6 M6: drop the repeated test attributes on two fig modules (#2284) 2026-11-15 15:10:29 +01:00
FredApps 8b1f315335 Merge remote-tracking branch 'origin/main' into fix2284 2026-11-15 15:10:21 +01:00
Patrik LermonandClaude Opus 5.5 e780264e55 i18n(sv): translate 21 new strings
Brings the Swedish catalog up to date with upstream main (3bbd1d3c).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:07:16 +01:00
Adithya Shankaran d4e2641fa0 Automation roots: same_file doesn't open a path outside the roots, native NT link targets and names Windows trims are refused, and the docs say network paths are refused 2026-11-15 18:24:05 +05:30
Madhav Agarwal 2462a86253 Batch: a refused step names its step and keeps its kind (#2181) 2026-11-15 17:41:14 +05:30
Madhav Agarwal 8133b31c74 Text: embedded Noto Sans JP backs up Japanese runs (#2375) 2026-11-15 14:02:39 +05:30
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
Trevor BrownandClaude Opus 5.5 e981f66d2d Merge upstream/main into feat/variables-window-resize-2354
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 09:33:23 -05:00
Trevor BrownandClaude Opus 5.5 55239a44f1 M5: a reverted hover leaves no fired key for a layer that is gone (#2352)
On revert, fired-delay keys are kept only for layers the restored document has: a layer only the hover variant had is gone again, and its id may be issued anew by the next hover. Test a_hover_variants_own_layer_leaves_no_fired_key_after_the_revert (red before: a key for the missing NodeId(8) stayed); present 106 passed, clippy clean (CodeRabbit on #2362).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 04:40:10 -05:00
Trevor BrownandClaude Opus 5.5 29fe911dd9 M3: on a short screen the Local variables window's body takes what is left (#2354)
The body below the header had a 160-point floor, so with the minimum capped by a screen lower than 220 points the content ran past the window. It now takes the height left below the header (the table scrolls). Test on_a_short_screen_the_variables_window_fits_inside_it (red before: the window ran to y 206 on a 180-high screen); variables 45 passed, clippy clean (CodeRabbit on #2363).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 04:37:56 -05:00
Trevor BrownandClaude Opus 5.5 3a8313aba7 M5: a delay fired on a hover variant doesn't block the restored variant's delay (#2352)
A fired-delay key is (node, index), and inside an instance the index belongs to the variant shown. On revert, keys that fired during the temporary change inside an instance it changed the variant of are dropped (they name the hover variant's interactions); the snapshot's keys come back and the other new ones stay. Test a_delay_fired_on_a_hover_variant_does_not_block_the_restored_variants_delay (red before: A's runs left 0, right 1); present 105 passed, clippy clean (CodeRabbit on #2362).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:40:07 -05:00