Skip to content

feat(cli): block templates AlertDialog to MultiSelector import icons by meaning - #12759

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

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

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 third batch of the template icon move (experimental): 51 block templates, AlertDialog through MultiSelector, import their icons by meaning from @astryxdesign/template-icons. Copies draw the same icons as before, with and without an icon set.

  • Same script and rules as the earlier batches.
  • The script now formats a changed file only when it was formatted before. Some block descriptors are not, and they keep every line the move does not change: the diff is icon imports, icon names and the removed icons declarations, plus two named changes: the ChatSendButton custom-icon block's send arrow mirrors in right-to-left pages, and the doc-loads registry lists the script's Prettier load (moved to the first batch).

Testing

  • vitest run --project node on packages/cli/api/template, api/component, scripts, foundation/discovery 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, and a fourth run 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:27pm 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:28 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.

Approval waits on an engineering owner's decision on the icon-set record's template placeholder requirements, and one fix is needed:

  • The docs site still shows each migrated block's raw source (apps/docsite/scripts/generate-data.mjs:1602-1612), so for all 51 blocks the Code tab, its copy button and Open in Playground hand out imports from the private @astryxdesign/template-icons package and the ShadCN registry drops their 51 install routes; run the displayed and ShadCN block source through fillTemplatePlaceholders, as astryx template does, before these blocks move.

This batch removes the blocks' icons declarations, which AST-084 FR9 requires on main, and relies on FR21–FR23, which are proposed in #12741, #12747 and #12748 and not yet approved. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. The astryx template copies check out: every icon keeps its Heroicon and meaning, and the script reproduces this diff exactly.

Claims and files checked

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

  • Claim (changeset): fifty-one block templates in the AppShell to MultiSelector range import their icons by meaning. Verified: 51 sources import placeholders, none in that range still imports Heroicons, and the two AlertDialog blocks import no icons.
  • Claim (changeset and description): copies draw the same icons as before, with and without an icon set. Verified for astryx template, showcase and build copies: each placeholder draws the base Heroicon in the same look and names the meaning the base descriptor declared. False for docs-site copies (Code tab, Open in Playground, ShadCN install); see the finding above.
  • Claim: same script and rules as the earlier batches. Verified: running the script from the base files reproduces all 102 template files byte for byte.
  • Claim: the script formats a changed file only when it was formatted before. Verified: migrate-template-icons.mjs:302-307, and the same 15 descriptors are unformatted at base and head.
  • Claim: the diff is only icon imports, icon names and removed icons declarations. Verified: outside the imports, only identifiers change, plus the line wrapping that follows from them.
  • Claim: the named node test projects pass except two locale examples. Verified: 140 files and 1,634 tests pass here, with no locale failures in this environment.
  • Claim: repeated runs give identical files, and a later run changes nothing. Verified: a second run moves 0 templates, and --check exits 0.
  • File .changeset/template-icons-migrate-3.md: its copy claim is false for docs-site copies (finding above).
  • File packages/cli/scripts/migrate-template-icons.mjs: clear.
  • Block sources and descriptors, by folder (sources + descriptors): AppShell 5+5, BaseTypeahead 2+2, BottomSheet 1+1, BreadcrumbItem 1+1, Breadcrumbs 2+2, Button 2+2, ButtonGroup 1+1, Center 2+2, ChatComposer 3+3, ChatComposerDrawer 2+2, ChatMessageMetadata 2+2, ChatSendButton 2+2, ChatSystemMessage 2+2, ContextMenu 1+1, DropdownMenu 2+2, EmptyState 4+4, Hooks 4+4, HoverCard 2+2, Icon 1+1, IconButton 1+1, Item 2+2, MobileNav 3+3, MoreMenu 3+3, MultiSelector 1+1. The icon mapping is clear in every file; every source is affected by the docs-site finding; ContextMenuBottomSheet and MoreMenuBottomSheet keep their existing rubric deductions (non-blocking).

Automated review (maintainer link)

Comment thread .changeset/template-icons-migrate-3.md Resolved
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-2 branch from 5b1e810 to 34284fd Compare November 19, 2026 03:25
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 6c9eda5 to 408267f 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.

