Skip to content

feat(cli): template copies write icon placeholders as the library icon that draws them - #12747

Closed
josephfarina wants to merge 2 commits into
mainfrom
josephfarina/template-icons-copy-step
Closed

josephfarina wants to merge 2 commits into
mainfrom
josephfarina/template-icons-copy-step

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 18, 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 adds

The copy step for template icon placeholders (experimental). When a template source imports an icon by meaning (import {DeleteIcon} from '@astryxdesign/template-icons'), astryx template writes the library import that draws it, under the same name. Nothing below the imports changes.

  • No icon set: the icon the table names for the import path's variant, a Heroicon (import {TrashIcon as DeleteIcon} from '@heroicons/react/24/outline') or a Lucide icon for /lucide.
  • With an icon set: each filled import carries its placeholder's meaning by its local name, so the set maps it exactly as it maps a declared icon, and two placeholders that one library icon draws keep their own meanings. A test pins that both paths give the same output.
  • The component showcase source (through the component adapter) and build's setup notes fill placeholders the same way, so neither hands out or asks to install the placeholder package.
  • Template search, its pre-parse bound and the components template show lists read a placeholder, filled or not, as the library icon that draws it, so search results and listed components do not change when templates move to placeholders. Tests pin the filled and unfilled names and the bound.
  • Only a named import whose meaning the table draws is filled. Any other import from the package (no table meaning; default, namespace, type-only or side-effect) stays as written. Comments inside a rewritten import are kept, and a default import beside a filled one stays a default: the fill and the icon-set mapping share one import reprint (rewriteKeptImport).
  • AST-084 FR22 describes it; FR10 and DEC-11 note the one rewrite that happens without an icon set.

No bundled template imports placeholders yet, so every copy is unchanged.

Testing

  • vitest run --project node on packages/cli/api/template, api/build, api/component, 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).
  • pnpm check:knowledge, Prettier on the changed files

Writing rubric results

R1 narration: none; FR22, the FR10 sentence and the DEC-11 exception states what the system does, in the present tense.
R2 research: none in the record.
R3 evidence: the verification row names tests, not changes.
R4 rejected alternatives: none.
R5 change references: none.
R6 open questions: none.
R7 project status: none; no "yet", "follow-up" or "phase" in the added text.

@vercel

vercel Bot commented Nov 18, 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 18, 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.

Approval waits on an engineering owner's spec decision, and four fixes are needed.

This pull request adds FR22 to spec:AST-084 and amends FR10 so placeholder imports are rewritten without an icon set. Neither is in the current spec, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner. Whatever that decision is, these need fixing:

  • The changeset and FR22 say a copy with no icon set draws Heroicons, but a /lucide placeholder becomes a lucide-react import, so say "the icon the table names for the import path's look (a Heroicon, or a Lucide icon for /lucide)".
  • FR22 and the description say a copy never imports @astryxdesign/template-icons, yet an import that names no meaning in the table stays as written (pinned by the keeps an import that names no meaning test), so state that exception or stop keeping the import.
  • The description says FR9 notes the one rewrite without an icon set, but the amended sentence is in FR10.
  • The description has no ## Writing rubric results section for the AST-084 change, which every pull request that changes a knowledge record must report.
Claims and files checked

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

  • Claim: a placeholder import becomes the library import under the same name, and code below the imports is unchanged. Verified (template-icons.test.mjs:958, template-placeholders.test.mjs:102).
  • Claim: with no icon set, the copy draws the table's Heroicon in the look the path names. False for /lucide, which writes lucide-react (template-placeholders.test.mjs:121).
  • Claim: with an icon set, a placeholder maps like the same icon declared, and a test pins it. Verified (template-icons.test.mjs:979).
  • Claim: the showcase source and build's setup notes fill placeholders the same way. Verified (showcase.mjs:59-61, _adapter.mjs:375-377); the base's setup notes already skipped every @astryxdesign/ import (template-needs.mjs:369).
  • Claim: a copy never imports the placeholder package. False for an import that names no meaning (template-placeholders.test.mjs:129-148).
  • Claim: an import that names no meaning stays as written, and comments inside a rewritten import are kept. Verified (template-placeholders.test.mjs:129).
  • Claim: FR22 describes the step, and FR9 notes the rewrite without an icon set. FR22 verified; the note is in FR10 (spec.md:389-391).
  • Claim: no bundled template imports placeholders, so every copy is unchanged. Verified: no template source imports the package.
  • Claim: the listed test suites, the knowledge check and Prettier pass. Verified on this head.
  • Changeset: the placeholder becomes the app's icon pack's icon, else a Heroicon. False for /lucide.
  • Changeset: the showcase source and setup notes do the same, and no bundled template changes. Verified.
  • File .changeset/template-icon-placeholders-copy.md: finding (the /lucide look).
  • File docs/specs/AST-084-icon-sets/spec.md: finding (FR22 wording); FR22 and the FR10 amendment await an owner decision.
  • File packages/cli/api/build/_adapter.mjs: clear.
  • File packages/cli/api/component/detail/showcase/showcase.mjs: clear.
  • File packages/cli/foundation/discovery/template-icons.mjs: clear.
  • File packages/cli/foundation/discovery/template-icons.test.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.mjs: non-blocking note (a default import beside a placeholder named import becomes a named import).
  • File packages/cli/foundation/discovery/template-placeholders.test.mjs: clear.

Automated review (maintainer link)

Comment thread docs/specs/AST-084-icon-sets/spec.md Resolved

@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 spec decision, and four fixes are needed.

This pull request adds FR22 to spec:AST-084 and amends FR10 so placeholder imports are rewritten without an icon set. Neither is in the current spec, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may do so as an engineering owner), and whatever that decision is, these need fixing:

  • The changeset, FR22 and its verification row say a copy with no icon set draws Heroicons, but a /lucide placeholder becomes a lucide-react import, so say "the icon the table names for the import path's look (a Heroicon, or a Lucide icon for /lucide)".
  • FR22 and the description say a copy never imports @astryxdesign/template-icons, yet an import that names no meaning in the table, a namespace import and a type-only import all stay as written, so state those exceptions or stop keeping them.
  • The description says FR9 notes the one rewrite without an icon set, but the amended sentence is in FR10.
  • The description has no ## Writing rubric results section for the AST-084 change, which every pull request that changes a knowledge record must report.

One non-blocking point:

  • Miss (non-blocking): the docs site's Code tab, Playground, MCP server and shadcn Install item build template source without this fill (apps/docsite/scripts/generate-data.mjs, generate-shadcn-registry.mjs), so once a template adopts placeholders they hand out the private import or drop the Install item; call the same step there, or have FR22 say why they are excluded.
Claims and files checked

Review mode: full; reason: rebase

  • Claim: a placeholder import becomes the library import under the same name, and code below the imports is unchanged. Verified (template-icons.test.mjs:958, template-placeholders.test.mjs:102).
  • Claim: with no icon set, the copy draws the table's Heroicon in the look the path names. False for /lucide, which writes lucide-react (template-placeholders.test.mjs:121).
  • Claim: with an icon set, a placeholder maps like the same icon declared, and a test pins it. Verified (template-icons.test.mjs:979).
  • Claim: the showcase source and build's setup notes fill placeholders the same way, so neither hands out or asks to install the placeholder package. The fill is verified (showcase.mjs:59-61, _adapter.mjs:375-377); the setup notes never asked to install it before (template-needs.mjs:369).
  • Claim: a copy never imports the placeholder package. False for an import that names no meaning (template-placeholders.test.mjs:129-148), a namespace import and a type-only import.
  • Claim: an import that names no meaning stays as written, and comments inside a rewritten import are kept. Verified (template-placeholders.test.mjs:129).
  • Claim: FR22 describes the step, and FR9 notes the rewrite without an icon set. FR22 verified; the note is in FR10 (spec.md:389-391).
  • Claim: no bundled template imports placeholders, so every copy is unchanged. Verified: no template source imports the package.
  • Claim: the listed test suites, the knowledge check and Prettier pass. Verified on this head; the two locale examples also passed here.
  • Changeset: the placeholder becomes the app's icon pack's icon, else a Heroicon. False for /lucide.
  • Changeset: the showcase source and setup notes do the same, and no bundled template changes. Verified.
  • File .changeset/template-icon-placeholders-copy.md: finding (the /lucide look).
  • File docs/specs/AST-084-icon-sets/spec.md: findings (FR22 wording and its verification row); FR22 and the FR10 amendment await an owner decision.
  • File packages/cli/api/build/_adapter.mjs: clear.
  • File packages/cli/api/component/detail/showcase/showcase.mjs: clear.
  • File packages/cli/foundation/discovery/template-icons.mjs: clear.
  • File packages/cli/foundation/discovery/template-icons.test.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.mjs: finding (it keeps placeholder imports it cannot rewrite) and a non-blocking note (a default import beside a placeholder named import becomes a named import).
  • File packages/cli/foundation/discovery/template-placeholders.test.mjs: clear.

Automated review (maintainer link)

Comment thread docs/specs/AST-084-icon-sets/spec.md Resolved

@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 spec decision, and four fixes are needed.

This pull request adds FR22 to spec:AST-084 and amends FR10 so placeholder imports are rewritten without an icon set. Neither is in the current spec, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may do so as an engineering owner); these fixes are needed whatever the decision:

  • The changeset, FR22 and its verification row say a copy with no icon set draws Heroicons, but a /lucide placeholder becomes a lucide-react import, so say "the icon the table names for the import path's look (a Heroicon, or a Lucide icon for /lucide)".
  • FR22 and the description say a copy never imports @astryxdesign/template-icons, yet an import that names no meaning in the table, a namespace import and a type-only import all stay as written, so state those exceptions or stop keeping them.
  • The description says FR9 notes the one rewrite without an icon set, but the amended sentence is in FR10.
  • The description has no ## Writing rubric results section for the AST-084 change, which every pull request that changes a knowledge record must report.

Non-blocking:

  • The docs site's Code tab, Playground, MCP server and shadcn Install item build template source without this fill (apps/docsite/scripts/generate-data.mjs, generate-shadcn-registry.mjs), and the preview loader skips a template that declares no icons, so once a template adopts placeholders they hand out the private import or drop the Install item; call the same step there, or have FR22 say why they are excluded.
Claims and files checked

Review mode: full; reason: rebase

  • Claim: a placeholder import becomes the library import under the same name, and code below the imports is unchanged. Verified (template-icons.test.mjs:958, template-placeholders.test.mjs:102).
  • Claim: with no icon set, the copy draws the table's Heroicon in the look the path names. False for /lucide, which writes lucide-react (template-placeholders.test.mjs:121).
  • Claim: with an icon set, a placeholder maps like the same icon declared, and a test pins it. Verified (template-icons.test.mjs:979).
  • Claim: the showcase source and build's setup notes fill placeholders the same way, so neither hands out or asks to install the placeholder package. The fill is verified (showcase.mjs:59-61, _adapter.mjs:375-377); the setup notes never asked to install it before (template-needs.mjs:369).
  • Claim: a copy never imports the placeholder package. False for an import that names no meaning (template-placeholders.test.mjs:129-148), a namespace import and a type-only import.
  • Claim: an import that names no meaning stays as written, and comments inside a rewritten import are kept. Verified (template-placeholders.test.mjs:129).
  • Claim: FR22 describes the step, and FR9 notes the rewrite without an icon set. FR22 verified; the note is in FR10 (spec.md:389-391).
  • Claim: no bundled template imports placeholders, so every copy is unchanged. Verified: no template source imports the package.
  • Claim: the listed test suites, the knowledge check and Prettier pass. Verified on this head; the two locale examples also passed here.
  • Changeset: the placeholder becomes the app's icon pack's icon, else a Heroicon. False for /lucide.
  • Changeset: the showcase source and setup notes do the same, and no bundled template changes. Verified.
  • File .changeset/template-icon-placeholders-copy.md: finding (the /lucide look).
  • File docs/specs/AST-084-icon-sets/spec.md: findings (FR22 wording and its verification row); FR22 and the FR10 amendment await an owner decision.
  • File packages/cli/api/build/_adapter.mjs: clear.
  • File packages/cli/api/component/_adapter.mjs: clear.
  • File packages/cli/api/component/detail/showcase/showcase.mjs: clear.
  • File packages/cli/foundation/discovery/template-icons.mjs: clear.
  • File packages/cli/foundation/discovery/template-icons.test.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.mjs: finding (it keeps placeholder imports it cannot rewrite) and a non-blocking note (a default import beside a placeholder named import becomes a named import).
  • File packages/cli/foundation/discovery/template-placeholders.test.mjs: clear.

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.

Approval waits on an engineering owner's spec decision, and five fixes are needed.

This pull request adds FR22 to spec:AST-084 and amends FR10 so placeholder imports are rewritten without an icon set; neither is in the current spec, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may do so as an engineering owner). These fixes are needed whatever the decision:

  • Search's pre-parse name bound (componentNameBound, template-adapter.mjs:2342) still yields the placeholder name while derived component names now read the library icon (:2132), so a page that renders <DeleteIcon /> from the placeholder package is missed by search trash and template show lists DeleteIcon where template skeleton lists TrashIcon, contrary to FR22's last sentence and the description; add the drawn library name to the bound with a test, and make template show list the same name or narrow FR22's sentence.
  • The changeset, FR22 and its verification row say a copy with no icon set draws Heroicons, but a /lucide placeholder becomes a lucide-react import, so say "the icon the table names for the import path's look (a Heroicon, or a Lucide icon for /lucide)".
  • FR22 and the description say a copy never imports @astryxdesign/template-icons, yet an import that names no table meaning, a namespace import, a type-only import and a side-effect import all stay as written, so state those exceptions or stop keeping them.
  • The description says FR9 notes the one rewrite without an icon set, but the amended sentence is in FR10.
  • The description has no ## Writing rubric results section for the AST-084 change, which every pull request that changes a knowledge record must report.

Non-blocking:

  • The docs site's Code tab, Playground, MCP server and shadcn Install item build template source without this fill (apps/docsite/scripts/generate-data.mjs, generate-shadcn-registry.mjs), and the preview loader skips a template that declares no icons, so once a template adopts placeholders they hand out the private import or drop the Install item.
Claims and files checked

