Repository navigation
feat(cli): block templates NavHeadingMenu to VStack import icons by meaning - #12762
josephfarina wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
There was a problem hiding this comment.
Needs an engineering owner's spec decision, then two fixes.
This batch rests on the template icon placeholder requirements in the icon-set record (AST-084 FR21–FR23), which #12741, #12747 and #12748 propose and which are not yet approved or on main, where FR9 and FR10 still require each block's icons declaration. Approval waits on an engineering owner approving FR21–FR23 as the governing spec for this batch, recorded with a /approve-spec <full head SHA> comment on those pull requests (the author may comment as an engineering owner).
Blocking:
- The docs site's shadcn registry builder (
apps/docsite/scripts/generate-shadcn-registry.mjs) skips any block that imports the private@astryxdesign/template-iconspackage, so these blocks drop out of the registry and the canary route-lock check inapps/docsite/scripts/generate-data.mjsfails; runfillTemplatePlaceholderson block and page source in the registry builder before this batch lands. TreeListInteractiveSettings.tsx:35renders a "go into" chevron that does not mirror in right-to-left pages; addxstyle={rtlStyles.mirror}asToolbarThreeSlot.tsx:27does (#12114 makes the same change).
Non-blocking: ToolbarTableFilter grades below 75 on the template rubric (custom CSS and length), unchanged by this pull request.
Claims and files checked
Review mode: full; reason: no-earlier-review
Claims:
- Forty block templates in the NavHeadingMenu to VStack range now import icons by meaning: verified (40 block sources change; the range's other folders import no icon library).
- Every bundled template now does, and the migration script finds nothing left to move: verified (no page or block template imports an icon library; the script's check exits 0).
- Copies draw the same icons as before, with and without an icon set: verified for
astryx templatecopies (all 40 import the same library icons, and every placeholder names the meaning the old declaration gave); false for shadcn registry copies, which are dropped. - Same script and rules as the earlier batches: verified (rerunning the script on the base reproduces the head's templates exactly).
- The listed test suites pass apart from two locale examples: verified (all 2,534 tests in those suites pass).
- Repeated script runs give identical files, and a run over every template changes nothing: verified for one rerun and for the all-template check.
- Changeset (the last forty block templates move to meaning imports; copies draw the same icons): same results as the three claims above.
Files:
.changeset/template-icons-migrate-4.md: its claim about copies is false for shadcn registry copies (see the first blocking item)Pagination/PaginationDotsCarousel.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryPopover/PopoverBottomSheetAlternative.tsxand.doc.mjs: imports and meanings verified; shadcn registry not checked (StyleX block)Section/SectionWashHighlight.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registrySelector/SelectorOptionDescriptions.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registrySelectorOption/SelectorOptionShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextArea/TextAreaWithIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextInput/TextInputIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextInput/TextInputSearch.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonColor.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonGroup.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonIconSwap.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonLabel.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonStates.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToken/TokenIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToken/TokenShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTokenizer/TokenizerIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarBulkActions.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarCardHeader.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarSizes.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarTableFilter.tsxand.doc.mjs: imports and meanings verified; template rubric below 75, unchanged (non-blocking); shadcn registry not checked (StyleX block)Toolbar/ToolbarThreeSlot.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarWithTabs.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavCenteredNavigation.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavEnterpriseDashboard.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavHoverMenu.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavMegaMenu.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavMultipleDropdowns.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavWithLogo.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenu/TopNavMegaMenuBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenu/TopNavMegaMenuShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMenu/TopNavMenuBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMenu/TopNavMenuShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTreeList/TreeListFileTreeWithIcons.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTreeList/TreeListInteractiveSettings.tsxand.doc.mjs: unmirrored end chevron (blocking); dropped from the shadcn registryTypeahead/TypeaheadSearchField.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryVisuallyHidden/VisuallyHiddenShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryVisuallyHidden/VisuallyHiddenSupplementaryContext.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registry
6c9eda5 to
408267f
Compare
cae3a0f to
f9fad8c
Compare
There was a problem hiding this comment.
Needs an engineering owner's spec decision, then two fixes.
This batch rests on the template icon placeholder requirements in the icon-set record (AST-084 FR21–FR23), which #12741, #12747 and #12748 propose and which are not yet approved or on main, where FR9 and FR10 still require each block's icons declaration. Approval waits on an engineering owner approving FR21–FR23 as the governing spec for this batch, recorded with a /approve-spec <full head SHA> comment on those pull requests (the author may comment as an engineering owner).
Blocking:
- The docs site's shadcn registry builder (
apps/docsite/scripts/generate-shadcn-registry.mjs) skips any block that imports the private@astryxdesign/template-iconspackage, so these blocks drop out of the registry and the canary route-lock check inapps/docsite/scripts/generate-data.mjsfails; runfillTemplatePlaceholderson block and page source in the registry builder before this batch lands. TreeListInteractiveSettings.tsx:35renders a "go into" chevron that does not mirror in right-to-left pages; addxstyle={rtlStyles.mirror}asToolbarThreeSlot.tsx:27does (#12114 makes the same change).
Non-blocking: ToolbarTableFilter grades below 75 on the template rubric (custom CSS and length), unchanged by this pull request.
Claims and files checked
Review mode: carry-forward; reason: none
Claims:
- Forty block templates in the NavHeadingMenu to VStack range now import icons by meaning: verified (40 block sources change; the range's other folders import no icon library).
- Every bundled template now does, and the migration script finds nothing left to move: verified (no page or block template imports an icon library; the script's check exits 0).
- Copies draw the same icons as before, with and without an icon set: verified for
astryx templatecopies (all 40 import the same library icons, and every placeholder names the meaning the old declaration gave); false for shadcn registry copies, which are dropped. - Same script and rules as the earlier batches: verified (rerunning the script on the base reproduces the head's templates exactly).
- The listed test suites pass apart from two locale examples: verified (all 2,534 tests in those suites pass).
- Repeated script runs give identical files, and a run over every template changes nothing: verified for one rerun and for the all-template check.
- Changeset (the last forty block templates move to meaning imports; copies draw the same icons): same results as the three claims above.
Files:
.changeset/template-icons-migrate-4.md: its claim about copies is false for shadcn registry copies (see the first blocking item)Pagination/PaginationDotsCarousel.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryPopover/PopoverBottomSheetAlternative.tsxand.doc.mjs: imports and meanings verified; shadcn registry not checked (StyleX block)Section/SectionWashHighlight.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registrySelector/SelectorOptionDescriptions.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registrySelectorOption/SelectorOptionShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextArea/TextAreaWithIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextInput/TextInputIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextInput/TextInputSearch.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonColor.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonGroup.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonIconSwap.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonLabel.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonStates.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToken/TokenIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToken/TokenShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTokenizer/TokenizerIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarBulkActions.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarCardHeader.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarSizes.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarTableFilter.tsxand.doc.mjs: imports and meanings verified; template rubric below 75, unchanged (non-blocking); shadcn registry not checked (StyleX block)Toolbar/ToolbarThreeSlot.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarWithTabs.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavCenteredNavigation.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavEnterpriseDashboard.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavHoverMenu.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavMegaMenu.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavMultipleDropdowns.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavWithLogo.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenu/TopNavMegaMenuBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenu/TopNavMegaMenuShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMenu/TopNavMenuBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMenu/TopNavMenuShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTreeList/TreeListFileTreeWithIcons.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTreeList/TreeListInteractiveSettings.tsxand.doc.mjs: unmirrored end chevron (blocking); dropped from the shadcn registryTypeahead/TypeaheadSearchField.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryVisuallyHidden/VisuallyHiddenShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryVisuallyHidden/VisuallyHiddenSupplementaryContext.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registry
408267f to
3ab2034
Compare
f9fad8c to
bdf0aab
Compare
3ab2034 to
63b9626
Compare
bdf0aab to
cba9cbc
Compare
63b9626 to
52b291e
Compare
cba9cbc to
6bfcdb4
Compare
There was a problem hiding this comment.
Needs an engineering owner's spec decision, then two fixes.
This batch rests on the template icon placeholder requirements in the icon-set record (AST-084 FR21–FR23), which #12741, #12747 and #12748 propose and which are not yet approved or on main, where FR9 and FR10 still require each block's icons declaration. Approval waits on an engineering owner approving FR21–FR23 as the governing spec for this batch, recorded with a /approve-spec <full head SHA> comment on those pull requests (the author may comment as an engineering owner).
Blocking:
- The docs site's shadcn registry builder (
apps/docsite/scripts/generate-shadcn-registry.mjs:110) skips any block that imports the private@astryxdesign/template-iconspackage, so 38 of these blocks drop out of the registry and the canary route-lock check inapps/docsite/scripts/generate-data.mjsfails; runfillTemplatePlaceholderson block and page source in the registry builder before this batch lands. TreeListInteractiveSettings.tsx:35renders a "go into" chevron that does not mirror in right-to-left pages; addxstyle={rtlStyles.mirror}asToolbarThreeSlot.tsx:27does.
Non-blocking: ToolbarTableFilter grades below 75 on the template rubric (custom CSS and length), unchanged by this pull request.
Claims and files checked
Review mode: full; reason: rebase
Claims:
- Forty block templates in the NavHeadingMenu to VStack range now import icons by meaning: verified (40 block sources change; the range's other folders import no icon library).
- Every bundled template now does, and the migration script finds nothing left to move: verified (no page or block template imports an icon library; the script's check passes over every template).
- Copies draw the same icons as before, with and without an icon set: verified for
astryx templatecopies (all 40 import the same library icons, and every placeholder names the meaning the old declaration gave); false for shadcn registry copies, which are dropped. - Same script and rules as the earlier batches: verified (rerunning the script on the base reproduces the head's templates exactly).
- The listed test suites pass apart from two locale examples: verified (all 2,535 tests in those suites pass, the locale examples included).
- Repeated script runs give identical files, and a run over every template changes nothing: verified for one rerun and for the all-template check.
- Changeset (the last forty block templates move to meaning imports; every bundled template now does; copies draw the same icons): same results as the claims above.
Files:
.changeset/template-icons-migrate-4.md: its claim about copies is false for shadcn registry copies (see the first blocking item)Pagination/PaginationDotsCarousel.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryPopover/PopoverBottomSheetAlternative.tsxand.doc.mjs: imports and meanings verified; shadcn registry not checked (StyleX block)Section/SectionWashHighlight.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registrySelector/SelectorOptionDescriptions.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registrySelectorOption/SelectorOptionShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextArea/TextAreaWithIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextInput/TextInputIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextInput/TextInputSearch.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonColor.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonGroup.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonIconSwap.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonLabel.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonStates.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToken/TokenIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToken/TokenShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTokenizer/TokenizerIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarBulkActions.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarCardHeader.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarSizes.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarTableFilter.tsxand.doc.mjs: imports and meanings verified; template rubric below 75, unchanged (non-blocking); shadcn registry not checked (StyleX block)Toolbar/ToolbarThreeSlot.tsxand.doc.mjs: imports and meanings verified; back arrow mirrors in right-to-left; dropped from the shadcn registryToolbar/ToolbarWithTabs.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavCenteredNavigation.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavEnterpriseDashboard.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavHoverMenu.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavMegaMenu.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavMultipleDropdowns.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavWithLogo.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenu/TopNavMegaMenuBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenu/TopNavMegaMenuShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMenu/TopNavMenuBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMenu/TopNavMenuShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTreeList/TreeListFileTreeWithIcons.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTreeList/TreeListInteractiveSettings.tsxand.doc.mjs: imports and meanings verified; end chevron does not mirror in right-to-left (second blocking item); dropped from the shadcn registryTypeahead/TypeaheadSearchField.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryVisuallyHidden/VisuallyHiddenShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryVisuallyHidden/VisuallyHiddenSupplementaryContext.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registry
52b291e to
9d6f83e
Compare
6bfcdb4 to
b9e6a5e
Compare
There was a problem hiding this comment.
Needs an engineering owner's spec decision, then two fixes.
This batch rests on the template icon placeholder requirements in the icon-set record (AST-084 FR21–FR23), which #12741, #12747 and #12748 propose and which are not yet approved or on main, where FR9 and FR10 still require each block's icons declaration. Approval waits on an engineering owner approving FR21–FR23 as the governing spec for this batch, recorded with a /approve-spec <full head SHA> comment on those pull requests (the author may comment as an engineering owner).
Blocking:
- The docs site's shadcn registry builder (
apps/docsite/scripts/generate-shadcn-registry.mjs:110) skips any block that imports the private@astryxdesign/template-iconspackage, so 38 of these blocks drop out of the registry and the canary route-lock check inapps/docsite/scripts/generate-data.mjsfails; runfillTemplatePlaceholderson block and page source in the registry builder before this batch lands. TreeListInteractiveSettings.tsx:35renders a "go into" chevron that does not mirror in right-to-left pages;mainalready addsxstyle={rtlStyles.mirror}there, so keep that fix when this stack is rebased ontomain(or add it here, asToolbarThreeSlot.tsx:27does).
Non-blocking: ToolbarTableFilter grades below 75 on the template rubric (custom CSS and length), unchanged by this pull request.
Claims and files checked
Review mode: carry-forward; reason: none
Claims:
- Forty block templates in the NavHeadingMenu to VStack range now import icons by meaning: verified (40 block sources change; the range's other folders import no icon library).
- Every bundled template now does, and the migration script finds nothing left to move: verified (no page or block template imports an icon library; the script's check passes over every template).
- Copies draw the same icons as before, with and without an icon set: verified for
astryx templatecopies (all 40 import the same library icons, and every placeholder names the meaning the old declaration gave); false for shadcn registry copies, which are dropped. - Same script and rules as the earlier batches: verified (rerunning the script on the base reproduces the head's templates exactly).
- The listed test suites pass apart from two locale examples: verified on this same patch before the latest rebase of the branch below it (all 2,535 tests then in those suites passed, the locale examples included).
- Repeated script runs give identical files, and a run over every template changes nothing: verified for one rerun and for the all-template check.
- Changeset (the last forty block templates move to meaning imports; every bundled template now does; copies draw the same icons): same results as the claims above.
Files:
.changeset/template-icons-migrate-4.md: its claim about copies is false for shadcn registry copies (see the first blocking item)Pagination/PaginationDotsCarousel.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryPopover/PopoverBottomSheetAlternative.tsxand.doc.mjs: imports and meanings verified; shadcn registry not checked (StyleX block)Section/SectionWashHighlight.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registrySelector/SelectorOptionDescriptions.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registrySelectorOption/SelectorOptionShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextArea/TextAreaWithIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextInput/TextInputIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextInput/TextInputSearch.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonColor.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonGroup.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonIconSwap.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonLabel.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonStates.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToken/TokenIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToken/TokenShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTokenizer/TokenizerIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarBulkActions.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarCardHeader.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarSizes.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarTableFilter.tsxand.doc.mjs: imports and meanings verified; template rubric below 75, unchanged (non-blocking); shadcn registry not checked (StyleX block)Toolbar/ToolbarThreeSlot.tsxand.doc.mjs: imports and meanings verified; back arrow mirrors in right-to-left; dropped from the shadcn registryToolbar/ToolbarWithTabs.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavCenteredNavigation.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavEnterpriseDashboard.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavHoverMenu.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavMegaMenu.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavMultipleDropdowns.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavWithLogo.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenu/TopNavMegaMenuBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenu/TopNavMegaMenuShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMenu/TopNavMenuBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMenu/TopNavMenuShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTreeList/TreeListFileTreeWithIcons.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTreeList/TreeListInteractiveSettings.tsxand.doc.mjs: imports and meanings verified; end chevron does not mirror in right-to-left (second blocking item;mainalready has the fix); dropped from the shadcn registryTypeahead/TypeaheadSearchField.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryVisuallyHidden/VisuallyHiddenShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryVisuallyHidden/VisuallyHiddenSupplementaryContext.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registry
9d6f83e to
69bc598
Compare
b9e6a5e to
c9d4dca
Compare
There was a problem hiding this comment.
Needs an engineering owner's spec decision, then two fixes.
This batch rests on the template icon placeholder requirements in the icon-set record (AST-084 FR21–FR23), which #12741, #12747 and #12748 propose and which are not yet approved or on main, where FR9 and FR10 still require each block's icons declaration. Approval waits on an engineering owner approving FR21–FR23 as the governing spec for this batch, recorded with a /approve-spec <full head SHA> comment on those pull requests (the author may comment as an engineering owner).
Blocking:
- The docs site's shadcn registry builder (
apps/docsite/scripts/generate-shadcn-registry.mjs:110) skips any block that imports the private@astryxdesign/template-iconspackage, so 38 of these blocks drop out of the registry and the canary route-lock check inapps/docsite/scripts/generate-data.mjsfails; runfillTemplatePlaceholderson block and page source in the registry builder before this batch lands. TreeListInteractiveSettings.tsx:35renders a "go into" chevron that does not mirror in right-to-left pages;mainalready addsxstyle={rtlStyles.mirror}there, so keep that fix when this stack is rebased ontomain(or add it here, asToolbarThreeSlot.tsx:27does).
Non-blocking: ToolbarTableFilter grades below 75 on the template rubric (custom CSS and length), unchanged by this pull request.
Claims and files checked
Review mode: carry-forward; reason: none
Claims:
- Forty block templates in the NavHeadingMenu to VStack range now import icons by meaning: verified (40 block sources change; the range's other folders import no icon library).
- Every bundled template now does, and the migration script finds nothing left to move: verified (no page or block template imports an icon library; the script's check passes over every template).
- Copies draw the same icons as before, with and without an icon set: verified for
astryx templatecopies (all 40 import the same library icons, and every placeholder names the meaning the old declaration gave); false for shadcn registry copies, which are dropped. - Same script and rules as the earlier batches: verified (rerunning the script on the base reproduces the head's templates exactly).
- The listed test suites pass apart from two locale examples: verified on this same patch at an earlier base (all 2,535 tests then in those suites passed, the locale examples included); the one resolution test the branch below has added since was not run.
- Repeated script runs give identical files, and a run over every template changes nothing: verified for one rerun and for the all-template check.
- Changeset (the last forty block templates move to meaning imports; every bundled template now does; copies draw the same icons): same results as the claims above.
Files:
.changeset/template-icons-migrate-4.md: its claim about copies is false for shadcn registry copies (see the first blocking item)Pagination/PaginationDotsCarousel.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryPopover/PopoverBottomSheetAlternative.tsxand.doc.mjs: imports and meanings verified; shadcn registry not checked (StyleX block)Section/SectionWashHighlight.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registrySelector/SelectorOptionDescriptions.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registrySelectorOption/SelectorOptionShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextArea/TextAreaWithIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextInput/TextInputIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTextInput/TextInputSearch.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonColor.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonGroup.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonIconSwap.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonLabel.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToggleButton/ToggleButtonStates.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToken/TokenIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToken/TokenShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTokenizer/TokenizerIcon.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarBulkActions.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarCardHeader.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarSizes.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryToolbar/ToolbarTableFilter.tsxand.doc.mjs: imports and meanings verified; template rubric below 75, unchanged (non-blocking); shadcn registry not checked (StyleX block)Toolbar/ToolbarThreeSlot.tsxand.doc.mjs: imports and meanings verified; back arrow mirrors in right-to-left; dropped from the shadcn registryToolbar/ToolbarWithTabs.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavCenteredNavigation.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavEnterpriseDashboard.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavHoverMenu.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavMegaMenu.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavMultipleDropdowns.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNav/TopNavWithLogo.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenu/TopNavMegaMenuBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenu/TopNavMegaMenuShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMenu/TopNavMenuBasic.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTopNavMenu/TopNavMenuShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTreeList/TreeListFileTreeWithIcons.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryTreeList/TreeListInteractiveSettings.tsxand.doc.mjs: imports and meanings verified; end chevron does not mirror in right-to-left (second blocking item;mainalready has the fix); dropped from the shadcn registryTypeahead/TypeaheadSearchField.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryVisuallyHidden/VisuallyHiddenShowcase.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registryVisuallyHidden/VisuallyHiddenSupplementaryContext.tsxand.doc.mjs: imports and meanings verified; dropped from the shadcn registry
There was a problem hiding this comment.
Approved pending CI. The last 40 block templates now import their icons through the template icon placeholders, and copies still draw the same Heroicons and Lucide icons under meaning-named aliases. An engineering owner approved the governing placeholder requirements (AST-084 FR21–FR23) for this head and for the pull requests below that write them.
CI has not run on this head yet (the commit skips CI), so the required checks still have to pass before merge, and this batch lands only after the pull requests below it.
Non-blocking: ToolbarTableFilter keeps its existing template-rubric grade of about 66 (custom CSS, a 409-line block, its aspect ratio and its lucide-react import in copies), unchanged from main.
Claims and files checked
Review mode: full; reason: rebase
- Claim: the 40 block templates in the NavHeadingMenu to VStack folder range import their icons by meaning from the placeholder package. Verified: all 40 changed sources do, and they are exactly the base templates in that range that imported an icon library.
- Claim: with this batch every bundled template imports by meaning, and the migration script finds nothing left. Verified: no page or block template imports
@heroicons/reactorlucide-reactat this head (only theme icon files do), and the script's--checkexits 0. - Claim: copies draw the same icons as before without an icon set. Verified: filling the 40 sources gives exactly the base's 121 library imports.
- Claim: copies draw the same icons as before with an icon set. Verified: every placeholder carries the meaning its removed
iconsentry declared (110 of 110). - Claim:
TreeListInteractiveSettingskeeps its chevron mirrored in right-to-left pages, as on main. Verified atTreeListInteractiveSettings.tsx:37. - Claim: same script and rules as the earlier batches, and a later run changes nothing. Verified: rerunning the script over the base reproduces all 80 template files byte for byte, and a second run moves none.
- Claim: the listed node test suites pass apart from two locale examples that need full ICU data. Verified: those suites pass in full here, the locale examples included.
- Changeset
template-icons-migrate-4.md(experimental CLI patch note: the last forty block templates import by meaning, copies draw the same icons). Verified by the evidence for the first four claims. .changeset/template-icons-migrate-4.md: clearPagination/PaginationDotsCarousel.tsxand.doc.mjs: clearPopover/PopoverBottomSheetAlternative.tsxand.doc.mjs: clearSection/SectionWashHighlight.tsxand.doc.mjs: clearSelector/SelectorOptionDescriptions.tsxand.doc.mjs: clearSelectorOption/SelectorOptionShowcase.tsxand.doc.mjs: clearTextArea/TextAreaWithIcon.tsxand.doc.mjs: clearTextInput/TextInputIcon.tsxand.doc.mjs: clearTextInput/TextInputSearch.tsxand.doc.mjs: clearToggleButton/ToggleButtonColor.tsxand.doc.mjs: clearToggleButton/ToggleButtonGroup.tsxand.doc.mjs: clearToggleButton/ToggleButtonIconSwap.tsxand.doc.mjs: clearToggleButton/ToggleButtonLabel.tsxand.doc.mjs: clearToggleButton/ToggleButtonShowcase.tsxand.doc.mjs: clearToggleButton/ToggleButtonStates.tsxand.doc.mjs: clearToken/TokenIcon.tsxand.doc.mjs: clearToken/TokenShowcase.tsxand.doc.mjs: clearTokenizer/TokenizerIcon.tsxand.doc.mjs: clearToolbar/ToolbarBulkActions.tsxand.doc.mjs: clearToolbar/ToolbarCardHeader.tsxand.doc.mjs: clearToolbar/ToolbarSizes.tsxand.doc.mjs: clearToolbar/ToolbarTableFilter.tsxand.doc.mjs: clear (existing rubric grade about 66, unchanged; non-blocking)Toolbar/ToolbarThreeSlot.tsxand.doc.mjs: clearToolbar/ToolbarWithTabs.tsxand.doc.mjs: clearTopNav/TopNavCenteredNavigation.tsxand.doc.mjs: clearTopNav/TopNavEnterpriseDashboard.tsxand.doc.mjs: clearTopNav/TopNavHoverMenu.tsxand.doc.mjs: clearTopNav/TopNavMegaMenu.tsxand.doc.mjs: clearTopNav/TopNavMultipleDropdowns.tsxand.doc.mjs: clearTopNav/TopNavShowcase.tsxand.doc.mjs: clearTopNav/TopNavWithLogo.tsxand.doc.mjs: clearTopNavMegaMenu/TopNavMegaMenuBasic.tsxand.doc.mjs: clearTopNavMegaMenu/TopNavMegaMenuShowcase.tsxand.doc.mjs: clearTopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsxand.doc.mjs: clearTopNavMenu/TopNavMenuBasic.tsxand.doc.mjs: clearTopNavMenu/TopNavMenuShowcase.tsxand.doc.mjs: clearTreeList/TreeListFileTreeWithIcons.tsxand.doc.mjs: clearTreeList/TreeListInteractiveSettings.tsxand.doc.mjs: clearTypeahead/TypeaheadSearchField.tsxand.doc.mjs: clearVisuallyHidden/VisuallyHiddenShowcase.tsxand.doc.mjs: clearVisuallyHidden/VisuallyHiddenSupplementaryContext.tsxand.doc.mjs: clear
1ee368e to
36a17c7
Compare
36d5e54 to
049e36b
Compare
|
/approve-spec 36a17c7 |
There was a problem hiding this comment.
Approved pending CI. The last 40 block templates now import their icons through the template icon placeholders, and copies still draw the same Heroicons and Lucide icons under meaning-named aliases. An engineering owner approved the governing placeholder requirements (AST-084 FR21–FR23) for this head and for the pull requests below that write them.
CI has not run on this head yet (the commit skips CI), so the required checks still have to pass before merge, and this batch lands only after the pull requests below it.
Non-blocking: ToolbarTableFilter keeps its existing template-rubric grade of about 66 (custom CSS, a 408-line block, its aspect ratio and its lucide-react import in copies), unchanged from main.
Claims and files checked
Review mode: carry-forward; reason: none
- Claim: the 40 block templates in the NavHeadingMenu to VStack folder range import their icons by meaning from the placeholder package. Verified: all 40 changed sources do, and they are exactly the base templates in that range that imported an icon library.
- Claim: with this batch every bundled template imports by meaning, and the migration script finds nothing left. Verified: no page or block template imports
@heroicons/reactorlucide-reactat this head (only theme icon files do), and the script's--checkexits 0 on this same patch. - Claim: copies draw the same icons as before without an icon set. Verified: filling the 40 sources gives exactly the base's 121 library imports.
- Claim: copies draw the same icons as before with an icon set. Verified: every placeholder carries the meaning its removed
iconsentry declared (110 of 110). - Claim:
TreeListInteractiveSettingskeeps its chevron mirrored in right-to-left pages, as on main. Verified atTreeListInteractiveSettings.tsx:37. - Claim: same script and rules as the earlier batches, and a later run changes nothing. Verified: rerunning the script over the base reproduces all 80 template files byte for byte, and a second run moves none.
- Claim: the listed node test suites pass apart from two locale examples that need full ICU data. Verified on this same patch: those suites pass in full, the locale examples included.
- Claim: each pull request's own change is its top commit. Verified for this one: a single commit over its base.
- Changeset
template-icons-migrate-4.md(experimental CLI patch note: the last forty block templates, NavHeadingMenu through VStack, import by meaning; copies draw the same icons). Verified by the evidence for the first four claims. .changeset/template-icons-migrate-4.md: clearPagination/PaginationDotsCarousel.tsxand.doc.mjs: clearPopover/PopoverBottomSheetAlternative.tsxand.doc.mjs: clearSection/SectionWashHighlight.tsxand.doc.mjs: clearSelector/SelectorOptionDescriptions.tsxand.doc.mjs: clearSelectorOption/SelectorOptionShowcase.tsxand.doc.mjs: clearTextArea/TextAreaWithIcon.tsxand.doc.mjs: clearTextInput/TextInputIcon.tsxand.doc.mjs: clearTextInput/TextInputSearch.tsxand.doc.mjs: clearToggleButton/ToggleButtonColor.tsxand.doc.mjs: clearToggleButton/ToggleButtonGroup.tsxand.doc.mjs: clearToggleButton/ToggleButtonIconSwap.tsxand.doc.mjs: clearToggleButton/ToggleButtonLabel.tsxand.doc.mjs: clearToggleButton/ToggleButtonShowcase.tsxand.doc.mjs: clearToggleButton/ToggleButtonStates.tsxand.doc.mjs: clearToken/TokenIcon.tsxand.doc.mjs: clearToken/TokenShowcase.tsxand.doc.mjs: clearTokenizer/TokenizerIcon.tsxand.doc.mjs: clearToolbar/ToolbarBulkActions.tsxand.doc.mjs: clearToolbar/ToolbarCardHeader.tsxand.doc.mjs: clearToolbar/ToolbarSizes.tsxand.doc.mjs: clearToolbar/ToolbarTableFilter.tsxand.doc.mjs: clear (existing rubric grade about 66, unchanged; non-blocking)Toolbar/ToolbarThreeSlot.tsxand.doc.mjs: clearToolbar/ToolbarWithTabs.tsxand.doc.mjs: clearTopNav/TopNavCenteredNavigation.tsxand.doc.mjs: clearTopNav/TopNavEnterpriseDashboard.tsxand.doc.mjs: clearTopNav/TopNavHoverMenu.tsxand.doc.mjs: clearTopNav/TopNavMegaMenu.tsxand.doc.mjs: clearTopNav/TopNavMultipleDropdowns.tsxand.doc.mjs: clearTopNav/TopNavShowcase.tsxand.doc.mjs: clearTopNav/TopNavWithLogo.tsxand.doc.mjs: clearTopNavMegaMenu/TopNavMegaMenuBasic.tsxand.doc.mjs: clearTopNavMegaMenu/TopNavMegaMenuShowcase.tsxand.doc.mjs: clearTopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsxand.doc.mjs: clearTopNavMenu/TopNavMenuBasic.tsxand.doc.mjs: clearTopNavMenu/TopNavMenuShowcase.tsxand.doc.mjs: clearTreeList/TreeListFileTreeWithIcons.tsxand.doc.mjs: clearTreeList/TreeListInteractiveSettings.tsxand.doc.mjs: clearTypeahead/TypeaheadSearchField.tsxand.doc.mjs: clearVisuallyHidden/VisuallyHiddenShowcase.tsxand.doc.mjs: clearVisuallyHidden/VisuallyHiddenSupplementaryContext.tsxand.doc.mjs: clear
36a17c7 to
e560c99
Compare
049e36b to
6776994
Compare
|
/approve-spec e560c99 |
There was a problem hiding this comment.
Approved pending CI. The last 40 block templates now import their icons through the template icon placeholders, and copies still draw the same Heroicons and Lucide icons under meaning-named aliases. An engineering owner approved the governing placeholder requirements (AST-084 FR21–FR23) for this head and for the pull requests below that write them.
CI has not run on this head yet (the commit skips CI), so the required checks still have to pass before merge, and this batch lands only together with the pull requests below it.
Non-blocking: ToolbarTableFilter keeps its existing template-rubric grade of about 65 (custom CSS, a 408-line block, its aspect ratio and its lucide-react import in copies), unchanged from main.
Claims and files checked
Review mode: full; reason: rebase
- Claim: the 40 block templates in the NavHeadingMenu to VStack folder range import their icons by meaning from the placeholder package. Verified: all 40 changed sources do, and they are exactly the base block templates (in alphabetical folder order) that still imported an icon library.
- Claim: with this batch every bundled template imports by meaning, and the migration script finds nothing left. Verified: no page or block template imports
@heroicons/reactorlucide-reactat this head (only theme icon files, which the script skips), and the script's--checkexits 0. - Claim: copies draw the same icons as before without an icon set. Verified: filling the 40 sources gives back exactly the base's 121 library imports, and the code below them is unchanged apart from names.
- Claim: copies draw the same icons as before with an icon set. Verified: every placeholder carries the meaning its removed
iconsentry declared (110 of 110), and the table draws it with the same library icon. - Claim:
TreeListInteractiveSettingskeeps its chevron mirrored in right-to-left pages, as on main. Verified atTreeListInteractiveSettings.tsx:37, the same line as on main. - Claim: same script and rules as the earlier batches; repeated runs give identical files and a later run changes nothing. Verified: a run over a clean copy of the base reproduces the head's templates byte for byte, and a second run moves none.
- Claim: the listed node test suites pass apart from two locale examples that need full ICU data. Verified: those suites pass in full here (189 files, 2,627 tests), the locale examples included.
- Claim: each pull request's own change is its top commit. Verified for this one: a single commit over its base.
- Changeset
template-icons-migrate-4.md(experimental CLI patch note: the last forty block templates import by meaning; copies draw the same icons with and without an icon set). Verified by the evidence for the first four claims. .changeset/template-icons-migrate-4.md: clearPagination/PaginationDotsCarousel.tsxand.doc.mjs: clearPopover/PopoverBottomSheetAlternative.tsxand.doc.mjs: clearSection/SectionWashHighlight.tsxand.doc.mjs: clearSelector/SelectorOptionDescriptions.tsxand.doc.mjs: clearSelectorOption/SelectorOptionShowcase.tsxand.doc.mjs: clearTextArea/TextAreaWithIcon.tsxand.doc.mjs: clearTextInput/TextInputIcon.tsxand.doc.mjs: clearTextInput/TextInputSearch.tsxand.doc.mjs: clearToggleButton/ToggleButtonColor.tsxand.doc.mjs: clearToggleButton/ToggleButtonGroup.tsxand.doc.mjs: clearToggleButton/ToggleButtonIconSwap.tsxand.doc.mjs: clearToggleButton/ToggleButtonLabel.tsxand.doc.mjs: clearToggleButton/ToggleButtonShowcase.tsxand.doc.mjs: clearToggleButton/ToggleButtonStates.tsxand.doc.mjs: clearToken/TokenIcon.tsxand.doc.mjs: clearToken/TokenShowcase.tsxand.doc.mjs: clearTokenizer/TokenizerIcon.tsxand.doc.mjs: clearToolbar/ToolbarBulkActions.tsxand.doc.mjs: clearToolbar/ToolbarCardHeader.tsxand.doc.mjs: clearToolbar/ToolbarSizes.tsxand.doc.mjs: clearToolbar/ToolbarTableFilter.tsxand.doc.mjs: clear (existing rubric grade of about 65, unchanged; non-blocking)Toolbar/ToolbarThreeSlot.tsxand.doc.mjs: clear (directional icon mirrors once)Toolbar/ToolbarWithTabs.tsxand.doc.mjs: clearTopNav/TopNavCenteredNavigation.tsxand.doc.mjs: clearTopNav/TopNavEnterpriseDashboard.tsxand.doc.mjs: clearTopNav/TopNavHoverMenu.tsxand.doc.mjs: clearTopNav/TopNavMegaMenu.tsxand.doc.mjs: clearTopNav/TopNavMultipleDropdowns.tsxand.doc.mjs: clearTopNav/TopNavShowcase.tsxand.doc.mjs: clearTopNav/TopNavWithLogo.tsxand.doc.mjs: clearTopNavMegaMenu/TopNavMegaMenuBasic.tsxand.doc.mjs: clearTopNavMegaMenu/TopNavMegaMenuShowcase.tsxand.doc.mjs: clearTopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsxand.doc.mjs: clearTopNavMenu/TopNavMenuBasic.tsxand.doc.mjs: clearTopNavMenu/TopNavMenuShowcase.tsxand.doc.mjs: clearTreeList/TreeListFileTreeWithIcons.tsxand.doc.mjs: clearTreeList/TreeListInteractiveSettings.tsxand.doc.mjs: clear (directional icon mirrors once)Typeahead/TypeaheadSearchField.tsxand.doc.mjs: clearVisuallyHidden/VisuallyHiddenShowcase.tsxand.doc.mjs: clearVisuallyHidden/VisuallyHiddenSupplementaryContext.tsxand.doc.mjs: clear
6776994 to
9795a88
Compare
e560c99 to
ac8cb53
Compare
|
/approve-spec ac8cb53 |
There was a problem hiding this comment.
Approved pending CI. The last 40 block templates now import their icons through the template icon placeholders, and copies still draw the same Heroicons and Lucide icons under meaning-named aliases. An engineering owner approved the governing placeholder requirements (AST-084 FR21–FR23) for this head and for the pull requests below that write them.
CI has not run on this head yet (the commit skips CI), so the required checks still have to pass before merge, and this batch lands only together with the pull requests below it.
Non-blocking: ToolbarTableFilter keeps its existing template-rubric grade of about 65 (custom CSS, a 408-line block, its aspect ratio and its lucide-react import in copies), unchanged from main.
Claims and files checked
Review mode: full; reason: rebase
- Claim: the 40 block templates in the NavHeadingMenu to VStack folder range import their icons by meaning from the placeholder package. Verified: all 40 changed sources do, and they are exactly the base block templates in that alphabetical folder range that still imported an icon library.
- Claim: with this batch every bundled template imports by meaning, and the migration script finds nothing left. Verified: no page or block template imports
@heroicons/reactorlucide-reactat this head (only theme icon files, which the script skips), and the script's--checkexits 0 on this head. - Claim: copies draw the same icons as before without an icon set. Verified: filling the 40 sources gives back exactly the base's 121 library imports, and the code below them is unchanged apart from names.
- Claim: copies draw the same icons as before with an icon set. Verified: every filled import carries the meaning its removed
iconsentry declared (121 of 121 imports), and the table draws it with the same library icon. - Claim:
TreeListInteractiveSettingskeeps its chevron mirrored in right-to-left pages, as on main. Verified atTreeListInteractiveSettings.tsx:37, the same line as on main. - Claim: same script and rules as the earlier batches; repeated runs give identical files and a later run changes nothing. Verified: a run over a clean copy of the base reproduces the head's templates byte for byte, and a second run moves none.
- Claim: the listed node test suites pass apart from two locale examples that need full ICU data. Verified: those suites pass in full here (190 files, 2,638 tests), the locale examples included.
- Claim: each pull request's own change is its top commit. Verified for this one: a single commit over its base.
- Changeset
template-icons-migrate-4.md(experimental CLI patch note: the last forty block templates import by meaning, so every bundled template does; copies draw the same icons with and without an icon set). Verified by the evidence for the first four claims. .changeset/template-icons-migrate-4.md: clearPagination/PaginationDotsCarousel.tsxand.doc.mjs: clearPopover/PopoverBottomSheetAlternative.tsxand.doc.mjs: clearSection/SectionWashHighlight.tsxand.doc.mjs: clearSelector/SelectorOptionDescriptions.tsxand.doc.mjs: clearSelectorOption/SelectorOptionShowcase.tsxand.doc.mjs: clearTextArea/TextAreaWithIcon.tsxand.doc.mjs: clearTextInput/TextInputIcon.tsxand.doc.mjs: clearTextInput/TextInputSearch.tsxand.doc.mjs: clearToggleButton/ToggleButtonColor.tsxand.doc.mjs: clearToggleButton/ToggleButtonGroup.tsxand.doc.mjs: clearToggleButton/ToggleButtonIconSwap.tsxand.doc.mjs: clearToggleButton/ToggleButtonLabel.tsxand.doc.mjs: clearToggleButton/ToggleButtonShowcase.tsxand.doc.mjs: clearToggleButton/ToggleButtonStates.tsxand.doc.mjs: clearToken/TokenIcon.tsxand.doc.mjs: clearToken/TokenShowcase.tsxand.doc.mjs: clearTokenizer/TokenizerIcon.tsxand.doc.mjs: clearToolbar/ToolbarBulkActions.tsxand.doc.mjs: clearToolbar/ToolbarCardHeader.tsxand.doc.mjs: clearToolbar/ToolbarSizes.tsxand.doc.mjs: clearToolbar/ToolbarTableFilter.tsxand.doc.mjs: non-blocking, existing rubric grade of about 65, unchanged frommainToolbar/ToolbarThreeSlot.tsxand.doc.mjs: clearToolbar/ToolbarWithTabs.tsxand.doc.mjs: clearTopNav/TopNavCenteredNavigation.tsxand.doc.mjs: clearTopNav/TopNavEnterpriseDashboard.tsxand.doc.mjs: clearTopNav/TopNavHoverMenu.tsxand.doc.mjs: clearTopNav/TopNavMegaMenu.tsxand.doc.mjs: clearTopNav/TopNavMultipleDropdowns.tsxand.doc.mjs: clearTopNav/TopNavShowcase.tsxand.doc.mjs: clearTopNav/TopNavWithLogo.tsxand.doc.mjs: clearTopNavMegaMenu/TopNavMegaMenuBasic.tsxand.doc.mjs: clearTopNavMegaMenu/TopNavMegaMenuShowcase.tsxand.doc.mjs: clearTopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsxand.doc.mjs: clearTopNavMenu/TopNavMenuBasic.tsxand.doc.mjs: clearTopNavMenu/TopNavMenuShowcase.tsxand.doc.mjs: clearTreeList/TreeListFileTreeWithIcons.tsxand.doc.mjs: clearTreeList/TreeListInteractiveSettings.tsxand.doc.mjs: clearTypeahead/TypeaheadSearchField.tsxand.doc.mjs: clearVisuallyHidden/VisuallyHiddenShowcase.tsxand.doc.mjs: clearVisuallyHidden/VisuallyHiddenSupplementaryContext.tsxand.doc.mjs: clear
- #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
|
Landed in #12965. |
Stack: #12741 → #12747 → #12748 → #12754 → #12756 → #12759 → #12762 → #12767 (lands as one; each PR's own change is its top commit)
What it changes
The last batch of the template icon move (experimental): 40 block templates,
NavHeadingMenuthroughVStack, import their icons by meaning from@astryxdesign/template-icons. With this batch every bundled template does, and the migration script finds nothing left to move. Copies draw the same icons as before, with and without an icon set.xstyle={rtlStyles.mirror}), as on main.Same script and rules as the earlier batches.
Testing
vitest run --project nodeon packages/cli/api/template, api/component, api/build, api/icon, scripts, foundation/discovery, foundation/integrations and the template icon declarations test. All pass except two locale examples that need a Node with full ICU data (they fail the same way on the base).