Skip to content

feat(cli): block templates NavHeadingMenu to VStack import icons by meaning - #12762

Closed
josephfarina wants to merge 1 commit into
josephfarina/template-icons-migrate-3from
josephfarina/template-icons-migrate-4
Closed

josephfarina wants to merge 1 commit into
josephfarina/template-icons-migrate-3from
josephfarina/template-icons-migrate-4

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Stack: #12741 → #12747 → #12748 → #12754 → #12756 → #12759 → #12762 → #12767 (lands as one; each PR's own change is its top commit)

What it changes

The last batch of the template icon move (experimental): 40 block templates, NavHeadingMenu through VStack, import their icons by meaning from @astryxdesign/template-icons. With this batch every bundled template does, and the migration script finds nothing left to move. Copies draw the same icons as before, with and without an icon set.

  • TreeListInteractiveSettings keeps its "go into" chevron mirrored in right-to-left pages (xstyle={rtlStyles.mirror}), as on main.

Same script and rules as the earlier batches.

Testing

  • vitest run --project node on packages/cli/api/template, api/component, api/build, api/icon, scripts, foundation/discovery, foundation/integrations and the template icon declarations test. All pass except two locale examples that need a Node with full ICU data (they fail the same way on the base).
  • Three runs of the script from clean trees give identical files. A run over every template afterwards changes nothing.

@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 19, 2026 8:23pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 19, 2026
@astracat-bot

astracat-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 19, 2026, 8:27 PM UTC

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs an engineering owner's spec decision, then two fixes.

This batch rests on the template icon placeholder requirements in the icon-set record (AST-084 FR21–FR23), which #12741, #12747 and #12748 propose and which are not yet approved or on main, where FR9 and FR10 still require each block's icons declaration. Approval waits on an engineering owner approving FR21–FR23 as the governing spec for this batch, recorded with a /approve-spec <full head SHA> comment on those pull requests (the author may comment as an engineering owner).