Review mode: full; reason: rebase

  • Claim: a placeholder import becomes the library import under the same name, and nothing below the imports changes. Verified (template-icons.test.mjs:958, template-placeholders.test.mjs:102).
  • Claim: with no icon set, the copy draws the table's Heroicon in the look the path names. False for /lucide, which writes lucide-react (template-placeholders.test.mjs:121).
  • Claim: with an icon set, a placeholder maps like the same icon declared, and a test pins it. Verified (template-icons.test.mjs:979).
  • Claim: the showcase source and build's setup notes fill placeholders the same way, so neither hands out or asks to install the placeholder package. The fill is verified (showcase.mjs:59-61, build/_adapter.mjs:375-377); the setup notes never asked to install it before (template-needs.mjs:369).
  • Claim: template search and the components a template lists read a placeholder as the library icon that draws it, so search results do not change when templates move to placeholders. False for a placeholder rendered as a tag: the search bound keeps the placeholder name, and template show lists the placeholder name (template-adapter.mjs:2342, show.mjs:69).
  • Claim: a copy never imports the placeholder package. False for an import that names no meaning (template-placeholders.test.mjs:129-148), and for namespace, type-only and side-effect imports.
  • Claim: an import that names no meaning stays as written, and comments inside a rewritten import are kept. Verified (template-placeholders.test.mjs:129).
  • Claim: FR22 describes the step, and FR9 notes the rewrite without an icon set. FR22 verified; the note is in FR10 (spec.md:389-391).
  • Claim: no bundled template imports placeholders, so every copy is unchanged. Verified: no template source imports the package.
  • Claim: the listed test suites, the knowledge check and Prettier pass. Verified on this head; the locale examples also passed here.
  • Changeset: the placeholder becomes the app's icon pack's icon, else a Heroicon. False for /lucide.
  • Changeset: the showcase source and setup notes do the same, and no bundled template changes. Verified.
  • File .changeset/template-icon-placeholders-copy.md: finding (the /lucide look).
  • File docs/specs/AST-084-icon-sets/spec.md: findings (FR22's /lucide, never-imports and search wording, and its verification row); FR22 and the FR10 amendment await an owner decision.
  • File packages/cli/api/build/_adapter.mjs: clear.
  • File packages/cli/api/component/_adapter.mjs: clear.
  • File packages/cli/api/component/detail/showcase/showcase.mjs: clear.
  • File packages/cli/foundation/discovery/template-adapter.mjs: finding (placeholder tags read as the library icon while the search bound and template show keep the placeholder name).
  • File packages/cli/foundation/discovery/template-icons.mjs: clear.
  • File packages/cli/foundation/discovery/template-icons.test.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.mjs: finding (it keeps placeholder imports it cannot rewrite) and a non-blocking note (a default import beside a placeholder named import becomes a named import).
  • File packages/cli/foundation/discovery/template-placeholders.test.mjs: clear; its derived-names test does not cover the search bound.

Automated review (maintainer link)

Comment thread docs/specs/AST-084-icon-sets/spec.md Resolved

@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 spec decision, and five fixes are needed.

This pull request adds FR22 to spec:AST-084 and amends FR10 so placeholder imports are rewritten without an icon set; neither is in the current spec, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request (the author may do so as an engineering owner). These fixes are needed whatever the decision:

  • Search's pre-parse name bound (componentNameBound, template-adapter.mjs:2342) still yields the placeholder name while derived component names now read the library icon (:2132), so search trash misses a page that renders <DeleteIcon /> from the placeholder package and template show lists DeleteIcon where template skeleton lists TrashIcon; add the drawn library name to the bound with a placeholder page in its tests, and make template show list the same name or narrow FR22's last sentence.
  • The changeset, FR22 and its verification row say a copy with no icon set draws Heroicons, but a /lucide placeholder becomes a lucide-react import, so say "the icon the table names for the import path's variant (a Heroicon, or a Lucide icon for /lucide)".
  • FR22 and the description say a copy never imports @astryxdesign/template-icons, yet an import that names no table meaning, a namespace import, a type-only import and a side-effect import all stay on that private package, so state those exceptions or report or refuse them.
  • The description says FR9 notes the one rewrite without an icon set, but the amended sentence is in FR10.
  • The description has no ## Writing rubric results section for the AST-084 change, which every pull request that changes a knowledge record must report.

Non-blocking:

  • The docs site's Code tab, Playground, MCP server and shadcn Install item build template source without this fill (apps/docsite/scripts/generate-data.mjs, generate-shadcn-registry.mjs), and the preview loader skips a template that declares no icons, so once a template adopts placeholders they hand out the private import.
Claims and files checked

Review mode: full; reason: rebase

  • Claim: a placeholder import becomes the library import under the same name, and nothing below the imports changes. Verified (template-icons.test.mjs:958, template-placeholders.test.mjs:102).
  • Claim: with no icon set, the copy draws the table's Heroicon in the variant the path names. False for /lucide, which writes lucide-react (template-placeholders.test.mjs:102).
  • Claim: with an icon set, a placeholder maps like the same icon declared, and a test pins it. Verified (template-icons.test.mjs:979).
  • Claim: the showcase source and build's setup notes fill placeholders the same way, so neither hands out or asks to install the placeholder package. The fill is verified (showcase.mjs:59-61, build/_adapter.mjs:375-377); the setup notes never asked to install it before (template-needs.mjs:369).
  • Claim: template search and the components a template lists read a placeholder as the library icon, so search results do not change when templates move to placeholders. False for a placeholder rendered as a tag: the search bound and template show keep the placeholder name (template-adapter.mjs:2342, show.mjs:69).
  • Claim: a copy never imports the placeholder package. False for an import that names no meaning (template-placeholders.test.mjs:129), and for namespace, type-only and side-effect imports.
  • Claim: an import that names no meaning stays as written, and comments inside a rewritten import are kept. Verified (template-placeholders.test.mjs:129).
  • Claim: FR22 describes the step, and FR9 notes the rewrite without an icon set. FR22 verified; the note is in FR10 (spec.md:389-391).
  • Claim: no bundled template imports placeholders, so every copy is unchanged. Verified: no template source imports the package.
  • Claim: the listed test suites, the knowledge check and Prettier pass, apart from two locale examples. Verified on this head; the locale examples also passed here.
  • Changeset: the placeholder becomes the app's icon set's icon, else a Heroicon. False for /lucide.
  • Changeset: the showcase source and setup notes do the same, and no bundled template changes. Verified.
  • File .changeset/template-icon-placeholders-copy.md: finding (the /lucide variant).
  • File docs/specs/AST-084-icon-sets/spec.md: findings (FR22's /lucide, never-imports and search wording, and its verification row); FR22 and the FR10 amendment await an owner decision.
  • File packages/cli/api/build/_adapter.mjs: clear.
  • File packages/cli/api/component/_adapter.mjs: clear.
  • File packages/cli/api/component/detail/showcase/showcase.mjs: clear.
  • File packages/cli/foundation/discovery/template-adapter.mjs: finding (placeholder tags read as the library icon while the search bound and template show keep the placeholder name).
  • File packages/cli/foundation/discovery/template-icons.mjs: clear.
  • File packages/cli/foundation/discovery/template-icons.test.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.mjs: finding (it keeps placeholder imports it cannot rewrite) and a non-blocking note (a default import beside a filled named import becomes a named import).
  • File packages/cli/foundation/discovery/template-placeholders.test.mjs: clear; its derived-names test does not cover the search bound.

Automated review (maintainer link)

Comment thread docs/specs/AST-084-icon-sets/spec.md Resolved
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec ea26cbb

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

Changes are needed before this can be approved. An engineering owner's approval at this head settles the new FR21 and FR22 and the FR10, DEC-11 and DEC-4 amendments in spec:AST-084, so two fixes remain, and one change fixes both: read only the imports the fill wrote.

  • The listing now reads any hand-written <Meaning>Icon alias whose export the icon table draws as that export, from any module. Templates that use no placeholder therefore list differently with no opt-in: import {Table as TableIcon} from 'lucide-react', or from './widgets', lists Table, Core's component name, where main lists TableIcon. spec:AST-017 FR27 forbids that (packages/cli/foundation/discovery/template-adapter.mjs:2125-2137).
  • The description says search, its bound and template show read a placeholder "filled or not" as its library icon, but an aliased placeholder's filled copy lists its local name: DeleteIcon as Del lists TrashIcon from the template and Del from the printed copy (template-adapter.mjs:2133). Narrow the wording to FR22's "imported under its own name", or read filled copies through the fill's meanings.

This pull request was reviewed on its own against main, together with #12741's commit, because the later entries in its Stack line target other branches rather than main.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: a template's meaning-named icon import becomes the library import that draws it, under the same name, and nothing below the imports changes. Verified (the placeholder cases in the template mapping and placeholder tests).
  • Claim: with no icon set, the copy uses the table's icon for the import path's variant, a Heroicon or a Lucide icon for the lucide path. Verified (placeholder tests).
  • Claim: with an icon set, each filled import keeps its meaning by local name and maps like a declared icon, two placeholders drawn by one icon keep their meanings, and a test pins both paths. Verified in code and by the equivalence test; no icon in today's table draws two meanings.
  • Claim: the showcase source and setup notes fill placeholders, so neither hands out or asks to install the placeholder package. Verified in code and by a probe; no test covers either path.
  • Claim: search, its bound and the listed components read a placeholder, filled or not, as its library icon, and tests pin it. Verified for placeholders imported under their own name and for the bound; false for an aliased placeholder's filled copy.
  • Claim: only a named import whose meaning the table draws is filled; other imports stay as written, comments inside are kept, and a default beside a filled import stays a default through one shared reprint. Verified (tests, and a probe of namespace, type-only and side-effect imports).
  • Claim: the spec's FR22 describes the step, and FR10 and DEC-11 note the one rewrite without an icon set. Verified.
  • Claim: no bundled template imports placeholders, so every copy is unchanged. Verified (none of the 795 bundled sources imports the package; all list the same components as on main).
  • Claim: the listed test suites pass apart from two locale examples, and the knowledge check and Prettier pass. Verified (all tests passed, the locale examples included; both checks pass).
  • Claim: the writing rubric finds no narration, research, change references, open questions or project status in the added record text. Verified.
  • Claim: each listed pull request's own change is its top commit. Verified; five of the later entries target other branches rather than main, so the line does not form a stack for review.
  • Changeset (copy step): copies, the showcase source and setup notes write placeholders as the table's library imports, a set then maps them, and no copy changes today. Verified.
  • Changeset (module): the CLI ships the icon table for every meaning bundled templates draw, a private package is generated from it, and nothing uses it yet. Verified (the table's meanings equal the meanings bundled templates declare; the generator check passes).
  • File .changeset/template-icon-placeholders-copy.md: clear.
  • File .changeset/template-icon-placeholders-module.md: clear.
  • File apps/docsite/package.json: clear.
  • File docs/specs/AST-084-icon-sets/spec.md: clear; FR21, FR22 and the amendments are owner-approved at this head.
  • File packages/cli/api/build/_adapter.mjs: clear.
  • File packages/cli/api/component/_adapter.mjs: clear.
  • File packages/cli/api/component/detail/showcase/showcase.mjs: clear.
  • File packages/cli/assets/icons/template-icons.json: clear.
  • File packages/cli/foundation/discovery/template-adapter.mjs: finding: hand-written aliases relisted without an opt-in; aliased filled copies read by local name.
  • File packages/cli/foundation/discovery/template-icons.mjs: clear.
  • File packages/cli/foundation/discovery/template-icons.test.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.test.mjs: clear.
  • File packages/cli/package.json: clear.
  • File packages/cli/scripts/generate-template-icons.mjs: clear.
  • File packages/template-icons/16/solid/index.d.ts: clear (generated).
  • File packages/template-icons/16/solid/index.js: clear (generated).
  • File packages/template-icons/20/solid/index.d.ts: clear (generated).
  • File packages/template-icons/20/solid/index.js: clear (generated).
  • File packages/template-icons/24/solid/index.d.ts: clear (generated).
  • File packages/template-icons/24/solid/index.js: clear (generated).
  • File packages/template-icons/README.md: clear.
  • File packages/template-icons/index.d.ts: clear (generated).
  • File packages/template-icons/index.js: clear (generated).
  • File packages/template-icons/lucide/index.d.ts: clear (generated).
  • File packages/template-icons/lucide/index.js: clear (generated).
  • File packages/template-icons/package.json: clear (generated).
  • File pnpm-lock.yaml: clear.

Automated review (maintainer link)

Comment on lines +2125 to +2137
if (!statement.source.value.startsWith(ASTRYX_PACKAGE_SCOPE)) {
// A filled placeholder (`TrashIcon as DeleteIcon`) reads as the
// library icon it imports, as the unfilled template does.
for (const specifier of statement.specifiers) {
if (specifier.type !== 'ImportSpecifier') continue;
const {imported} = specifier;
const name =
imported.type === 'Identifier' ? imported.name : imported.value;
if (drawsPlaceholder(specifier.local.name, name)) {
astryxImports.set(specifier.local.name, name);
}
}
continue;

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.

This reads every non-Astryx named import whose local name is <Meaning>Icon and whose export the table draws as that export, from any module, not only the imports the fill wrote. Templates that use no placeholder therefore list differently in every project, with no opt-in. import {XMarkIcon as CloseIcon} from '@heroicons/react/24/outline' now lists XMarkIcon (main: CloseIcon), and import {Table as TableIcon} from 'lucide-react', or from './widgets', lists Table, Core's component name (main: TableIcon). spec:AST-017 FR27 keeps output unchanged without an opt-in, and FR22 covers only placeholders. Suggested: drop the shape test here and have template show read the filled copy through the meanings that fillTemplatePlaceholders returns. That also makes an aliased placeholder's copy (TrashIcon as Del) list TrashIcon, as its template does.

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-copy-step branch from ea26cbb to 1eae58f Compare November 19, 2026 18:14
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 1eae58f

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

Changes are needed before this can be approved. An engineering owner's approval at this head settles the new FR21 and FR22 and the FR10, DEC-11 and DEC-4 amendments in spec:AST-084, so two fixes remain from the previous review, and one change fixes both: read only the imports the fill wrote.

  • The listing reads any hand-written <Meaning>Icon alias whose export the icon table draws as that export, from any module, so templates that use no placeholder list differently with no opt-in (import {Table as TableIcon} from './widgets' lists Table, Core's component name, where main lists TableIcon), which spec:AST-017 FR27 forbids (packages/cli/foundation/discovery/template-adapter.mjs:2125-2137).
  • The description says search, its bound and template show read a placeholder "filled or not" as its library icon, but an aliased placeholder's filled copy lists its local name (DeleteIcon as Del lists TrashIcon from the template and Del from the printed copy, template-adapter.mjs:2133), so narrow the wording to FR22's "imported under its own name" or read filled copies through the fill's meanings.

One small wording fix is suggested inline on FR22's verification row. This pull request was reviewed on its own against main, together with #12741's commit, because the later entries in its Stack line target other branches rather than main.

Claims and files checked

Review mode: full; reason: history

  • Claim: a template's meaning-named icon import becomes the library import that draws it, under the same name, and nothing below the imports changes. Verified (placeholder and template mapping tests).
  • Claim: with no icon set, the copy uses the table's icon for the import path's variant, a Heroicon or a Lucide icon for the lucide path. Verified (placeholder tests).
  • Claim: with an icon set, each filled import keeps its meaning by local name and maps like a declared icon, two placeholders drawn by one icon keep their meanings, and a test pins both paths. Verified in code and by the equivalence test; no icon in today's table draws two meanings.
  • Claim: the showcase source and setup notes fill placeholders, so neither hands out or asks to install the placeholder package. Verified by a probe (the notes ask for the two icon libraries only); no test covers either path.
  • Claim: search, its bound and the listed components read a placeholder, filled or not, as its library icon, so they do not change when templates move to placeholders, and tests pin it. Verified for placeholders imported under their own name and for the bound; false for an aliased placeholder's filled copy.
  • Claim: only a named import whose meaning the table draws is filled; other imports stay as written, comments inside are kept, and a default beside a filled import stays a default through one shared reprint. Verified (tests and code).
  • Claim: the spec's FR22 describes the step, and FR10 and DEC-11 note the one rewrite without an icon set. Verified.
  • Claim: no bundled template imports placeholders, so every copy is unchanged. Verified (none of the 817 bundled sources imports the package; all list the same components as on main).
  • Claim: the listed test suites pass apart from two locale examples, and the knowledge check and Prettier pass. Verified (every test passed here, the locale examples included; both checks pass).
  • Claim: the writing rubric finds no narration, research, change references, open questions or project status in the added record text. Verified.
  • Claim: each listed pull request's own change is its top commit. Verified; five of the later entries target other branches rather than main, so the line does not form a stack for review.
  • Changeset (copy step): copies, the showcase source and setup notes write placeholders as the table's library imports, and a set then maps them like declared icons. Verified.
  • Changeset (module): the CLI ships the icon table for each meaning bundled templates draw, and a private package generated from it lets template sources import by meaning while previews draw the same icons. Verified (the table's meanings equal those bundled templates declare; the generator check passes).
  • File .changeset/template-icon-placeholders-copy.md: clear.
  • File .changeset/template-icon-placeholders-module.md: clear.
  • File apps/docsite/package.json: clear.
  • File docs/specs/AST-084-icon-sets/spec.md: clear; the new and amended text is owner-approved at this head (one non-blocking wording note on the FR22 verification row).
  • File packages/cli/api/build/_adapter.mjs: clear.
  • File packages/cli/api/component/_adapter.mjs: clear.
  • File packages/cli/api/component/detail/showcase/showcase.mjs: clear.
  • File packages/cli/assets/icons/template-icons.json: clear.
  • File packages/cli/foundation/discovery/template-adapter.mjs: finding: hand-written aliases relisted without an opt-in; an aliased placeholder's filled copy is read by its local name.
  • File packages/cli/foundation/discovery/template-icons.mjs: clear.
  • File packages/cli/foundation/discovery/template-icons.test.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.test.mjs: clear.
  • File packages/cli/package.json: clear.
  • File packages/cli/scripts/generate-template-icons.mjs: clear.
  • File packages/template-icons/16/solid/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/16/solid/index.js: clear (generated, matches the generator).
  • File packages/template-icons/20/solid/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/20/solid/index.js: clear (generated, matches the generator).
  • File packages/template-icons/24/solid/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/24/solid/index.js: clear (generated, matches the generator).
  • File packages/template-icons/README.md: clear.
  • File packages/template-icons/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/index.js: clear (generated, matches the generator).
  • File packages/template-icons/lucide/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/lucide/index.js: clear (generated, matches the generator).
  • File packages/template-icons/package.json: clear (generated, matches the generator).
  • File pnpm-lock.yaml: clear.

Automated review (maintainer link)

| FR16 | validate tests; a scratch project on published CLI 0.7.3 | `stability` on a template and namespace doc; template `icons`; peer range from 0.7.4; `experimental.iconVariant` with a range from 0.7.12 | a note fails a check, or a dropped descriptor goes unnoted |
| FR17 | Doctor and discover tests, including `discover.icon-packs` (command tests) | opted in; a placeholder in use, commented out, and quoted; no set installed and no `experimental.iconSet`; one set installed and no `experimental.iconSet`; two sets and no `experimental.iconSet`; invalid set and no `experimental.iconSet`; a variant the main set does not declare, and one for a main set with one look; icon imports from a backup an earlier set covers, an unlisted set, a wrapped library, the main set's own library, a package not installed (declared, default, namespace, type-only, `paths`/`baseUrl`-mapped, and re-exported variants), and the main set uninstalled; a pack a project could add, with and without definitions, with icon features on and off | a project with no set installed and no `experimental.iconSet` sees an icon-set check, issue, or kind; or a variant the main set lacks passes; or a pack a project could add is missing, unmarked, or shows its definitions with icon features off; or another stable command shows a set |
| FR21 | template placeholder tests | every table meaning a definition; every icon in its library for each variant; the package files equal the generated ones; variant from each import path; meaning from each export name | a table meaning is not a definition, a library lacks an icon, or the package drifts from the table |
| FR22 | template mapping and placeholder tests | no set: the table's icon in each variant (Lucide for `/lucide`), names below the imports unchanged, no report; with a set: the same result as the icons declared; an import that names no meaning kept; comments kept; a long import wrapped; meanings kept by local name; search names, the pre-parse bound and listed names read the drawn icon | a copy imports the placeholder package, names below the imports change, or a set maps a placeholder differently from the declared icon |

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.

Non-blocking: this row counts "a copy imports the placeholder package" as a failure, but FR22 and this row's own "an import that names no meaning kept" keep import {NotAMeaningIcon} from '@astryxdesign/template-icons' as written (the "keeps an import that names no meaning as written" case in template-placeholders.test.mjs). Suggested failure text: "a copy imports a placeholder the table draws".

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-copy-step branch from 1eae58f to bdc24ce Compare November 19, 2026 19:34
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 19, 2026
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec bdc24ce

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval 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.

Changes are needed before this can be approved. An engineering owner's approval at this head settles the new FR21 and FR22 and the FR10, DEC-11 and DEC-4 amendments in spec:AST-084, so two fixes remain from the previous review, and one change fixes both: read only the imports the fill wrote.

  • The listing reads any hand-written <Meaning>Icon alias whose export the icon table draws, from any module, so templates that use no placeholder list differently with no opt-in (import {Table as TableIcon} from './widgets' lists Table, Core's component name, where main lists TableIcon), which spec:AST-017 FR27 forbids (packages/cli/foundation/discovery/template-adapter.mjs:2125-2137).
  • The description says search, its bound and template show read a placeholder "filled or not" as its library icon, but an aliased placeholder's filled copy lists its local name (DeleteIcon as Del lists TrashIcon from the template and Del from the printed copy, template-adapter.mjs:2133), so narrow the wording to FR22's "imported under its own name" or read filled copies through the fill's meanings.

The existing inline suggestion on the FR22 verification row's failure text stays open and is non-blocking. This pull request was reviewed on its own against main, together with #12741's commit, because the later entries in its Stack line target other branches rather than main.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: a template's meaning-named icon import becomes the library import that draws it, under the same name, and nothing below the imports changes. Verified (placeholder and template mapping tests).
  • Claim: with no icon set, the copy uses the table's icon for the import path's variant, a Heroicon or a Lucide icon for the lucide path. Verified (placeholder tests).
  • Claim: with an icon set, each filled import keeps its meaning by local name and maps like a declared icon, two placeholders drawn by one icon keep their meanings, and a test pins both paths. Verified in code and by the equivalence test; no icon in today's table draws two meanings.
  • Claim: the showcase source and setup notes fill placeholders, so neither hands out or asks to install the placeholder package. Verified by a probe (the notes ask for the two icon libraries only); no test covers either path.
  • Claim: search, its bound and the listed components read a placeholder, filled or not, as its library icon, so they do not change when templates move to placeholders, and tests pin it. Verified for placeholders imported under their own name and for the bound; false for an aliased placeholder's filled copy.
  • Claim: only a named import whose meaning the table draws is filled; other imports stay as written, comments inside are kept, and a default beside a filled import stays a default through one shared reprint. Verified (tests and code).
  • Claim: the spec's FR22 describes the step, and FR10 and DEC-11 note the one rewrite without an icon set. Verified.
  • Claim: no bundled template imports placeholders, so every copy is unchanged. Verified (none of the 796 bundled sources imports the package; all list the same components as on main).
  • Claim: the listed test suites pass apart from two locale examples, and the knowledge check and Prettier pass. Verified (every test passed here, the locale examples included; both checks pass).
  • Claim: the writing rubric finds no narration, research, change references, open questions or project status in the added record text. Verified.
  • Claim: each listed pull request's own change is its top commit. Verified; five of the later entries target other branches rather than main, so the line does not form a stack for review.
  • Changeset (copy step): copies, the showcase source and setup notes write placeholders as the table's library imports, and a set then maps them like declared icons. Verified.
  • Changeset (module): the CLI ships the icon table for each meaning bundled templates draw, and a private package generated from it lets template sources import by meaning while previews draw the same icons. Verified (the table's meanings equal those bundled templates declare; the generator check passes).
  • File .changeset/template-icon-placeholders-copy.md: clear.
  • File .changeset/template-icon-placeholders-module.md: clear.
  • File apps/docsite/package.json: clear.
  • File docs/specs/AST-084-icon-sets/spec.md: clear; the new and amended text is owner-approved at this head (one non-blocking wording note on the FR22 verification row).
  • File packages/cli/api/build/_adapter.mjs: clear.
  • File packages/cli/api/component/_adapter.mjs: clear.
  • File packages/cli/api/component/detail/showcase/showcase.mjs: clear.
  • File packages/cli/assets/icons/template-icons.json: clear.
  • File packages/cli/foundation/discovery/template-adapter.mjs: finding: hand-written aliases relisted without an opt-in; an aliased placeholder's filled copy is read by its local name.
  • File packages/cli/foundation/discovery/template-icons.mjs: clear.
  • File packages/cli/foundation/discovery/template-icons.test.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.test.mjs: clear.
  • File packages/cli/package.json: clear.
  • File packages/cli/scripts/generate-template-icons.mjs: clear.
  • File packages/template-icons/16/solid/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/16/solid/index.js: clear (generated, matches the generator).
  • File packages/template-icons/20/solid/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/20/solid/index.js: clear (generated, matches the generator).
  • File packages/template-icons/24/solid/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/24/solid/index.js: clear (generated, matches the generator).
  • File packages/template-icons/README.md: clear.
  • File packages/template-icons/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/index.js: clear (generated, matches the generator).
  • File packages/template-icons/lucide/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/lucide/index.js: clear (generated, matches the generator).
  • File packages/template-icons/package.json: clear (generated, matches the generator).
  • File pnpm-lock.yaml: clear.

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/template-icons-copy-step branch from bdc24ce to 8c5fb09 Compare November 19, 2026 20:10
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 8c5fb09

@github-actions github-actions Bot added needs:spec-owner-review Current knowledge records await owner approval and removed needs:spec-owner-review Current knowledge records await owner approval labels 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.

Changes are needed before this can be approved. An engineering owner's approval at this head settles the new FR21 and FR22 and the intro, DEC-4, FR10 and DEC-11 amendments in spec:AST-084, so two fixes remain from the previous review, and one change fixes both: read only the imports the fill wrote.

  • The listing reads any hand-written <Meaning>Icon alias whose export the icon table draws, from any module, so templates that use no placeholder list differently with no opt-in (import {Table as TableIcon} from './widgets' lists Table, Core's component name, where main lists TableIcon), which spec:AST-017 FR27 forbids (packages/cli/foundation/discovery/template-adapter.mjs:2125-2137).
  • The description says search, its bound and template show read a placeholder "filled or not" as its library icon, but template show lists an aliased placeholder's filled copy by its local name (DeleteIcon as Del lists TrashIcon from the template and Del from the printed copy), so narrow the wording to FR22's "imported under its own name" or read filled copies through the fill's meanings.

The existing inline suggestion on the FR22 verification row's failure text stays open and is non-blocking. This pull request was reviewed on its own against main, together with #12741's commit, because the later entries in its Stack line target other branches rather than main.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: a template's meaning-named icon import becomes the library import that draws it, under the same name, and nothing below the imports changes. Verified (placeholder and template mapping tests, and a run of the copy step).
  • Claim: with no icon set, the copy uses the table's icon for the import path's variant, a Heroicon or a Lucide icon for the lucide path. Verified (placeholder tests, and a run of the copy step).
  • Claim: with an icon set, each filled import keeps its meaning by local name and maps like a declared icon, two placeholders drawn by one icon keep their meanings, and a test pins both paths. Verified in code and by the equivalence test; no icon in today's table draws two meanings.
  • Claim: the showcase source and setup notes fill placeholders, so neither hands out or asks to install the placeholder package. Verified by running both (the notes ask for the two icon libraries only); no test covers either path.
  • Claim: search, its bound and the listed components read a placeholder, filled or not, as its library icon, so they do not change when templates move to placeholders, and tests pin it. Verified for placeholders imported under their own name and for the bound; false for an aliased placeholder's filled copy.
  • Claim: only a named import whose meaning the table draws is filled; other imports stay as written, comments inside are kept, and a default beside a filled import stays a default through one shared reprint. Verified (tests and code).
  • Claim: the spec's FR22 describes the step, and FR10 and DEC-11 note the one rewrite without an icon set. Verified.
  • Claim: no bundled template imports placeholders, so every copy is unchanged. Verified (none of the 796 bundled sources imports the package; all copy and list exactly as on main).
  • Claim: the listed test suites pass apart from two locale examples, and the knowledge check and Prettier pass. Verified (every test passed here, the locale examples included; both checks pass).
  • Claim: the writing rubric finds no narration, research, change references, open questions or project status in the added record text, and the verification rows name tests. Verified.
  • Claim: each listed pull request's own change is its top commit. Verified; five of the later entries target other branches rather than main, so the line does not form a stack for review.
  • Changeset (copy step): copies, the showcase source and setup notes write placeholders as the table's library imports, and a set then maps them like declared icons. Verified.
  • Changeset (module): the CLI ships the icon table for each meaning bundled templates draw, and a private package generated from it lets template sources import by meaning while previews draw the same icons. Verified (the table's 172 meanings equal those bundled templates declare; the generator check passes).
  • File .changeset/template-icon-placeholders-copy.md: clear.
  • File .changeset/template-icon-placeholders-module.md: clear.
  • File apps/docsite/package.json: clear.
  • File docs/specs/AST-084-icon-sets/spec.md: clear; the new and amended text is owner-approved at this head (one non-blocking wording note on the FR22 verification row).
  • File packages/cli/api/build/_adapter.mjs: clear.
  • File packages/cli/api/component/_adapter.mjs: clear.
  • File packages/cli/api/component/detail/showcase/showcase.mjs: clear.
  • File packages/cli/assets/icons/template-icons.json: clear.
  • File packages/cli/foundation/discovery/template-adapter.mjs: finding: hand-written aliases relisted without an opt-in; an aliased placeholder's filled copy is read by its local name.
  • File packages/cli/foundation/discovery/template-icons.mjs: clear.
  • File packages/cli/foundation/discovery/template-icons.test.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.mjs: clear.
  • File packages/cli/foundation/discovery/template-placeholders.test.mjs: clear.
  • File packages/cli/package.json: clear.
  • File packages/cli/scripts/generate-template-icons.mjs: clear.
  • File packages/template-icons/16/solid/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/16/solid/index.js: clear (generated, matches the generator).
  • File packages/template-icons/20/solid/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/20/solid/index.js: clear (generated, matches the generator).
  • File packages/template-icons/24/solid/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/24/solid/index.js: clear (generated, matches the generator).
  • File packages/template-icons/README.md: clear.
  • File packages/template-icons/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/index.js: clear (generated, matches the generator).
  • File packages/template-icons/lucide/index.d.ts: clear (generated, matches the generator).
  • File packages/template-icons/lucide/index.js: clear (generated, matches the generator).
  • File packages/template-icons/package.json: clear (generated, matches the generator).
  • File pnpm-lock.yaml: 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-copy-step branch November 20, 2026 06:06

This branch was successfully deployed

1 active deployment
Preview — 8c5fb094 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