Commit Graph
4371 Commits
Author SHA1 Message Date
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 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
Trevor BrownandClaude Opus 5.5 24c2988bd5 M5: a reverted hover keeps the delays that ran; an edit drops the swap times (#2352)
The while-hovering / while-pressing snapshot also keeps the fired After delays, and the revert puts back the ones the temporary variant change cleared (keeping any that fired during it), so a delay that already ran on the variant doesn't run again. When an edit in the editor replaces the presented document, the run-time swap times are cleared with the rest of that state.

Tests: a_hover_variant_that_reverts_does_not_rerun_a_fired_delay (red before: count left 2, right 1) and an_edit_while_presenting_drops_the_swap_times (red before: left Some(0), right Some(1)); present 104 passed, clippy clean (CodeRabbit on #2362).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 02:59:37 -05:00
Trevor BrownandClaude Opus 5.5 d3f275fa70 M5: a temporary variant change that reverts keeps the After delay deadline (#2352)
The swap times now travel with the while-hovering / while-pressing snapshot, so reverting a hover's variant change restores them and the variant shown again fires on its own deadline. Test a_hover_variant_that_reverts_keeps_the_after_delay_deadline (red before: left Some(0), right Some(2) at 1.3 s); present 102 passed, clippy clean (CodeRabbit on #2362).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 01:48:54 -05:00
Trevor BrownandClaude Sonnet 5.5 f451e60ceb M5: a chain of After delay variant changes plays to the end (#2352)
Change to swapped the instance's variant in place, so the next variant's After delay
kept the instance's node id and was already recorded as fired: the chain stopped
after one step. The swap now clears the fired keys inside the instance and records
when it happened; next_delay counts a timer from the later of the screen's arrival
and that swap.

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 23:42:18 -05: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