Approval waits on an engineering owner's decision on the icon-set record's template placeholder requirements, and one fix is needed:

  • The docs site still shows each migrated block's raw source (apps/docsite/scripts/generate-data.mjs:1602-1612), so for all 51 blocks the Code tab, its copy button and Open in Playground hand out imports from the private @astryxdesign/template-icons package and the ShadCN registry drops their 51 install routes; run the displayed and ShadCN block source through fillTemplatePlaceholders, as astryx template does, before these blocks move.

This batch removes the blocks' icons declarations, which AST-084 FR9 requires on main, and relies on FR21–FR23, which are proposed in #12741, #12747 and #12748 and not yet approved. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. The astryx template copies check out: every icon keeps its Heroicon and meaning, and the script reproduces this diff exactly.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim (changeset): fifty-one block templates in the AppShell to MultiSelector range import their icons by meaning. Verified: 51 sources import placeholders, none in that range still imports Heroicons, and the two AlertDialog blocks import no icons.
  • Claim (changeset and description): copies draw the same icons as before, with and without an icon set. Verified for astryx template, showcase and build copies: each placeholder draws the base Heroicon in the same look and names the meaning the base descriptor declared. False for docs-site copies (Code tab, Open in Playground, ShadCN install); see the finding above.
  • Claim: same script and rules as the earlier batches. Verified: running the script from the base files reproduces all 102 template files byte for byte.
  • Claim: the script formats a changed file only when it was formatted before. Verified: migrate-template-icons.mjs:302-307, and the same 15 descriptors are unformatted at base and head.
  • Claim: the diff is only icon imports, icon names and removed icons declarations. Verified: outside the imports, only identifiers change, plus the line wrapping that follows from them.
  • Claim: the named node test projects pass except two locale examples. Verified: 140 files and 1,634 tests pass here, with no locale failures in this environment.
  • Claim: repeated runs give identical files, and a later run changes nothing. Verified: a second run moves 0 templates, and --check exits 0.
  • File .changeset/template-icons-migrate-3.md: its copy claim is false for docs-site copies (finding above).
  • File packages/cli/scripts/migrate-template-icons.mjs: clear.
  • Block sources and descriptors, by folder (sources + descriptors): AppShell 5+5, BaseTypeahead 2+2, BottomSheet 1+1, BreadcrumbItem 1+1, Breadcrumbs 2+2, Button 2+2, ButtonGroup 1+1, Center 2+2, ChatComposer 3+3, ChatComposerDrawer 2+2, ChatMessageMetadata 2+2, ChatSendButton 2+2, ChatSystemMessage 2+2, ContextMenu 1+1, DropdownMenu 2+2, EmptyState 4+4, Hooks 4+4, HoverCard 2+2, Icon 1+1, IconButton 1+1, Item 2+2, MobileNav 3+3, MoreMenu 3+3, MultiSelector 1+1. The icon mapping is clear in every file; every source is affected by the docs-site finding; ContextMenuBottomSheet and MoreMenuBottomSheet keep their existing rubric deductions (non-blocking).

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-2 branch from 34284fd to a684da8 Compare November 19, 2026 04:47
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 408267f to 3ab2034 Compare November 19, 2026 04:47

@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.

Approval waits on an engineering owner's decision on the icon-set record's template placeholder requirements, and one fix is needed:

  • The docs site still shows each migrated block's raw source (apps/docsite/scripts/generate-data.mjs:1602-1612), so for all 51 blocks the Code tab, its copy button and Open in Playground hand out imports from the private @astryxdesign/template-icons package and the ShadCN registry drops their 51 install routes; run the displayed and ShadCN block source through fillTemplatePlaceholders, as astryx template does, before these blocks move.

This batch removes the blocks' icons declarations, which AST-084 FR9 requires on main, and relies on FR21–FR23 (placeholder imports, copies filling them, meaning fallbacks), which are proposed in #12741, #12747 and #12748 and not yet approved. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. The astryx template copies check out: every icon keeps its Heroicon and meaning, and the script reproduces this diff exactly.

Claims and files checked

