Commit Graph
2042 Commits
Author SHA1 Message Date
BFlat aaf900a6b3 Merge pull request #2679 from brytoncooper/perf/doc-cow-sharing
perf(doc): share TextData and VectorNetwork copy-on-write via Shared<T> (#1819)
2026-11-28 16:14:51 +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
Bryton Cooper d9deec7b12 perf(doc): share TextData and VectorNetwork copy-on-write via Shared<T> (#1819) 2026-11-28 01:27:27 -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
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
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 025133e4b0 Merge branch 'main' into feat/open-camera-raw 2026-11-28 08:11:34 +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 4caba4a7d3 Merge branch 'main' into pr/visual-compare 2026-11-28 07:26:27 +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
BFlat b8b3685762 Merge pull request #2657 from faridulhq/toggle-ui-cmd-period
Bind Cmd/Ctrl+. to Show/Hide UI as well
2026-11-28 02:53:44 +07:00
bflatastic 38ee5533a9 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-28 02:47:01 +07: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 9f6956c760 M8: a capture compared with the design isn't kept in the session log
`inspect.compare` with `data` went into the session journal with its whole Base64 capture, which
the journal trims only by entry count, so a long session of comparisons could hold gigabytes. It
is left out like a Base64 import; a comparison only reads, so the log of edits is unchanged.
Comparisons by `path` are journaled as before.
2026-11-27 13:47:28 +01:00
B-uchi 92a82a5fda M8: visual compare draws only the frame's area and blames the layer a difference shows through
- The design was drawn over its export area, which takes in strokes, effects and layers past an
  edge that doesn't clip, then fitted to the frame's grid, so it shifted against the capture. It
  is now drawn over the frame's own rectangle (`render_area`), as the capture holds it.
- Every grid is sized from the compared scale itself, never rebuilt from a rounded overlap: a
  capture a few pixels across can't make the frame's grid enormous. The scale has no floor, so a
  gigantic frame gets a coarser grid instead of a bigger one.
- A layer claimed every pixel of its box, so the see-through corners of an ellipse over a changed
  rectangle took the rectangle's difference. A layer with an unclaimed difference now claims only
  the pixels it draws on, from its own drawing at the compared scale, up to 300 layers; past that
  a layer is matched by its box and the result says how many (`truncated.matchedByBox`).
2026-11-27 13:47:28 +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
BFlat 9ef44ff33e Merge pull request #2396 from gmrmad1/fix/2184-text-fixed-height
Text: a fixed-size text keeps the height it is created with (#2184)
2026-11-27 18:06:20 +07:00
BFlat 75f379ee08 Merge pull request #2659 from storytold/fix/2271-native-image-fills
M10: SwiftUI, Compose and Flutter code export keeps image fills in paint order
2026-11-27 18:06:14 +07:00
bflatastic 3d5f799b9a M7: a page's background can follow a colour variable in the page's mode (#2343) 2026-11-27 18:05:29 +07:00
bflatastic 77de2d7bb7 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-27 18:05:08 +07:00
bflatastic 0f8f278c65 M10: SwiftUI, Compose and Flutter code export keeps image fills in paint order
Image fills were dropped by the native targets, so a photo under a colour overlay vanished (#2271). Each image fill is now written in its paint-order place as the asset file.exportAssets hands over, named by the same content hash, fitted by its scale mode with its opacity. A pattern fill is left out with a comment line.
2026-11-27 17:45:47 +07:00
bflatastic 6047748faa Move the fixed-text height step into its own function 2026-11-27 17:44:46 +07:00
bflatastic 9a5a5ad6a3 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine/src/cmd/create.rs
2026-11-27 17:34:53 +07:00
BFlat 6363e9ce67 Merge pull request #2655 from storytold/feat/2395-ink-colour
M12: choose the ink colour and width before drawing (#2395)
2026-11-27 17:32:00 +07:00
Faridul Haque 2487f4df34 Bind Cmd/Ctrl+. to Show/Hide UI as well
Figma users reach for Cmd+. to hide the panels, and it did nothing
here. Cmd+\ stays; both keys now toggle the interface. Plain Cmd+. was
free (only Shift+Cmd+. and Alt+Cmd+. are taken, by text size and
weight).
2026-11-27 16:31:06 +06:00
bflatastic fcc59fa079 M12: choose the ink colour and width before drawing (#2395)
While the Pencil, Marker or Highlighter is the tool, a bar above the
bottom toolbar shows its ink: eight colours (the Pencil also its
automatic black, or white on a dark page or frame), any colour through
the colour picker, and the stroke weight. Each tool keeps its own for
the session; new strokes and the Pencil's preview take it.

tool.ink {tool?, color?, weight?} sets and reads it, and board.ink
takes a weight.
2026-11-27 17:04:21 +07:00
BFlat ffb0676467 Merge pull request #2397 from gmrmad1/fix/2180-create-font-warnings
Text: creating text warns when its font style draws in another face (#2180)
2026-11-27 16:56:59 +07:00
bflatastic b8681075c9 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-27 16:47:52 +07:00
BFlat 567762b938 Merge pull request #2387 from varvbudi-netizen/codex/prototype-control-fixes
M5: fix document-scoped prototype controls and arrow-key aliases
2026-11-27 16:45:24 +07:00
BFlat c3adedf5fc Merge pull request #2493 from denisg0mes/cmd-l-copies-the-link
M3: Cmd/Ctrl+L copies a link to the selected layer
2026-11-27 16:45:09 +07:00