Commit Graph
2330 Commits
Author SHA1 Message Date
BFlat b0a4191159 Merge pull request #2680 from storytold/fix/2507-page-link
M3: Cmd/Ctrl+L with nothing selected copies the page's link (#2507)
2026-11-28 16:28:43 +07:00
BFlat f184f85a33 Merge pull request #2673 from storytold/fix/2664-image-downscale
M8: a downscaled image is filtered, so fine detail doesn't turn into moiré
2026-11-28 16:20:26 +07:00
bflatastic 9284c9c3e3 M3: Cmd/Ctrl+L with nothing selected copies the page's link (#2507) 2026-11-28 15:53:46 +07:00
BFlat 3d88d9475f Merge pull request #2676 from storytold/fix/2495-stop-keyed
M9: Stop sharing works for a file shared with the server key typed under Advanced (#2495)
2026-11-28 15:53:17 +07:00
bflatastic e9a5986e69 M8: a downscaled image is filtered, so fine detail doesn't turn into moiré
An image fill shown at half its pixels or fewer (a 0.5x export, the canvas zoomed out) was sampled straight at that size with bicubic filtering and nothing averaging the pixels between samples, so fine detail aliased into moiré bands. It now draws from a copy averaged down to under twice the size it shows at (the image halved, or the canvas's smaller copy halved), cached like the canvas's copies. Every copy averages the finished pixels (premultiplied, after the image's adjustments) and is placed where the image itself would be; the size shown is measured on the axis showing the most device pixels, so an image squeezed on one axis by its crop or its layer keeps the other's pixels. Images shown larger draw as before.

Fixes #2664.
2026-11-28 15:41:42 +07:00
bflatastic 87fee2835c M9: Stop sharing works for a file shared with the server key typed under Advanced (#2495) 2026-11-28 15:07:48 +07:00
BFlat dbe9eeb1bd Merge pull request #2607 from Utakata/feat/open-camera-raw
format: open camera raw files as their developed picture
2026-11-28 15:06:51 +07:00
bflatastic 2161144dad Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	ROADMAP.md
2026-11-28 15:06:05 +07:00
bflatastic 55b1b439e6 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/file-format-parity.md
2026-11-28 15:02:21 +07:00
BFlat f9bfabad36 Merge pull request #2573 from imanderson/feat/automation-allow-server-join
MCP: allow confined sessions to join an approved server
2026-11-28 15:01:23 +07:00
BFlat f673320c42 Merge pull request #2137 from TrevorBrown-dev/feat/shift-a-defaults
Auto layout: Shift+A picks Figma's sizing, gap and padding defaults
2026-11-28 15:00:59 +07:00
bflatastic 00439a3bb5 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/gaps.md
2026-11-28 14:56:22 +07:00
BFlat 0764b6cdd9 Merge pull request #2225 from TrevorBrown-dev/feat/variables-json-text-styles-2173
M7: Variables JSON: export and import text styles (#2173)
2026-11-28 14:52:20 +07:00
BFlat e855ce5e92 Merge pull request #2461 from Aathish-D/fix-2392-field-focus-commit
Commit number field edits on canvas click and clear stale drafts on selection change (#2392, #2433)
2026-11-28 14:47:03 +07:00
BFlat d08482fa19 Merge pull request #2675 from brytoncooper/perf/collab-delta-snapshot
perf(collab): add capability-gated delta snapshots for mirrored layers (#1819)
2026-11-28 14:36:35 +07:00
BFlat 50d7d2b696 Merge pull request #2674 from storytold/fix/1503-input-doc
M8: control channel: requests queued behind an applied ui.input batch run in the next frame (#1503)
2026-11-28 14:29:26 +07:00
FredApps bc9c97c7d2 Merge branch 'main' into uno/U1-01-layer-code 2026-11-28 08:11:36 +01:00
FredApps 1f73395b90 Merge branch 'main' into feat/automation-allow-server-join 2026-11-28 08:11:36 +01:00
FredApps a8c90689b0 Merge branch 'main' into feat/variables-json-text-styles-2173 2026-11-28 08:11:36 +01:00
FredApps a7486a5dce Merge branch 'main' into feat/shift-a-defaults 2026-11-28 08:11:35 +01:00
FredApps d3b91c3669 Merge branch 'main' into perf/partial-upload 2026-11-28 08:11:35 +01:00
FredApps fa7a95809c Merge branch 'main' into fix-2392-field-focus-commit 2026-11-28 08:11:35 +01:00
FredApps 025133e4b0 Merge branch 'main' into feat/open-camera-raw 2026-11-28 08:11:34 +01:00
FredApps bcb31343e6 Merge branch 'main' into pr-fig-slot-export 2026-11-28 08:11:34 +01:00
Bryton Cooper 02b7b99818 perf(collab): add capability-gated delta snapshots for mirrored layers (#1819) 2026-11-28 00:03:30 -07:00
FredApps 3660125b8d Merge branch 'main' into pr-fig-slot-export 2026-11-28 08:01:56 +01:00
FredApps f278b428cb Merge branch 'main' into feat/automation-allow-server-join
main moved figcraft-cli to RFC-0018 (#2645): main.rs is a thin wrapper and the
dispatch lives in lib.rs, so mcp_roots, the --automation-allow-server handling
and its test move there; headless mcp is checked before the fonts are scanned.
2026-11-28 08:01:38 +01:00
FredApps 4561b31166 Merge branch 'main' into feat/open-camera-raw
main's craft-libs pin (8fa4db64) already contains 249a41bd, so the pins stay at
main's and the camera raw crates are added at that same rev.
2026-11-28 07:46:25 +01:00
FredApps bb7e878e69 Merge branch 'main' into feat/variables-json-text-styles-2173 2026-11-28 07:40:43 +01:00
FredApps 9562640d75 Merge branch 'main' into uno/U1-01-layer-code 2026-11-28 07:40:32 +01:00
FredApps 784b6e6e69 Merge branch 'main' into feat/shift-a-defaults 2026-11-28 07:38:41 +01:00
FredApps 3e44fd805a Merge branch 'main' into perf/partial-upload 2026-11-28 07:38:30 +01:00
bflatastic e5060d0f55 M8: control channel: requests queued behind an applied ui.input batch run in the next frame, so a doc.switch can't send the batch into another file (#1503) 2026-11-28 13:29:32 +07:00
FredApps 4caba4a7d3 Merge branch 'main' into pr/visual-compare 2026-11-28 07:26:27 +01:00
FredApps 97f16af7cd Merge branch 'main' into fix-2392-field-focus-commit 2026-11-28 07:23:11 +01:00
bflatastic 2ed7d06bcb M12: boards: the Pencil, Marker, Highlighter and Eraser show a round tip in the ink's colour and width (#2641, part 1) 2026-11-28 11:32:00 +07:00
bflatastic d20a121f23 M12: boards: code blocks from the toolbar and the ` key, a language menu, and handles on the left and right edges only (#2237, step 2) 2026-11-28 10:54:57 +07:00
bflatastic 7064d56b14 Merge remote-tracking branch 'origin/main' into fix/2226-mind-regraft
# Conflicts:
#	docs/boards-parity.md
2026-11-28 09:32:25 +07:00
BFlat 771d48cd8b Merge pull request #2669 from storytold/fix/2237-code-highlight
M12: boards: code blocks colour keywords, strings, numbers and comments by their language (#2237, step 3)
2026-11-28 09:26:48 +07:00
bflatastic 74848a7982 M12: boards: code blocks colour keywords, strings, numbers and comments by their language (#2237, step 3) 2026-11-28 08:43:27 +07:00
bflatastic 4cc41d50fb M12: a mind map node dropped on another node becomes its child, with everything under it (#2226) 2026-11-28 08:23:05 +07:00
bflatastic e07c9944eb M4: superscript and subscript per range of characters (text.style textPosition, Type settings while editing, text styles, CSS) (#2338) 2026-11-28 08:06:10 +07:00
FredApps 5991a7f951 Parity: Copy as CSS is partial (os): inspect.code returns the same CSS 2026-11-28 06:02:09 +07:00
FredApps f9adc25d85 Add the RFC-0052 headless column to the parity checklist 2026-11-28 05:11:15 +07:00
bflatastic 38ee5533a9 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-28 02:47:01 +07:00
B-uchi d8b49294d1 M8: a clean comparison says what it checked
A layer is listed only once 2% of the pixels it owns differ, so a few
stray pixels on a large background give `total` 0, and changedPercent,
rounded to one decimal, reads 0 for them. The docs said a clean result
meant no compared pixel differed by more than the tolerance; they now
give the 2% rule and what it leaves out, and the compare_design
description says an empty list doesn't mean every pixel matches.
2026-11-27 18:12:39 +01:00
B-uchi cbd785b4ad docs: visual verification says what a clean result covers and names the frame
The example now passes the frame's `id`; a clean result is described as covering only the area
compared and the layers looked at; `truncated.matchedByBox` is explained. The test of the
differences cap asserts that the list is shorter than the count rather than the cap's value, and
uses a small frame (it took several seconds).
2026-11-27 13:47:49 +01:00
B-uchi f4b6e0d885 M8: visual compare refuses a layer that isn't a frame, component or instance
`inspect.compare` checked only how many targets it had and that the target had a size, so with a
rectangle selected it compared the page against the rectangle, used the rectangle as the viewport,
and returned a result that looked like a real answer. A page is built from a frame, a component or
an instance of one: any other layer, named outright or selected, is now refused before the capture
is read, with what it is and what to pick. The command's and the tool's descriptions and the docs
say so.
2026-11-27 13:19:44 +01:00
BFlat e475fa0923 Merge pull request #2660 from storytold/feat/2343-page-background-variable
M7: a page's background can follow a colour variable in the page's mode
2026-11-27 18:30:28 +07:00
B-uchi d53d02b7cd M8: an agent can compare a capture of the page it built with the frame
An agent building a page can't see whether it matches the design. `inspect.compare` and the MCP
tool `compare_design` take a capture the agent's own browser tools made and compare it with a
frame, on this computer. A browser's text and antialiasing never match pixel for pixel, so the
answer isn't one score: it is the layers that differ, each on the deepest layer it belongs to and
largest first, as a position difference (with its offset), a colour difference (expected and
actual) or a content difference. Text is held to twice the tolerance. A capture at 2x is the same
design: the frame's width sets the density.

Explicit targets are validated, and one frame is compared at a time. Parameters of the wrong type
are refused, and so are a path and data together. The capture is size-checked before it is
decoded, the comparison scale is bounded by the larger of the frame and the capture, the layer walk
is iterative and capped (`truncated` says so), and only the 100 differences listed are searched
for a move.
2026-11-27 12:10:51 +01:00