Review mode: full; reason: rebase

  • Claim (changeset and title): fifty-one block templates in the AlertDialog to MultiSelector range import their icons by meaning. Verified: 51 sources import placeholders, none in that range still imports an icon library, and the two AlertDialog blocks import no icons.
  • Claim (changeset and description): copies draw the same icons as before, with and without an icon set. Verified for astryx template and showcase copies and for Storybook's rendered block: each placeholder draws the base Heroicon in the same look and names the meaning the base descriptor declared. False for docs-site copies (Code tab, Open in Playground, ShadCN install); see the finding above.
  • Claim: same script and rules as the earlier batches. Verified: running the script from the base files reproduces all 102 template files byte for byte.
  • Claim: the script formats a changed file only when it was formatted before. Verified: migrate-template-icons.mjs:302-307, and the same 15 descriptors are unformatted at base and head.
  • Claim: the diff is only icon imports, icon names and removed icons declarations. Verified: outside the imports only identifiers change, plus the line wrapping that follows from them.
  • Claim: the named node test projects pass except two locale examples. Verified: 140 files and 1,635 tests pass here, with no locale failures in this environment.
  • Claim: repeated runs give identical files, and a later run changes nothing. Verified: a second run moves 0 templates, and --check exits 0.
  • File .changeset/template-icons-migrate-3.md: its copy claim is false for docs-site copies (finding above).
  • File packages/cli/scripts/migrate-template-icons.mjs: clear.
  • Block sources and descriptors, by folder (sources + descriptors): AppShell 5+5, BaseTypeahead 2+2, BottomSheet 1+1, BreadcrumbItem 1+1, Breadcrumbs 2+2, Button 2+2, ButtonGroup 1+1, Center 2+2, ChatComposer 3+3, ChatComposerDrawer 2+2, ChatMessageMetadata 2+2, ChatSendButton 2+2, ChatSystemMessage 2+2, ContextMenu 1+1, DropdownMenu 2+2, EmptyState 4+4, Hooks 4+4, HoverCard 2+2, Icon 1+1, IconButton 1+1, Item 2+2, MobileNav 3+3, MoreMenu 3+3, MultiSelector 1+1. The icon mapping is clear in every file; every source is affected by the docs-site finding; ContextMenuBottomSheet and MoreMenuBottomSheet keep their existing template-rubric deductions (non-blocking).

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-2 branch from a684da8 to 2a30b3b Compare November 19, 2026 05:09
@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-2 branch from 2a30b3b to 57f519c Compare November 19, 2026 05:26
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 63b9626 to 52b291e 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.

Approval waits on an engineering owner's decision on the icon-set record's template placeholder requirements, and one fix is needed:

  • The docs site still shows each migrated block's raw source (apps/docsite/scripts/generate-data.mjs:1602-1612), so for all 51 blocks the Code tab, its copy button and Open in Playground hand out imports from the private @astryxdesign/template-icons package and the ShadCN registry drops their 51 install routes; run the displayed and ShadCN block source through fillTemplatePlaceholders, as astryx template does, before these blocks move.

This batch removes the blocks' icons declarations, which AST-084 FR9 and FR10 require on main, and relies on FR21–FR23 (placeholder imports, copies filling them, meaning fallbacks), which are proposed in #12741, #12747 and #12748 and not yet approved. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. The astryx template copies check out: every icon keeps its Heroicon and look, the rendered blocks checked are pixel-identical, and the script reproduces this diff exactly.

Claims and files checked

Review mode: full; reason: rebase

  • Claim (changeset and title): fifty-one block templates in the AlertDialog to MultiSelector range import their icons by meaning. Verified: 51 sources import placeholders, no source in that range still imports an icon library, and the two AlertDialog blocks import no icons.
  • Claim (changeset and description): copies draw the same icons as before, with and without an icon set. Verified for astryx template and showcase copies and for blocks rendered in Storybook: each of the 138 placeholder imports draws the base Heroicon in the same look and names the meaning the base descriptor declared. False for docs-site copies (Code tab, Open in Playground, ShadCN install); see the finding above.
  • Claim: same script and rules as the earlier batches. Verified: running the script from the base files reproduces all 102 template files byte for byte.
  • Claim: the script formats a changed file only when it was formatted before. Verified: migrate-template-icons.mjs:294-307, and the same 15 descriptors are unformatted at base and head.
  • Claim: the diff is only icon imports, icon names and removed icons declarations. Verified: outside the imports only identifiers change, plus the line wrapping that follows from them.
  • Claim: the named node test projects pass except two locale examples. Verified: 140 files and 1,635 tests pass here, with no locale failures in this environment.
  • Claim: repeated runs give identical files, and a later run changes nothing. Verified: a second run moves 0 templates, and --check exits 0.
  • File .changeset/template-icons-migrate-3.md: its copy claim is false for docs-site copies (finding above).
  • File packages/cli/scripts/migrate-template-icons.mjs: clear.
  • Block sources and descriptors, by folder (sources + descriptors): AppShell 5+5, BaseTypeahead 2+2, BottomSheet 1+1, BreadcrumbItem 1+1, Breadcrumbs 2+2, Button 2+2, ButtonGroup 1+1, Center 2+2, ChatComposer 3+3, ChatComposerDrawer 2+2, ChatMessageMetadata 2+2, ChatSendButton 2+2, ChatSystemMessage 2+2, ContextMenu 1+1, DropdownMenu 2+2, EmptyState 4+4, Hooks 4+4, HoverCard 2+2, Icon 1+1, IconButton 1+1, Item 2+2, MobileNav 3+3, MoreMenu 3+3, MultiSelector 1+1. The icon mapping is clear in every file; every source is affected by the docs-site finding; ContextMenuBottomSheet and MoreMenuBottomSheet keep their existing template-rubric deductions (non-blocking).

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-2 branch from 57f519c to fb8b79f Compare November 19, 2026 08:32
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 52b291e to 9d6f83e 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.

Approval waits on an engineering owner's decision on the icon-set record's template placeholder requirements, and one fix is needed:

  • The docs site still shows each migrated block's raw source (apps/docsite/scripts/generate-data.mjs:1602-1612), so for all 51 blocks the Code tab, its copy button and Open in Playground hand out imports from the private @astryxdesign/template-icons package and the ShadCN registry drops their 51 install routes; run the displayed and ShadCN block source through fillTemplatePlaceholders, as astryx template does, before these blocks move.

This batch removes the blocks' icons declarations, which AST-084 FR9 and FR10 require on main, and relies on FR21–FR23 (placeholder imports, copies filling them, meaning fallbacks), which are proposed in #12741, #12747 and #12748 and not yet approved. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. The astryx template copies check out: all 138 icons keep their Heroicon and look, the rendered blocks checked are pixel-identical, and the script reproduces this diff exactly.

Claims and files checked

Review mode: full; reason: rebase

  • Claim (title and changeset): fifty-one block templates in the AlertDialog to MultiSelector range import their icons by meaning. Verified: 51 sources import placeholders, no source in that range still imports an icon library, and the AlertDialog blocks import no icons.
  • Claim (changeset and description): copies draw the same icons as before, with and without an icon set. Verified for astryx template and showcase copies and for blocks rendered in Storybook: every one of the 138 imports draws the base Heroicon in the same look and names the meaning the base descriptor declared. False for docs-site copies (Code tab, Open in Playground, ShadCN install); see the finding above.
  • Claim: same script and rules as the earlier batches. Verified: running the script from the base files reproduces all 102 template files byte for byte.
  • Claim: the script formats a changed file only when it was formatted before. Verified: migrate-template-icons.mjs:298-311, and the same 15 descriptors are unformatted at base and head.
  • Claim: the diff is only icon imports, icon names and removed icons declarations. Verified: outside the imports only identifiers change, plus the line wrapping that follows from them.
  • Claim: the named node test projects pass except two locale examples. Verified: 140 files and 1,639 tests pass here, with no locale failures in this environment.
  • Claim: repeated runs give identical files, and a later run changes nothing. Verified: a second run moves 0 templates, and --check exits 0.
  • File .changeset/template-icons-migrate-3.md: its copy claim is false for docs-site copies (finding above).
  • File packages/cli/scripts/migrate-template-icons.mjs: clear.
  • Block sources and descriptors, by folder (sources + descriptors): AppShell 5+5, BaseTypeahead 2+2, BottomSheet 1+1, BreadcrumbItem 1+1, Breadcrumbs 2+2, Button 2+2, ButtonGroup 1+1, Center 2+2, ChatComposer 3+3, ChatComposerDrawer 2+2, ChatMessageMetadata 2+2, ChatSendButton 2+2, ChatSystemMessage 2+2, ContextMenu 1+1, DropdownMenu 2+2, EmptyState 4+4, Hooks 4+4, HoverCard 2+2, Icon 1+1, IconButton 1+1, Item 2+2, MobileNav 3+3, MoreMenu 3+3, MultiSelector 1+1. The icon mapping is clear in every file; every source is affected by the docs-site finding; ContextMenuBottomSheet keeps its existing template-rubric deductions (non-blocking), and MoreMenuBottomSheet grades below main only because this branch predates main's rewrite of its wrapper, which a rebase keeps.

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-2 branch from fb8b79f to 8f303d7 Compare November 19, 2026 09:18
@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-3 branch from 9d6f83e to 69bc598 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.

Approval waits on an engineering owner's decision on the icon-set record's template placeholder requirements, and one fix is needed:

  • The docs site still shows each migrated block's raw source (apps/docsite/scripts/generate-data.mjs:1602-1612), so for all 51 blocks the Code tab, its copy button and Open in Playground hand out imports from the private @astryxdesign/template-icons package and the ShadCN registry drops their 51 install routes; run the displayed and ShadCN block source through fillTemplatePlaceholders, as astryx template does, before these blocks move.

This batch removes the blocks' icons declarations, which AST-084 FR9 and FR10 require on main, and relies on FR21–FR23 (placeholder imports, copies filling them, meaning fallbacks), which are proposed in #12741, #12747 and #12748 and not yet approved. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. The astryx template copies check out: all 138 icons keep their Heroicon and look, the rendered blocks checked are pixel-identical, and the script reproduces this diff exactly.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim (title and changeset): fifty-one block templates in the AlertDialog to MultiSelector range import their icons by meaning. Verified: 51 sources import placeholders, no source in that range still imports an icon library, and the AlertDialog blocks import no icons.
  • Claim (changeset and description): copies draw the same icons as before, with and without an icon set. Verified for astryx template and showcase copies and for blocks rendered in Storybook: every one of the 138 imports draws the base Heroicon in the same look and names the meaning the base descriptor declared. False for docs-site copies (Code tab, Open in Playground, ShadCN install); see the finding above.
  • Claim: same script and rules as the earlier batches. Verified: running the script from the base files reproduces all 102 template files byte for byte.
  • Claim: the script formats a changed file only when it was formatted before. Verified: migrate-template-icons.mjs:298-311, and the same 15 descriptors are unformatted at base and head.
  • Claim: the diff is only icon imports, icon names and removed icons declarations. Verified: outside the imports only identifiers change, plus the line wrapping that follows from them.
  • Claim: the named node test projects pass except two locale examples. Verified: 140 files and 1,639 tests pass here, with no locale failures in this environment.
  • Claim: repeated runs give identical files, and a later run changes nothing. Verified: a second run moves 0 templates, and --check exits 0.
  • File .changeset/template-icons-migrate-3.md: its copy claim is false for docs-site copies (finding above).
  • File packages/cli/scripts/migrate-template-icons.mjs: clear.
  • Block sources and descriptors, by folder (sources + descriptors): AppShell 5+5, BaseTypeahead 2+2, BottomSheet 1+1, BreadcrumbItem 1+1, Breadcrumbs 2+2, Button 2+2, ButtonGroup 1+1, Center 2+2, ChatComposer 3+3, ChatComposerDrawer 2+2, ChatMessageMetadata 2+2, ChatSendButton 2+2, ChatSystemMessage 2+2, ContextMenu 1+1, DropdownMenu 2+2, EmptyState 4+4, Hooks 4+4, HoverCard 2+2, Icon 1+1, IconButton 1+1, Item 2+2, MobileNav 3+3, MoreMenu 3+3, MultiSelector 1+1. The icon mapping is clear in every file; every source is affected by the docs-site finding; ContextMenuBottomSheet keeps its existing template-rubric deductions (non-blocking), and MoreMenuBottomSheet grades below main only because this branch predates main's rewrite of its wrapper, which a rebase keeps.

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: CI has not run on this head yet.

An engineering owner approved the icon-set record's template placeholder requirements (FR21–FR23) for this head, which settles the earlier spec question, and nothing in this batch needs fixing. All 138 icons in the 51 copies keep their Heroicon and look, the docs site shows the filled source, and the ChatSendButton custom send icon now mirrors once in right-to-left pages.

  • Non-blocking: ContextMenuBottomSheet keeps its existing template-rubric deductions (three raw tags and six inline style properties, lines 45–56); this batch does not change them.
Claims and files checked

Review mode: full; reason: rebase

  • Claim (title and changeset): the 51 block templates from AlertDialog to MultiSelector import their icons by meaning. Verified: 51 sources import placeholders, no block in that range still imports an icon library, and the AlertDialog blocks import no icons.
  • Claim (changeset and description): copies draw the same icons as before, with and without an icon set. Verified: all 51 astryx template copies print the same 138 Heroicons imports as the base and keep no placeholder, and each placeholder names the meaning the base descriptor declared, so an icon set maps it the same way.
  • Claim (changeset and description): the ChatSendButton custom-icon block's send arrow mirrors in right-to-left pages, as other send icons do. Verified: the right-to-left frame shows it mirrored once (ChatSendButtonCustomIcon.tsx:27-29), and the inbox page template on main already mirrors the same icon.
  • Claim: the chain lands as one, and this pull request's own change is its top commit. Verified: it is one commit on its base.
  • Claim: same script and rules as the earlier batches. Verified: running the script on the base reproduces 101 of the 102 template files byte for byte.
  • Claim: the script formats a changed file only when it was formatted before. Verified: migrate-template-icons.mjs:296-301, and the same 15 descriptors are unformatted at base and head.
  • Claim: the diff is icon imports, icon names and removed icons declarations plus the named mirror, with the runner registry entry moved to the first batch. Verified: the only template line outside the move is the mirror, and the registry entry comes from the first page batch and is not in this diff.
  • Claim: the named node test projects pass except two locale examples that need full ICU data. Verified: 149 files and 1,845 tests pass here on a Node with full ICU data, the locale examples included, as the claim predicts.
  • Claim: repeated clean runs give identical files, and a later run changes nothing. Verified: a clean run matches the head, a second run moves 0 templates, and --check exits 0.
  • File .changeset/template-icons-migrate-3.md: clear.
  • File packages/cli/scripts/migrate-template-icons.mjs: clear.
  • Block sources and descriptors, by folder (sources + descriptors): AppShell 5+5, BaseTypeahead 2+2, BottomSheet 1+1, BreadcrumbItem 1+1, Breadcrumbs 2+2, Button 2+2, ButtonGroup 1+1, Center 2+2, ChatComposer 3+3, ChatComposerDrawer 2+2, ChatMessageMetadata 2+2, ChatSendButton 2+2, ChatSystemMessage 2+2, ContextMenu 1+1, DropdownMenu 2+2, EmptyState 4+4, Hooks 4+4, HoverCard 2+2, Icon 1+1, IconButton 1+1, Item 2+2, MobileNav 3+3, MoreMenu 3+3, MultiSelector 1+1. The icon mapping is clear in every file. ContextMenuBottomSheet keeps its existing template-rubric deductions (non-blocking).

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-2 branch from 629f8bf to 1d56533 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 049e36b

@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: CI has not run on this head yet.

An engineering owner approved the icon-set record's template placeholder requirements (FR21–FR23) for this head, which settles the earlier spec question, and nothing in this batch needs fixing. All 138 icons in the 51 copies keep their Heroicon and look, the docs site shows the filled source, and the ChatSendButton custom send icon now mirrors once in right-to-left pages.

  • Non-blocking: ContextMenuBottomSheet keeps its existing template-rubric deductions (three raw tags and six inline style properties, lines 45–56); this batch does not change them.
Claims and files checked

Review mode: carry-forward; reason: none

  • Claim (title and changeset): the 51 block templates from AlertDialog to MultiSelector import their icons by meaning. Verified: 51 sources import placeholders, no block in that range still imports an icon library, and the AlertDialog blocks import no icons.
  • Claim (changeset and description): copies draw the same icons as before, with and without an icon set. Verified: all 51 astryx template copies print the same 138 Heroicons imports as the base and keep no placeholder, and each placeholder names the meaning the base descriptor declared, so an icon set maps it the same way.
  • Claim (changeset and description): the ChatSendButton custom-icon block's send arrow mirrors in right-to-left pages, as other send icons do. Verified: the right-to-left frame shows it mirrored once (ChatSendButtonCustomIcon.tsx:27-29), and the inbox page template on main already mirrors the same icon.
  • Claim: the chain lands as one, and this pull request's own change is its top commit. Verified: it is one commit on its base.
  • Claim: same script and rules as the earlier batches. Verified: running the script on the base reproduces 101 of the 102 template files byte for byte.
  • Claim: the script formats a changed file only when it was formatted before. Verified: migrate-template-icons.mjs:296-301, and the same 15 descriptors are unformatted at base and head.
  • Claim: the diff is icon imports, icon names and removed icons declarations plus the named mirror, with the runner registry entry moved to the first batch. Verified: the only template line outside the move is the mirror, and the registry entry comes from the first page batch and is not in this diff.
  • Claim: the named node test projects pass except two locale examples that need full ICU data. Verified: 149 files and 1,845 tests pass here on a Node with full ICU data, the locale examples included, as the claim predicts.
  • Claim: repeated clean runs give identical files, and a later run changes nothing. Verified: a clean run matches the head, a second run moves 0 templates, and --check exits 0.
  • File .changeset/template-icons-migrate-3.md: clear.
  • File packages/cli/scripts/migrate-template-icons.mjs: clear.
  • Block sources and descriptors, by folder (sources + descriptors): AppShell 5+5, BaseTypeahead 2+2, BottomSheet 1+1, BreadcrumbItem 1+1, Breadcrumbs 2+2, Button 2+2, ButtonGroup 1+1, Center 2+2, ChatComposer 3+3, ChatComposerDrawer 2+2, ChatMessageMetadata 2+2, ChatSendButton 2+2, ChatSystemMessage 2+2, ContextMenu 1+1, DropdownMenu 2+2, EmptyState 4+4, Hooks 4+4, HoverCard 2+2, Icon 1+1, IconButton 1+1, Item 2+2, MobileNav 3+3, MoreMenu 3+3, MultiSelector 1+1. The icon mapping is clear in every file. ContextMenuBottomSheet keeps its existing template-rubric deductions (non-blocking).

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-migrate-2 branch from 1d56533 to 5627d01 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 6776994

@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: CI has not run on this head yet.

An engineering owner approved the icon-set record's template placeholder requirements (FR21–FR23) for this head, which settles the earlier spec question, and nothing in this batch needs fixing. All 138 icons in the 51 copies keep their Heroicon and look, the docs site shows the filled source, and the ChatSendButton custom send icon now mirrors once in right-to-left pages.

  • Non-blocking: ContextMenuBottomSheet keeps its existing template-rubric deductions (three raw tags and six inline style properties, lines 45–55); this batch does not change them.
Claims and files checked

Review mode: full; reason: rebase

  • Claim (title and changeset): the 51 block templates from AlertDialog to MultiSelector import their icons by meaning. Verified: 51 sources import placeholders, no block in that range still imports an icon library or declares icons, and the AlertDialog blocks import no icons.
  • Claim (changeset and description): copies draw the same icons as before, with and without an icon set. Verified: all 51 astryx template copies print the same 138 Heroicons imports as the base and keep no placeholder import, and each placeholder names the meaning the base descriptor declared, in the same look, so an icon set maps it the same way.
  • Claim (changeset and description): the ChatSendButton custom-icon block's send arrow mirrors in right-to-left pages, as other send icons do. Verified: the right-to-left frame shows the send icon mirrored once and nothing else changed (ChatSendButtonCustomIcon.tsx:27-29), and the inbox page template already mirrors the same icon.
  • Claim: the chain lands as one, and this pull request's own change is its top commit. Verified: it is one commit on its base.
  • Claim: same script and rules as the earlier batches. Verified: running the head's script on the base reproduces 101 of the 102 template files byte for byte; the 102nd differs only by the named mirror.
  • Claim: the script formats a changed file only when it was formatted before, and unformatted descriptors keep every line the move does not change. Verified: migrate-template-icons.mjs:296-301, and the same 15 descriptors are unformatted at base and head.
  • Claim: the diff is icon imports, icon names and removed icons declarations plus the named mirror, with the runner registry entry for the script's Prettier load in the first batch. Verified: the only template line outside the move is the mirror, and the registry entry comes from the first page batch and is not in this diff.
  • Claim: the named node test projects pass except two locale examples that need full ICU data. Verified: 147 files and 1,709 tests pass here on a Node with full ICU data, the locale examples included, as the claim predicts.
  • Claim: repeated clean runs give identical files, and a later run changes nothing. Verified: a clean run matches the head, a second run moves 0 templates, and --check exits 0.
  • File .changeset/template-icons-migrate-3.md: clear.
  • File packages/cli/scripts/migrate-template-icons.mjs: clear.
  • Block sources and descriptors, by folder (sources + descriptors): AppShell 5+5, BaseTypeahead 2+2, BottomSheet 1+1, BreadcrumbItem 1+1, Breadcrumbs 2+2, Button 2+2, ButtonGroup 1+1, Center 2+2, ChatComposer 3+3, ChatComposerDrawer 2+2, ChatMessageMetadata 2+2, ChatSendButton 2+2, ChatSystemMessage 2+2, ContextMenu 1+1, DropdownMenu 2+2, EmptyState 4+4, Hooks 4+4, HoverCard 2+2, Icon 1+1, IconButton 1+1, Item 2+2, MobileNav 3+3, MoreMenu 3+3, MultiSelector 1+1. The icon mapping is clear in every file. ContextMenuBottomSheet keeps its existing template-rubric deductions (non-blocking).

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-2 branch from 5627d01 to b4222af Compare November 19, 2026 20:10
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 9795a88

@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: CI has not run on this head yet.

An engineering owner approved the icon-set record's template placeholder requirements (FR21–FR23) for this head, which settles the spec question, and nothing in this batch needs fixing. All 138 icons in the 51 copies keep their Heroicon and look, and the ChatSendButton custom send icon now mirrors once in right-to-left pages.

  • Non-blocking: ContextMenuBottomSheet keeps its existing template-rubric deductions (three raw tags and six inline style properties, lines 45–55); this batch does not change them.
Claims and files checked

Review mode: full; reason: rebase

  • Claim (title and changeset): the 51 block templates from AlertDialog to MultiSelector import their icons by meaning. Verified: 51 sources import placeholders, no block in that range still imports an icon library or declares icons, and the AlertDialog blocks import no icons.
  • Claim (changeset and description): copies draw the same icons as before, with and without an icon set. Verified: all 51 astryx template copies print the same 138 Heroicons imports as the base and keep no placeholder import, and each placeholder names the meaning the base descriptor declared, in the same look, so an icon set maps it the same way.
  • Claim (changeset and description): the ChatSendButton custom-icon block's send arrow mirrors in right-to-left pages, as other send icons do. Verified: the right-to-left frame shows the send icon mirrored once and nothing else changed (ChatSendButtonCustomIcon.tsx:27-29), and the inbox page template mirrors the same icon (table-inbox/page.tsx:2024-2028).
  • Claim: the chain lands as one, and this pull request's own change is its top commit. Verified: it is one commit on its base.
  • Claim: same script and rules as the earlier batches. Verified: running the head's script on the base reproduces 101 of the 102 template files byte for byte; the 102nd differs only by the named mirror.
  • Claim: the script formats a changed file only when it was formatted before, and unformatted descriptors keep every line the move does not change. Verified: migrate-template-icons.mjs:296-301, and the same 15 descriptors are unformatted at base and head.
  • Claim: the diff is icon imports, icon names and removed icons declarations plus the named mirror, with the runner registry entry for the script's Prettier load in the first batch. Verified: the only template line outside the move is the mirror, and the registry entry comes from the first page batch and is not in this diff.
  • Claim: the named node test projects pass except two locale examples that need full ICU data. Verified: 148 files and 1,713 tests pass on a Node with full ICU data, the locale examples included, as the claim predicts.
  • Claim: repeated clean runs give identical files, and a later run changes nothing. Verified: a clean run matches the head, a second run moves 0 templates, and --check exits 0.
  • File .changeset/template-icons-migrate-3.md: clear.
  • File packages/cli/scripts/migrate-template-icons.mjs: clear.
  • Block sources and descriptors, by folder (sources + descriptors): AppShell 5+5, BaseTypeahead 2+2, BottomSheet 1+1, BreadcrumbItem 1+1, Breadcrumbs 2+2, Button 2+2, ButtonGroup 1+1, Center 2+2, ChatComposer 3+3, ChatComposerDrawer 2+2, ChatMessageMetadata 2+2, ChatSendButton 2+2, ChatSystemMessage 2+2, ContextMenu 1+1, DropdownMenu 2+2, EmptyState 4+4, Hooks 4+4, HoverCard 2+2, Icon 1+1, IconButton 1+1, Item 2+2, MobileNav 3+3, MoreMenu 3+3, MultiSelector 1+1. The icon mapping is clear in every file. ContextMenuBottomSheet keeps its existing template-rubric deductions (non-blocking).

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-3 branch November 20, 2026 06:06

This branch was successfully deployed

1 active deployment
Preview — 9795a88f 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. needs:design-review Affects visuals — Design should review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant