Files
figcraft/crates
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
..
2026-11-13 23:42:21 +07:00
2026-11-14 01:14:26 +07:00
2026-11-13 23:39:24 +07:00
…
…
…