Skip to content

fix: site-components - Agree which Figma node a pattern's manifest entry points to #4042

Open

Description

@ZaredRogers

Found in scaffold end-to-end test run 2 (10 Nov 2026, step 3d test B, finding Q2).

Problem

references/manifest.md says a part's or pattern's nodeId is its 1440px frame, with the 390px frame as mobileNodeId. The 5 Nov TSP manifest used the component set's ID as nodeId (for example Home Hero 14106:113). Pattern mode reads the node with get_design_context, and the two choices give different context: the set returns both breakpoints and the component description, while the variant returns one breakpoint.

Fix

Choose one (the component set as nodeId, plus desktopNodeId and mobileNodeId, is the most useful for Pattern mode). Update manifest.md, write-manifest.ts validation and figma-to-block-theme Pattern mode to match.

Done when

The docs, the writer and Pattern mode agree, and the writer rejects the other form or converts it.

Agent notes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Fields

Priority

Low

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions