Skip to content

feat(figma): reorder sibling layers in the canonical DOM tree - #639

Merged
developer-1px merged 1 commit into
mainfrom
codex/638-figma-layers-sibling-reorder
Jul 11, 2026
Merged

feat(figma): reorder sibling layers in the canonical DOM tree#639
developer-1px merged 1 commit into
mainfrom
codex/638-figma-layers-sibling-reorder

Conversation

@developer-1px

Copy link
Copy Markdown
Owner

Summary

  • let non-root Figma Layers rows reorder within the same parent through native drag-and-drop
  • add Alt+ArrowUp / Alt+ArrowDown using the shared Foundation target-placement grammar
  • commit each reorder as one canonical document.apply move while preserving selection, focus, React DOM order, and history
  • disable reorder for roots, cross-parent targets, boundaries/no-ops, and filtered search results
  • reuse the existing layer rows and tokens with only transient insertion feedback
  • expose keyboard shortcuts and repeatable live position announcements for assistive technology

Validation

  • pnpm test — 416 files, 2,120 tests passed
  • pnpm test:e2e — 124 tests passed
  • pnpm lint
  • pnpm exec tsc -b --pretty false
  • pnpm build
  • pnpm smoke:package
  • pnpm pack:dry-run
  • git diff --check
  • three independent final reviews: no remaining blocker/P1/P2 findings

Closes #638

@developer-1px
developer-1px merged commit e8d1726 into main Jul 11, 2026
1 check passed
@developer-1px
developer-1px deleted the codex/638-figma-layers-sibling-reorder branch July 11, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(figma): reorder sibling layers in the canonical DOM tree

1 participant