Blocking:

  • The docs site's shadcn registry builder (apps/docsite/scripts/generate-shadcn-registry.mjs) skips any block that imports the private @astryxdesign/template-icons package, so these blocks drop out of the registry and the canary route-lock check in apps/docsite/scripts/generate-data.mjs fails; run fillTemplatePlaceholders on block and page source in the registry builder before this batch lands.
  • TreeListInteractiveSettings.tsx:35 renders a "go into" chevron that does not mirror in right-to-left pages; add xstyle={rtlStyles.mirror} as ToolbarThreeSlot.tsx:27 does (#12114 makes the same change).

Non-blocking: ToolbarTableFilter grades below 75 on the template rubric (custom CSS and length), unchanged by this pull request.

Claims and files checked

Review mode: full; reason: no-earlier-review

Claims:

  • Forty block templates in the NavHeadingMenu to VStack range now import icons by meaning: verified (40 block sources change; the range's other folders import no icon library).
  • Every bundled template now does, and the migration script finds nothing left to move: verified (no page or block template imports an icon library; the script's check exits 0).
  • Copies draw the same icons as before, with and without an icon set: verified for astryx template copies (all 40 import the same library icons, and every placeholder names the meaning the old declaration gave); false for shadcn registry copies, which are dropped.
  • Same script and rules as the earlier batches: verified (rerunning the script on the base reproduces the head's templates exactly).
  • The listed test suites pass apart from two locale examples: verified (all 2,534 tests in those suites pass).
  • Repeated script runs give identical files, and a run over every template changes nothing: verified for one rerun and for the all-template check.
  • Changeset (the last forty block templates move to meaning imports; copies draw the same icons): same results as the three claims above.

Files:

  • .changeset/template-icons-migrate-4.md: its claim about copies is false for shadcn registry copies (see the first blocking item)
  • Pagination/PaginationDotsCarousel.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Popover/PopoverBottomSheetAlternative.tsx and .doc.mjs: imports and meanings verified; shadcn registry not checked (StyleX block)
  • Section/SectionWashHighlight.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Selector/SelectorOptionDescriptions.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • SelectorOption/SelectorOptionShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextArea/TextAreaWithIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextInput/TextInputIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextInput/TextInputSearch.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonColor.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonGroup.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonIconSwap.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonLabel.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonStates.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Token/TokenIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Token/TokenShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Tokenizer/TokenizerIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarBulkActions.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarCardHeader.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarSizes.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarTableFilter.tsx and .doc.mjs: imports and meanings verified; template rubric below 75, unchanged (non-blocking); shadcn registry not checked (StyleX block)
  • Toolbar/ToolbarThreeSlot.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarWithTabs.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavCenteredNavigation.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavEnterpriseDashboard.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavHoverMenu.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavMegaMenu.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavMultipleDropdowns.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavWithLogo.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenu/TopNavMegaMenuBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenu/TopNavMegaMenuShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMenu/TopNavMenuBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMenu/TopNavMenuShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TreeList/TreeListFileTreeWithIcons.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TreeList/TreeListInteractiveSettings.tsx and .doc.mjs: unmirrored end chevron (blocking); dropped from the shadcn registry
  • Typeahead/TypeaheadSearchField.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • VisuallyHidden/VisuallyHiddenShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • VisuallyHidden/VisuallyHiddenSupplementaryContext.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 6c9eda5 to 408267f Compare November 19, 2026 03:25
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-4 branch from cae3a0f to f9fad8c Compare November 19, 2026 03:25

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs an engineering owner's spec decision, then two fixes.

This batch rests on the template icon placeholder requirements in the icon-set record (AST-084 FR21–FR23), which #12741, #12747 and #12748 propose and which are not yet approved or on main, where FR9 and FR10 still require each block's icons declaration. Approval waits on an engineering owner approving FR21–FR23 as the governing spec for this batch, recorded with a /approve-spec <full head SHA> comment on those pull requests (the author may comment as an engineering owner).

Blocking:

  • The docs site's shadcn registry builder (apps/docsite/scripts/generate-shadcn-registry.mjs) skips any block that imports the private @astryxdesign/template-icons package, so these blocks drop out of the registry and the canary route-lock check in apps/docsite/scripts/generate-data.mjs fails; run fillTemplatePlaceholders on block and page source in the registry builder before this batch lands.
  • TreeListInteractiveSettings.tsx:35 renders a "go into" chevron that does not mirror in right-to-left pages; add xstyle={rtlStyles.mirror} as ToolbarThreeSlot.tsx:27 does (#12114 makes the same change).

Non-blocking: ToolbarTableFilter grades below 75 on the template rubric (custom CSS and length), unchanged by this pull request.

Claims and files checked

Review mode: carry-forward; reason: none

Claims:

  • Forty block templates in the NavHeadingMenu to VStack range now import icons by meaning: verified (40 block sources change; the range's other folders import no icon library).
  • Every bundled template now does, and the migration script finds nothing left to move: verified (no page or block template imports an icon library; the script's check exits 0).
  • Copies draw the same icons as before, with and without an icon set: verified for astryx template copies (all 40 import the same library icons, and every placeholder names the meaning the old declaration gave); false for shadcn registry copies, which are dropped.
  • Same script and rules as the earlier batches: verified (rerunning the script on the base reproduces the head's templates exactly).
  • The listed test suites pass apart from two locale examples: verified (all 2,534 tests in those suites pass).
  • Repeated script runs give identical files, and a run over every template changes nothing: verified for one rerun and for the all-template check.
  • Changeset (the last forty block templates move to meaning imports; copies draw the same icons): same results as the three claims above.

Files:

  • .changeset/template-icons-migrate-4.md: its claim about copies is false for shadcn registry copies (see the first blocking item)
  • Pagination/PaginationDotsCarousel.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Popover/PopoverBottomSheetAlternative.tsx and .doc.mjs: imports and meanings verified; shadcn registry not checked (StyleX block)
  • Section/SectionWashHighlight.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Selector/SelectorOptionDescriptions.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • SelectorOption/SelectorOptionShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextArea/TextAreaWithIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextInput/TextInputIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextInput/TextInputSearch.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonColor.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonGroup.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonIconSwap.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonLabel.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonStates.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Token/TokenIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Token/TokenShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Tokenizer/TokenizerIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarBulkActions.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarCardHeader.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarSizes.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarTableFilter.tsx and .doc.mjs: imports and meanings verified; template rubric below 75, unchanged (non-blocking); shadcn registry not checked (StyleX block)
  • Toolbar/ToolbarThreeSlot.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarWithTabs.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavCenteredNavigation.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavEnterpriseDashboard.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavHoverMenu.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavMegaMenu.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavMultipleDropdowns.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavWithLogo.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenu/TopNavMegaMenuBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenu/TopNavMegaMenuShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMenu/TopNavMenuBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMenu/TopNavMenuShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TreeList/TreeListFileTreeWithIcons.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TreeList/TreeListInteractiveSettings.tsx and .doc.mjs: unmirrored end chevron (blocking); dropped from the shadcn registry
  • Typeahead/TypeaheadSearchField.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • VisuallyHidden/VisuallyHiddenShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • VisuallyHidden/VisuallyHiddenSupplementaryContext.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 408267f to 3ab2034 Compare November 19, 2026 04:47
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-4 branch from f9fad8c to bdf0aab Compare November 19, 2026 04:47
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 3ab2034 to 63b9626 Compare November 19, 2026 05:09
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-4 branch from bdf0aab to cba9cbc Compare November 19, 2026 05:10
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 63b9626 to 52b291e Compare November 19, 2026 05:26
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-4 branch from cba9cbc to 6bfcdb4 Compare November 19, 2026 05:26

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs an engineering owner's spec decision, then two fixes.

This batch rests on the template icon placeholder requirements in the icon-set record (AST-084 FR21–FR23), which #12741, #12747 and #12748 propose and which are not yet approved or on main, where FR9 and FR10 still require each block's icons declaration. Approval waits on an engineering owner approving FR21–FR23 as the governing spec for this batch, recorded with a /approve-spec <full head SHA> comment on those pull requests (the author may comment as an engineering owner).

Blocking:

  • The docs site's shadcn registry builder (apps/docsite/scripts/generate-shadcn-registry.mjs:110) skips any block that imports the private @astryxdesign/template-icons package, so 38 of these blocks drop out of the registry and the canary route-lock check in apps/docsite/scripts/generate-data.mjs fails; run fillTemplatePlaceholders on block and page source in the registry builder before this batch lands.
  • TreeListInteractiveSettings.tsx:35 renders a "go into" chevron that does not mirror in right-to-left pages; add xstyle={rtlStyles.mirror} as ToolbarThreeSlot.tsx:27 does.

Non-blocking: ToolbarTableFilter grades below 75 on the template rubric (custom CSS and length), unchanged by this pull request.

Claims and files checked

Review mode: full; reason: rebase

Claims:

  • Forty block templates in the NavHeadingMenu to VStack range now import icons by meaning: verified (40 block sources change; the range's other folders import no icon library).
  • Every bundled template now does, and the migration script finds nothing left to move: verified (no page or block template imports an icon library; the script's check passes over every template).
  • Copies draw the same icons as before, with and without an icon set: verified for astryx template copies (all 40 import the same library icons, and every placeholder names the meaning the old declaration gave); false for shadcn registry copies, which are dropped.
  • Same script and rules as the earlier batches: verified (rerunning the script on the base reproduces the head's templates exactly).
  • The listed test suites pass apart from two locale examples: verified (all 2,535 tests in those suites pass, the locale examples included).
  • Repeated script runs give identical files, and a run over every template changes nothing: verified for one rerun and for the all-template check.
  • Changeset (the last forty block templates move to meaning imports; every bundled template now does; copies draw the same icons): same results as the claims above.

Files:

  • .changeset/template-icons-migrate-4.md: its claim about copies is false for shadcn registry copies (see the first blocking item)
  • Pagination/PaginationDotsCarousel.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Popover/PopoverBottomSheetAlternative.tsx and .doc.mjs: imports and meanings verified; shadcn registry not checked (StyleX block)
  • Section/SectionWashHighlight.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Selector/SelectorOptionDescriptions.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • SelectorOption/SelectorOptionShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextArea/TextAreaWithIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextInput/TextInputIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextInput/TextInputSearch.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonColor.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonGroup.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonIconSwap.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonLabel.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonStates.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Token/TokenIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Token/TokenShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Tokenizer/TokenizerIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarBulkActions.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarCardHeader.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarSizes.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarTableFilter.tsx and .doc.mjs: imports and meanings verified; template rubric below 75, unchanged (non-blocking); shadcn registry not checked (StyleX block)
  • Toolbar/ToolbarThreeSlot.tsx and .doc.mjs: imports and meanings verified; back arrow mirrors in right-to-left; dropped from the shadcn registry
  • Toolbar/ToolbarWithTabs.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavCenteredNavigation.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavEnterpriseDashboard.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavHoverMenu.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavMegaMenu.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavMultipleDropdowns.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavWithLogo.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenu/TopNavMegaMenuBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenu/TopNavMegaMenuShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMenu/TopNavMenuBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMenu/TopNavMenuShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TreeList/TreeListFileTreeWithIcons.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TreeList/TreeListInteractiveSettings.tsx and .doc.mjs: imports and meanings verified; end chevron does not mirror in right-to-left (second blocking item); dropped from the shadcn registry
  • Typeahead/TypeaheadSearchField.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • VisuallyHidden/VisuallyHiddenShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • VisuallyHidden/VisuallyHiddenSupplementaryContext.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 52b291e to 9d6f83e Compare November 19, 2026 08:32
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-4 branch from 6bfcdb4 to b9e6a5e Compare November 19, 2026 08:32

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs an engineering owner's spec decision, then two fixes.

This batch rests on the template icon placeholder requirements in the icon-set record (AST-084 FR21–FR23), which #12741, #12747 and #12748 propose and which are not yet approved or on main, where FR9 and FR10 still require each block's icons declaration. Approval waits on an engineering owner approving FR21–FR23 as the governing spec for this batch, recorded with a /approve-spec <full head SHA> comment on those pull requests (the author may comment as an engineering owner).

Blocking:

  • The docs site's shadcn registry builder (apps/docsite/scripts/generate-shadcn-registry.mjs:110) skips any block that imports the private @astryxdesign/template-icons package, so 38 of these blocks drop out of the registry and the canary route-lock check in apps/docsite/scripts/generate-data.mjs fails; run fillTemplatePlaceholders on block and page source in the registry builder before this batch lands.
  • TreeListInteractiveSettings.tsx:35 renders a "go into" chevron that does not mirror in right-to-left pages; main already adds xstyle={rtlStyles.mirror} there, so keep that fix when this stack is rebased onto main (or add it here, as ToolbarThreeSlot.tsx:27 does).

Non-blocking: ToolbarTableFilter grades below 75 on the template rubric (custom CSS and length), unchanged by this pull request.

Claims and files checked

Review mode: carry-forward; reason: none

Claims:

  • Forty block templates in the NavHeadingMenu to VStack range now import icons by meaning: verified (40 block sources change; the range's other folders import no icon library).
  • Every bundled template now does, and the migration script finds nothing left to move: verified (no page or block template imports an icon library; the script's check passes over every template).
  • Copies draw the same icons as before, with and without an icon set: verified for astryx template copies (all 40 import the same library icons, and every placeholder names the meaning the old declaration gave); false for shadcn registry copies, which are dropped.
  • Same script and rules as the earlier batches: verified (rerunning the script on the base reproduces the head's templates exactly).
  • The listed test suites pass apart from two locale examples: verified on this same patch before the latest rebase of the branch below it (all 2,535 tests then in those suites passed, the locale examples included).
  • Repeated script runs give identical files, and a run over every template changes nothing: verified for one rerun and for the all-template check.
  • Changeset (the last forty block templates move to meaning imports; every bundled template now does; copies draw the same icons): same results as the claims above.

Files:

  • .changeset/template-icons-migrate-4.md: its claim about copies is false for shadcn registry copies (see the first blocking item)
  • Pagination/PaginationDotsCarousel.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Popover/PopoverBottomSheetAlternative.tsx and .doc.mjs: imports and meanings verified; shadcn registry not checked (StyleX block)
  • Section/SectionWashHighlight.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Selector/SelectorOptionDescriptions.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • SelectorOption/SelectorOptionShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextArea/TextAreaWithIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextInput/TextInputIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextInput/TextInputSearch.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonColor.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonGroup.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonIconSwap.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonLabel.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonStates.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Token/TokenIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Token/TokenShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Tokenizer/TokenizerIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarBulkActions.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarCardHeader.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarSizes.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarTableFilter.tsx and .doc.mjs: imports and meanings verified; template rubric below 75, unchanged (non-blocking); shadcn registry not checked (StyleX block)
  • Toolbar/ToolbarThreeSlot.tsx and .doc.mjs: imports and meanings verified; back arrow mirrors in right-to-left; dropped from the shadcn registry
  • Toolbar/ToolbarWithTabs.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavCenteredNavigation.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavEnterpriseDashboard.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavHoverMenu.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavMegaMenu.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavMultipleDropdowns.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavWithLogo.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenu/TopNavMegaMenuBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenu/TopNavMegaMenuShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMenu/TopNavMenuBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMenu/TopNavMenuShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TreeList/TreeListFileTreeWithIcons.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TreeList/TreeListInteractiveSettings.tsx and .doc.mjs: imports and meanings verified; end chevron does not mirror in right-to-left (second blocking item; main already has the fix); dropped from the shadcn registry
  • Typeahead/TypeaheadSearchField.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • VisuallyHidden/VisuallyHiddenShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • VisuallyHidden/VisuallyHiddenSupplementaryContext.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 9d6f83e to 69bc598 Compare November 19, 2026 09:18
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-4 branch from b9e6a5e to c9d4dca Compare November 19, 2026 09:18

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs an engineering owner's spec decision, then two fixes.

This batch rests on the template icon placeholder requirements in the icon-set record (AST-084 FR21–FR23), which #12741, #12747 and #12748 propose and which are not yet approved or on main, where FR9 and FR10 still require each block's icons declaration. Approval waits on an engineering owner approving FR21–FR23 as the governing spec for this batch, recorded with a /approve-spec <full head SHA> comment on those pull requests (the author may comment as an engineering owner).

Blocking:

  • The docs site's shadcn registry builder (apps/docsite/scripts/generate-shadcn-registry.mjs:110) skips any block that imports the private @astryxdesign/template-icons package, so 38 of these blocks drop out of the registry and the canary route-lock check in apps/docsite/scripts/generate-data.mjs fails; run fillTemplatePlaceholders on block and page source in the registry builder before this batch lands.
  • TreeListInteractiveSettings.tsx:35 renders a "go into" chevron that does not mirror in right-to-left pages; main already adds xstyle={rtlStyles.mirror} there, so keep that fix when this stack is rebased onto main (or add it here, as ToolbarThreeSlot.tsx:27 does).

Non-blocking: ToolbarTableFilter grades below 75 on the template rubric (custom CSS and length), unchanged by this pull request.

Claims and files checked

Review mode: carry-forward; reason: none

Claims:

  • Forty block templates in the NavHeadingMenu to VStack range now import icons by meaning: verified (40 block sources change; the range's other folders import no icon library).
  • Every bundled template now does, and the migration script finds nothing left to move: verified (no page or block template imports an icon library; the script's check passes over every template).
  • Copies draw the same icons as before, with and without an icon set: verified for astryx template copies (all 40 import the same library icons, and every placeholder names the meaning the old declaration gave); false for shadcn registry copies, which are dropped.
  • Same script and rules as the earlier batches: verified (rerunning the script on the base reproduces the head's templates exactly).
  • The listed test suites pass apart from two locale examples: verified on this same patch at an earlier base (all 2,535 tests then in those suites passed, the locale examples included); the one resolution test the branch below has added since was not run.
  • Repeated script runs give identical files, and a run over every template changes nothing: verified for one rerun and for the all-template check.
  • Changeset (the last forty block templates move to meaning imports; every bundled template now does; copies draw the same icons): same results as the claims above.

Files:

  • .changeset/template-icons-migrate-4.md: its claim about copies is false for shadcn registry copies (see the first blocking item)
  • Pagination/PaginationDotsCarousel.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Popover/PopoverBottomSheetAlternative.tsx and .doc.mjs: imports and meanings verified; shadcn registry not checked (StyleX block)
  • Section/SectionWashHighlight.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Selector/SelectorOptionDescriptions.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • SelectorOption/SelectorOptionShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextArea/TextAreaWithIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextInput/TextInputIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TextInput/TextInputSearch.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonColor.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonGroup.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonIconSwap.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonLabel.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • ToggleButton/ToggleButtonStates.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Token/TokenIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Token/TokenShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Tokenizer/TokenizerIcon.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarBulkActions.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarCardHeader.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarSizes.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • Toolbar/ToolbarTableFilter.tsx and .doc.mjs: imports and meanings verified; template rubric below 75, unchanged (non-blocking); shadcn registry not checked (StyleX block)
  • Toolbar/ToolbarThreeSlot.tsx and .doc.mjs: imports and meanings verified; back arrow mirrors in right-to-left; dropped from the shadcn registry
  • Toolbar/ToolbarWithTabs.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavCenteredNavigation.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavEnterpriseDashboard.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavHoverMenu.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavMegaMenu.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavMultipleDropdowns.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNav/TopNavWithLogo.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenu/TopNavMegaMenuBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenu/TopNavMegaMenuShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMenu/TopNavMenuBasic.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TopNavMenu/TopNavMenuShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TreeList/TreeListFileTreeWithIcons.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • TreeList/TreeListInteractiveSettings.tsx and .doc.mjs: imports and meanings verified; end chevron does not mirror in right-to-left (second blocking item; main already has the fix); dropped from the shadcn registry
  • Typeahead/TypeaheadSearchField.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • VisuallyHidden/VisuallyHiddenShowcase.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry
  • VisuallyHidden/VisuallyHiddenSupplementaryContext.tsx and .doc.mjs: imports and meanings verified; dropped from the shadcn registry

Automated review (maintainer link)

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI. The last 40 block templates now import their icons through the template icon placeholders, and copies still draw the same Heroicons and Lucide icons under meaning-named aliases. An engineering owner approved the governing placeholder requirements (AST-084 FR21–FR23) for this head and for the pull requests below that write them.

CI has not run on this head yet (the commit skips CI), so the required checks still have to pass before merge, and this batch lands only after the pull requests below it.

Non-blocking: ToolbarTableFilter keeps its existing template-rubric grade of about 66 (custom CSS, a 409-line block, its aspect ratio and its lucide-react import in copies), unchanged from main.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the 40 block templates in the NavHeadingMenu to VStack folder range import their icons by meaning from the placeholder package. Verified: all 40 changed sources do, and they are exactly the base templates in that range that imported an icon library.
  • Claim: with this batch every bundled template imports by meaning, and the migration script finds nothing left. Verified: no page or block template imports @heroicons/react or lucide-react at this head (only theme icon files do), and the script's --check exits 0.
  • Claim: copies draw the same icons as before without an icon set. Verified: filling the 40 sources gives exactly the base's 121 library imports.
  • Claim: copies draw the same icons as before with an icon set. Verified: every placeholder carries the meaning its removed icons entry declared (110 of 110).
  • Claim: TreeListInteractiveSettings keeps its chevron mirrored in right-to-left pages, as on main. Verified at TreeListInteractiveSettings.tsx:37.
  • Claim: same script and rules as the earlier batches, and a later run changes nothing. Verified: rerunning the script over the base reproduces all 80 template files byte for byte, and a second run moves none.
  • Claim: the listed node test suites pass apart from two locale examples that need full ICU data. Verified: those suites pass in full here, the locale examples included.
  • Changeset template-icons-migrate-4.md (experimental CLI patch note: the last forty block templates import by meaning, copies draw the same icons). Verified by the evidence for the first four claims.
  • .changeset/template-icons-migrate-4.md: clear
  • Pagination/PaginationDotsCarousel.tsx and .doc.mjs: clear
  • Popover/PopoverBottomSheetAlternative.tsx and .doc.mjs: clear
  • Section/SectionWashHighlight.tsx and .doc.mjs: clear
  • Selector/SelectorOptionDescriptions.tsx and .doc.mjs: clear
  • SelectorOption/SelectorOptionShowcase.tsx and .doc.mjs: clear
  • TextArea/TextAreaWithIcon.tsx and .doc.mjs: clear
  • TextInput/TextInputIcon.tsx and .doc.mjs: clear
  • TextInput/TextInputSearch.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonColor.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonGroup.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonIconSwap.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonLabel.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonShowcase.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonStates.tsx and .doc.mjs: clear
  • Token/TokenIcon.tsx and .doc.mjs: clear
  • Token/TokenShowcase.tsx and .doc.mjs: clear
  • Tokenizer/TokenizerIcon.tsx and .doc.mjs: clear
  • Toolbar/ToolbarBulkActions.tsx and .doc.mjs: clear
  • Toolbar/ToolbarCardHeader.tsx and .doc.mjs: clear
  • Toolbar/ToolbarSizes.tsx and .doc.mjs: clear
  • Toolbar/ToolbarTableFilter.tsx and .doc.mjs: clear (existing rubric grade about 66, unchanged; non-blocking)
  • Toolbar/ToolbarThreeSlot.tsx and .doc.mjs: clear
  • Toolbar/ToolbarWithTabs.tsx and .doc.mjs: clear
  • TopNav/TopNavCenteredNavigation.tsx and .doc.mjs: clear
  • TopNav/TopNavEnterpriseDashboard.tsx and .doc.mjs: clear
  • TopNav/TopNavHoverMenu.tsx and .doc.mjs: clear
  • TopNav/TopNavMegaMenu.tsx and .doc.mjs: clear
  • TopNav/TopNavMultipleDropdowns.tsx and .doc.mjs: clear
  • TopNav/TopNavShowcase.tsx and .doc.mjs: clear
  • TopNav/TopNavWithLogo.tsx and .doc.mjs: clear
  • TopNavMegaMenu/TopNavMegaMenuBasic.tsx and .doc.mjs: clear
  • TopNavMegaMenu/TopNavMegaMenuShowcase.tsx and .doc.mjs: clear
  • TopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsx and .doc.mjs: clear
  • TopNavMenu/TopNavMenuBasic.tsx and .doc.mjs: clear
  • TopNavMenu/TopNavMenuShowcase.tsx and .doc.mjs: clear
  • TreeList/TreeListFileTreeWithIcons.tsx and .doc.mjs: clear
  • TreeList/TreeListInteractiveSettings.tsx and .doc.mjs: clear
  • Typeahead/TypeaheadSearchField.tsx and .doc.mjs: clear
  • VisuallyHidden/VisuallyHiddenShowcase.tsx and .doc.mjs: clear
  • VisuallyHidden/VisuallyHiddenSupplementaryContext.tsx and .doc.mjs: clear

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-4 branch from 1ee368e to 36a17c7 Compare November 19, 2026 18:14
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 36d5e54 to 049e36b Compare November 19, 2026 18:14
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 36a17c7

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI. The last 40 block templates now import their icons through the template icon placeholders, and copies still draw the same Heroicons and Lucide icons under meaning-named aliases. An engineering owner approved the governing placeholder requirements (AST-084 FR21–FR23) for this head and for the pull requests below that write them.

CI has not run on this head yet (the commit skips CI), so the required checks still have to pass before merge, and this batch lands only after the pull requests below it.

Non-blocking: ToolbarTableFilter keeps its existing template-rubric grade of about 66 (custom CSS, a 408-line block, its aspect ratio and its lucide-react import in copies), unchanged from main.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: the 40 block templates in the NavHeadingMenu to VStack folder range import their icons by meaning from the placeholder package. Verified: all 40 changed sources do, and they are exactly the base templates in that range that imported an icon library.
  • Claim: with this batch every bundled template imports by meaning, and the migration script finds nothing left. Verified: no page or block template imports @heroicons/react or lucide-react at this head (only theme icon files do), and the script's --check exits 0 on this same patch.
  • Claim: copies draw the same icons as before without an icon set. Verified: filling the 40 sources gives exactly the base's 121 library imports.
  • Claim: copies draw the same icons as before with an icon set. Verified: every placeholder carries the meaning its removed icons entry declared (110 of 110).
  • Claim: TreeListInteractiveSettings keeps its chevron mirrored in right-to-left pages, as on main. Verified at TreeListInteractiveSettings.tsx:37.
  • Claim: same script and rules as the earlier batches, and a later run changes nothing. Verified: rerunning the script over the base reproduces all 80 template files byte for byte, and a second run moves none.
  • Claim: the listed node test suites pass apart from two locale examples that need full ICU data. Verified on this same patch: those suites pass in full, the locale examples included.
  • Claim: each pull request's own change is its top commit. Verified for this one: a single commit over its base.
  • Changeset template-icons-migrate-4.md (experimental CLI patch note: the last forty block templates, NavHeadingMenu through VStack, import by meaning; copies draw the same icons). Verified by the evidence for the first four claims.
  • .changeset/template-icons-migrate-4.md: clear
  • Pagination/PaginationDotsCarousel.tsx and .doc.mjs: clear
  • Popover/PopoverBottomSheetAlternative.tsx and .doc.mjs: clear
  • Section/SectionWashHighlight.tsx and .doc.mjs: clear
  • Selector/SelectorOptionDescriptions.tsx and .doc.mjs: clear
  • SelectorOption/SelectorOptionShowcase.tsx and .doc.mjs: clear
  • TextArea/TextAreaWithIcon.tsx and .doc.mjs: clear
  • TextInput/TextInputIcon.tsx and .doc.mjs: clear
  • TextInput/TextInputSearch.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonColor.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonGroup.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonIconSwap.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonLabel.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonShowcase.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonStates.tsx and .doc.mjs: clear
  • Token/TokenIcon.tsx and .doc.mjs: clear
  • Token/TokenShowcase.tsx and .doc.mjs: clear
  • Tokenizer/TokenizerIcon.tsx and .doc.mjs: clear
  • Toolbar/ToolbarBulkActions.tsx and .doc.mjs: clear
  • Toolbar/ToolbarCardHeader.tsx and .doc.mjs: clear
  • Toolbar/ToolbarSizes.tsx and .doc.mjs: clear
  • Toolbar/ToolbarTableFilter.tsx and .doc.mjs: clear (existing rubric grade about 66, unchanged; non-blocking)
  • Toolbar/ToolbarThreeSlot.tsx and .doc.mjs: clear
  • Toolbar/ToolbarWithTabs.tsx and .doc.mjs: clear
  • TopNav/TopNavCenteredNavigation.tsx and .doc.mjs: clear
  • TopNav/TopNavEnterpriseDashboard.tsx and .doc.mjs: clear
  • TopNav/TopNavHoverMenu.tsx and .doc.mjs: clear
  • TopNav/TopNavMegaMenu.tsx and .doc.mjs: clear
  • TopNav/TopNavMultipleDropdowns.tsx and .doc.mjs: clear
  • TopNav/TopNavShowcase.tsx and .doc.mjs: clear
  • TopNav/TopNavWithLogo.tsx and .doc.mjs: clear
  • TopNavMegaMenu/TopNavMegaMenuBasic.tsx and .doc.mjs: clear
  • TopNavMegaMenu/TopNavMegaMenuShowcase.tsx and .doc.mjs: clear
  • TopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsx and .doc.mjs: clear
  • TopNavMenu/TopNavMenuBasic.tsx and .doc.mjs: clear
  • TopNavMenu/TopNavMenuShowcase.tsx and .doc.mjs: clear
  • TreeList/TreeListFileTreeWithIcons.tsx and .doc.mjs: clear
  • TreeList/TreeListInteractiveSettings.tsx and .doc.mjs: clear
  • Typeahead/TypeaheadSearchField.tsx and .doc.mjs: clear
  • VisuallyHidden/VisuallyHiddenShowcase.tsx and .doc.mjs: clear
  • VisuallyHidden/VisuallyHiddenSupplementaryContext.tsx and .doc.mjs: clear

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-4 branch from 36a17c7 to e560c99 Compare November 19, 2026 19:34
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 049e36b to 6776994 Compare November 19, 2026 19:34
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec e560c99

@github-actions github-actions Bot removed the needs:design-review Affects visuals — Design should review label Nov 19, 2026
josephfarina added a commit that referenced this pull request Nov 19, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI. The last 40 block templates now import their icons through the template icon placeholders, and copies still draw the same Heroicons and Lucide icons under meaning-named aliases. An engineering owner approved the governing placeholder requirements (AST-084 FR21–FR23) for this head and for the pull requests below that write them.

CI has not run on this head yet (the commit skips CI), so the required checks still have to pass before merge, and this batch lands only together with the pull requests below it.

Non-blocking: ToolbarTableFilter keeps its existing template-rubric grade of about 65 (custom CSS, a 408-line block, its aspect ratio and its lucide-react import in copies), unchanged from main.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the 40 block templates in the NavHeadingMenu to VStack folder range import their icons by meaning from the placeholder package. Verified: all 40 changed sources do, and they are exactly the base block templates (in alphabetical folder order) that still imported an icon library.
  • Claim: with this batch every bundled template imports by meaning, and the migration script finds nothing left. Verified: no page or block template imports @heroicons/react or lucide-react at this head (only theme icon files, which the script skips), and the script's --check exits 0.
  • Claim: copies draw the same icons as before without an icon set. Verified: filling the 40 sources gives back exactly the base's 121 library imports, and the code below them is unchanged apart from names.
  • Claim: copies draw the same icons as before with an icon set. Verified: every placeholder carries the meaning its removed icons entry declared (110 of 110), and the table draws it with the same library icon.
  • Claim: TreeListInteractiveSettings keeps its chevron mirrored in right-to-left pages, as on main. Verified at TreeListInteractiveSettings.tsx:37, the same line as on main.
  • Claim: same script and rules as the earlier batches; repeated runs give identical files and a later run changes nothing. Verified: a run over a clean copy of the base reproduces the head's templates byte for byte, and a second run moves none.
  • Claim: the listed node test suites pass apart from two locale examples that need full ICU data. Verified: those suites pass in full here (189 files, 2,627 tests), the locale examples included.
  • Claim: each pull request's own change is its top commit. Verified for this one: a single commit over its base.
  • Changeset template-icons-migrate-4.md (experimental CLI patch note: the last forty block templates import by meaning; copies draw the same icons with and without an icon set). Verified by the evidence for the first four claims.
  • .changeset/template-icons-migrate-4.md: clear
  • Pagination/PaginationDotsCarousel.tsx and .doc.mjs: clear
  • Popover/PopoverBottomSheetAlternative.tsx and .doc.mjs: clear
  • Section/SectionWashHighlight.tsx and .doc.mjs: clear
  • Selector/SelectorOptionDescriptions.tsx and .doc.mjs: clear
  • SelectorOption/SelectorOptionShowcase.tsx and .doc.mjs: clear
  • TextArea/TextAreaWithIcon.tsx and .doc.mjs: clear
  • TextInput/TextInputIcon.tsx and .doc.mjs: clear
  • TextInput/TextInputSearch.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonColor.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonGroup.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonIconSwap.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonLabel.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonShowcase.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonStates.tsx and .doc.mjs: clear
  • Token/TokenIcon.tsx and .doc.mjs: clear
  • Token/TokenShowcase.tsx and .doc.mjs: clear
  • Tokenizer/TokenizerIcon.tsx and .doc.mjs: clear
  • Toolbar/ToolbarBulkActions.tsx and .doc.mjs: clear
  • Toolbar/ToolbarCardHeader.tsx and .doc.mjs: clear
  • Toolbar/ToolbarSizes.tsx and .doc.mjs: clear
  • Toolbar/ToolbarTableFilter.tsx and .doc.mjs: clear (existing rubric grade of about 65, unchanged; non-blocking)
  • Toolbar/ToolbarThreeSlot.tsx and .doc.mjs: clear (directional icon mirrors once)
  • Toolbar/ToolbarWithTabs.tsx and .doc.mjs: clear
  • TopNav/TopNavCenteredNavigation.tsx and .doc.mjs: clear
  • TopNav/TopNavEnterpriseDashboard.tsx and .doc.mjs: clear
  • TopNav/TopNavHoverMenu.tsx and .doc.mjs: clear
  • TopNav/TopNavMegaMenu.tsx and .doc.mjs: clear
  • TopNav/TopNavMultipleDropdowns.tsx and .doc.mjs: clear
  • TopNav/TopNavShowcase.tsx and .doc.mjs: clear
  • TopNav/TopNavWithLogo.tsx and .doc.mjs: clear
  • TopNavMegaMenu/TopNavMegaMenuBasic.tsx and .doc.mjs: clear
  • TopNavMegaMenu/TopNavMegaMenuShowcase.tsx and .doc.mjs: clear
  • TopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsx and .doc.mjs: clear
  • TopNavMenu/TopNavMenuBasic.tsx and .doc.mjs: clear
  • TopNavMenu/TopNavMenuShowcase.tsx and .doc.mjs: clear
  • TreeList/TreeListFileTreeWithIcons.tsx and .doc.mjs: clear
  • TreeList/TreeListInteractiveSettings.tsx and .doc.mjs: clear (directional icon mirrors once)
  • Typeahead/TypeaheadSearchField.tsx and .doc.mjs: clear
  • VisuallyHidden/VisuallyHiddenShowcase.tsx and .doc.mjs: clear
  • VisuallyHidden/VisuallyHiddenSupplementaryContext.tsx and .doc.mjs: clear

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 6776994 to 9795a88 Compare November 19, 2026 20:10
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-4 branch from e560c99 to ac8cb53 Compare November 19, 2026 20:10
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec ac8cb53

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI. The last 40 block templates now import their icons through the template icon placeholders, and copies still draw the same Heroicons and Lucide icons under meaning-named aliases. An engineering owner approved the governing placeholder requirements (AST-084 FR21–FR23) for this head and for the pull requests below that write them.

CI has not run on this head yet (the commit skips CI), so the required checks still have to pass before merge, and this batch lands only together with the pull requests below it.

Non-blocking: ToolbarTableFilter keeps its existing template-rubric grade of about 65 (custom CSS, a 408-line block, its aspect ratio and its lucide-react import in copies), unchanged from main.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the 40 block templates in the NavHeadingMenu to VStack folder range import their icons by meaning from the placeholder package. Verified: all 40 changed sources do, and they are exactly the base block templates in that alphabetical folder range that still imported an icon library.
  • Claim: with this batch every bundled template imports by meaning, and the migration script finds nothing left. Verified: no page or block template imports @heroicons/react or lucide-react at this head (only theme icon files, which the script skips), and the script's --check exits 0 on this head.
  • Claim: copies draw the same icons as before without an icon set. Verified: filling the 40 sources gives back exactly the base's 121 library imports, and the code below them is unchanged apart from names.
  • Claim: copies draw the same icons as before with an icon set. Verified: every filled import carries the meaning its removed icons entry declared (121 of 121 imports), and the table draws it with the same library icon.
  • Claim: TreeListInteractiveSettings keeps its chevron mirrored in right-to-left pages, as on main. Verified at TreeListInteractiveSettings.tsx:37, the same line as on main.
  • Claim: same script and rules as the earlier batches; repeated runs give identical files and a later run changes nothing. Verified: a run over a clean copy of the base reproduces the head's templates byte for byte, and a second run moves none.
  • Claim: the listed node test suites pass apart from two locale examples that need full ICU data. Verified: those suites pass in full here (190 files, 2,638 tests), the locale examples included.
  • Claim: each pull request's own change is its top commit. Verified for this one: a single commit over its base.
  • Changeset template-icons-migrate-4.md (experimental CLI patch note: the last forty block templates import by meaning, so every bundled template does; copies draw the same icons with and without an icon set). Verified by the evidence for the first four claims.
  • .changeset/template-icons-migrate-4.md: clear
  • Pagination/PaginationDotsCarousel.tsx and .doc.mjs: clear
  • Popover/PopoverBottomSheetAlternative.tsx and .doc.mjs: clear
  • Section/SectionWashHighlight.tsx and .doc.mjs: clear
  • Selector/SelectorOptionDescriptions.tsx and .doc.mjs: clear
  • SelectorOption/SelectorOptionShowcase.tsx and .doc.mjs: clear
  • TextArea/TextAreaWithIcon.tsx and .doc.mjs: clear
  • TextInput/TextInputIcon.tsx and .doc.mjs: clear
  • TextInput/TextInputSearch.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonColor.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonGroup.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonIconSwap.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonLabel.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonShowcase.tsx and .doc.mjs: clear
  • ToggleButton/ToggleButtonStates.tsx and .doc.mjs: clear
  • Token/TokenIcon.tsx and .doc.mjs: clear
  • Token/TokenShowcase.tsx and .doc.mjs: clear
  • Tokenizer/TokenizerIcon.tsx and .doc.mjs: clear
  • Toolbar/ToolbarBulkActions.tsx and .doc.mjs: clear
  • Toolbar/ToolbarCardHeader.tsx and .doc.mjs: clear
  • Toolbar/ToolbarSizes.tsx and .doc.mjs: clear
  • Toolbar/ToolbarTableFilter.tsx and .doc.mjs: non-blocking, existing rubric grade of about 65, unchanged from main
  • Toolbar/ToolbarThreeSlot.tsx and .doc.mjs: clear
  • Toolbar/ToolbarWithTabs.tsx and .doc.mjs: clear
  • TopNav/TopNavCenteredNavigation.tsx and .doc.mjs: clear
  • TopNav/TopNavEnterpriseDashboard.tsx and .doc.mjs: clear
  • TopNav/TopNavHoverMenu.tsx and .doc.mjs: clear
  • TopNav/TopNavMegaMenu.tsx and .doc.mjs: clear
  • TopNav/TopNavMultipleDropdowns.tsx and .doc.mjs: clear
  • TopNav/TopNavShowcase.tsx and .doc.mjs: clear
  • TopNav/TopNavWithLogo.tsx and .doc.mjs: clear
  • TopNavMegaMenu/TopNavMegaMenuBasic.tsx and .doc.mjs: clear
  • TopNavMegaMenu/TopNavMegaMenuShowcase.tsx and .doc.mjs: clear
  • TopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsx and .doc.mjs: clear
  • TopNavMenu/TopNavMenuBasic.tsx and .doc.mjs: clear
  • TopNavMenu/TopNavMenuShowcase.tsx and .doc.mjs: clear
  • TreeList/TreeListFileTreeWithIcons.tsx and .doc.mjs: clear
  • TreeList/TreeListInteractiveSettings.tsx and .doc.mjs: clear
  • Typeahead/TypeaheadSearchField.tsx and .doc.mjs: clear
  • VisuallyHidden/VisuallyHiddenShowcase.tsx and .doc.mjs: clear
  • VisuallyHidden/VisuallyHiddenSupplementaryContext.tsx and .doc.mjs: clear

Automated review (maintainer link)

josephfarina added a commit that referenced this pull request Nov 19, 2026
- #12741 feat(cli): template icon table and the template-icons placeholder package
  Author: @josephfarina
- #12747 feat(cli): template copies write icon placeholders as the library icon that draws them
  Author: @josephfarina
- #12748 feat(cli): twenty-one refined icon meanings that fall back to the meaning templates used before
  Author: @josephfarina
- #12754 feat(cli): page templates ai-chat to kanban-board import icons by meaning
  Author: @josephfarina
- #12756 feat(cli): page templates library to work-item-detail import icons by meaning
  Author: @josephfarina
- #12759 feat(cli): block templates AlertDialog to MultiSelector import icons by meaning
  Author: @josephfarina
- #12762 feat(cli): block templates NavHeadingMenu to VStack import icons by meaning
  Author: @josephfarina
- #12767 feat(cli): bundled templates pick each icon by meaning
  Author: @josephfarina
- #13001 test(cli): the swizzle proof renders Lab's MediaPlayer with its required label
  Author: @josephfarina
@josephfarina

Copy link
Copy Markdown
Contributor Author

Landed in #12965.

@github-actions
github-actions Bot deleted the josephfarina/template-icons-migrate-4 branch November 20, 2026 06:06

This branch was successfully deployed

1 active deployment
Preview — ac8cb530 Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant