Skip to content

docs(icons): the icons guide says "built-in meaning" and "theme icons" - #13421

Closed
josephfarina wants to merge 2 commits into
mainfrom
josephfarina/icon-words-guide-rename
Closed

josephfarina wants to merge 2 commits into
mainfrom
josephfarina/icon-words-guide-rename

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

preflight: pass 9476d85 (CI checks 19 of 19; review recommends approval)

Approval

Approved vocabulary rename: the icon words ("built-in meaning" for Core's icon names, "theme icons" for the drawings a theme gives them) were approved by @josephfarina as the docs and CLI vocabulary owner; this PR is a planned rename: rename words only, with the old words kept as keywords.

Reader impact

astryx docs icons calls Core's icon names "semantic icon names" and the drawings a theme gives them its "icon registry", while Icon's and useIcon's prop and parameter text now say "built-in meaning" and "theme icons". Now the guide uses the same words. A search with the old words still finds the guide, because they stay as keywords.

Correction

  • packages/cli/assets/docs/icons.doc.mjs: "semantic icon names" / "semantic name" / "semantic names" / "semantic list" become "built-in meanings" / "built-in meaning" / "built-in meanings" / "built-in list"; "the active theme's icon registry" becomes "the active theme's icons", and "every downstream icon registry" (each theme's icon set, typed IconRegistry) becomes "every downstream theme's icons". Where "registry" names the process-wide registerIcons() lookup ("the global icon registry", "the same registry"), it stays: that is not the theme icons.
  • New keywords keep the old words findable: "semantic icon", "semantic icon name", "semantic icon names", "icon registry".
  • Nothing else changes.

Evidence

In-repo astryx search, main vs this change, top 5:

query main this PR
semantic icon names useIcon, icons, icons (theme overrides), theme (icon sizes), Icon icons, useIcon, theme (icon sizes), Icon, InfoTip
semantic icon name useIcon, icons, icons (theme overrides), theme (icon sizes), Icon icons, useIcon, theme (icon sizes), Icon, InfoTip
semantic icon useIcon, icons, icons (theme overrides), theme (icon sizes), IconNonSemanticColors useIcon, icons, theme (icon sizes), IconNonSemanticColors, IconSemanticColors
icon registry semantic names useIcon, icons, Icon, icons (theme overrides), InfoTip useIcon, icons, Icon, InfoTip, icons (icon variants)
built-in meaning AvatarStatusDot, StatusDot, Icon, ChatLayout, FileInput icons, icons (available names), icons (theme overrides), icons (component and library icons), StatusDot

"semantic name" and "built-in meanings" also gain the guide; the other icon and button queries checked are unchanged. astryx build against the labeled build requests: no answer changes. No search sample (golden) changes; the docs-topics digest changes because the guide now declares search keywords; the word swap itself rewrites no golden. Without new words beyond the rename, the "icon set" sample stays as on main.

Scope

Docs: the icons guide.

  • This PR changes documentation only, or names every necessary generated artifact.
  • Runtime, API, visual, and policy changes were removed or split.
  • Public text and artifacts contain no internal Meta context.

Testing

  • experimental-isolation 55 of 55 (--update changes only docs-topics.json); core-doc-quality, golden-reads, docs-graph, docs-topic-refs 27 of 27.
  • Changeset coverage passes.

@vercel

vercel Bot commented Nov 21, 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 21, 2026 7:26pm UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 21, 2026, 7:35 PM UTC

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 21, 2026
@josephfarina
josephfarina force-pushed the josephfarina/icon-words-guide-rename branch from 463e246 to 6b6a66d Compare November 21, 2026 17:19

@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 requested: the word swap is close, but two lines now misdescribe how icons resolve, and two description claims do not hold on main.

  • packages/cli/assets/docs/icons.doc.mjs:23 says built-in meanings "are resolved through the global theme icons", but names resolve through the active theme's icons, then registerIcons() overrides, then the built-in drawings (and :88 says theme icons are scoped to the active theme); name that order here and at :194, which says a namespaced key "resolves through the same theme icons".
  • The description says the component docs already say "built-in meaning" and "theme icons", but on main Icon and useIcon still say "semantic icon name" (that change is in #12959, still open), so say this guide follows #12959 and land it after.
  • The description says each line is a literal swap, but the last clause at :194 is reworded, so drop that sentence or describe the reword.

The search keywords work as described: searches for the old words still return the guide in the top two, and the docs-topics snapshot matches its generator.

Claims and files checked

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

  • Changeset: the guide calls Core's icon names "built-in meanings" and a theme's drawings "theme icons" — verified (icons.doc.mjs:14, :23, :88).
  • Changeset: the old words stay as search keywords and still find the guide — verified (icons.doc.mjs:12; the guide ranks first for "semantic icon names" and third for "icon registry").
  • Description: the guide on main said "semantic icon names" and "icon registry" — verified.
  • Description: the component docs now use the new words — false on main (packages/core/src/Icon/Icon.doc.mjs:76, packages/core/src/Icon/useIcon.doc.mjs:24).
  • Description: each line is a literal swap — false (icons.doc.mjs:194).
  • Description: the new keywords keep the old words findable, and nothing else changes — verified (the keyword array, six strings, the file header and the snapshot digest are the whole change).
  • Description: the five-query search table, main against this change — verified, identical top five.
  • Description: "semantic name" and "built-in meanings" gain the guide; the other checked queries are unchanged — verified for those, and for "icon registry" and "theme icons".
  • Description: build answers are unchanged for the labeled requests — not checked.
  • Description: no search sample changes, only the docs-topics digest, and the "icon set" sample is unchanged — verified (the search snapshot tests pass).
  • Description: the listed test suites and the changeset check pass — verified (the docs-topics snapshot test and 27 of 27 in the four named files; one test that lists files through git cannot run without a repository, on main too).
  • .changeset/icon-guide-built-in-meanings.md — clear.
  • packages/cli/assets/docs/icons.doc.mjs — findings at :23 and :194.
  • packages/cli/test/__golden__/no-icon-set/docs-topics.json — clear (matches its generator).

Automated review (maintainer link)

Comment thread packages/cli/assets/docs/icons.doc.mjs Resolved
Comment thread packages/cli/assets/docs/icons.doc.mjs 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.

Changes requested: the earlier findings are fixed, and one line still contradicts what the description and changeset say about it.

  • packages/cli/assets/docs/icons.doc.mjs:194 still says adding a shared name would make "every downstream icon registry grow a key", but only each theme's IconRegistry-typed icons map has to grow (registerIcons() takes a partial map), so the description's claim that this phrase names the registerIcons() set and the changeset's "theme icons (was icon registry)" do not hold there; end the line with "the theme icons of every downstream theme grow a key" and update the docs-topics digest, or say in the description and changeset that this line keeps "icon registry".

The rename and keywords otherwise work as described: the five-query search table reproduces exactly, and the docs-topics snapshot matches its generator.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: the guide calls Core's icon names "built-in meanings" (was "semantic icon names") — verified (icons.doc.mjs:4, :14, :23, :68, :88, :194).
  • Changeset: the guide calls a theme's drawings "theme icons" (was "icon registry") — true for the topic line (:14), false at :194.
  • Changeset: the old words stay as search keywords and still find the guide — verified (:12; first for "semantic icon names", third for "icon registry").
  • Description: the author approved the vocabulary as its owner — context only; no record governs a guide's wording, so nothing depends on it.
  • Description: the guide on main says "semantic icon names" and "icon registry" while Icon's and useIcon's prop and parameter text say "built-in meaning" and "theme icons" — verified (Icon's icon prop doc, useIcon's name parameter doc).
  • Description: old-word searches still find the guide because of the keywords — verified.
  • Description: each changed line is a literal swap of the listed words — verified.
  • Description: "registry" stays only where it names the process-wide registerIcons() set — verified for "the global icon registry" and "the same registry"; false for "every downstream icon registry", which names each theme's icons map.
  • Description: the new keywords keep the old words findable, and nothing else changes — verified.
  • Description: the five-query search table, main against this change — verified, identical top five.
  • Description: "semantic name" and "built-in meanings" gain the guide, and the other icon queries are unchanged — verified for those and for "icon registry", "theme icons" and "icon set".
  • Description: build answers are unchanged for the labeled build requests — not checked against that set, which is not in the repository; the build test suite passes.
  • Description: no search golden changes, only the docs-topics digest, and the "icon set" sample is unchanged — verified (the search golden tests pass).
  • Description: the listed test suites and the changeset check pass — verified, except one test that lists files through git and cannot run without a repository (it fails the same way on main).
  • Description: documentation only, no runtime, API, visual or policy change, no internal context — verified.
  • .changeset/icon-guide-built-in-meanings.md — finding (its "theme icons" claim, with :194).
  • packages/cli/assets/docs/icons.doc.mjs — finding at :194.
  • packages/cli/test/__golden__/no-icon-set/docs-topics.json — clear (matches its generator).

Automated review (maintainer link)

Comment thread packages/cli/assets/docs/icons.doc.mjs 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.

Approved pending CI: CI has not run on this head yet, because the pull request is a draft and its commits carry [skip ci].

The earlier finding is fixed: the Component and Library Icons line now says "every downstream theme's icons", so the guide uses one word for theme icon maps, as the description and changeset say. The description's search results reproduce exactly, and the docs-topics snapshot matches its generator.

Claims and files checked

Review mode: incremental; reason: none

  • Changed rules (0): none.
  • Changeset: the guide calls Core's icon names "built-in meanings" (was "semantic icon names"): verified (icons.doc.mjs:4, :14, :23, :68, :88, :194).
  • Changeset: the guide calls the drawings a theme gives those names its theme icons (was "icon registry"): verified (:14 "the active theme's icons", :194 "every downstream theme's icons").
  • Changeset: the old words stay as search keywords, so searches for "semantic icon names" and "icon registry" still find the guide: verified (:12; the guide ranks first and third).
  • Description: on main the guide says "semantic icon names" and "icon registry" while Icon's and useIcon's docs say "built-in meaning" and "theme icons": verified (Icon's icon prop doc, useIcon's name parameter doc).
  • Description: the author approved the vocabulary as its owner: context only; no record governs a guide's wording, so nothing rests on it.
  • Description: each listed phrase becomes its new word: verified, line by line.
  • Description: "registry" stays where it names the process-wide lookup ("the global icon registry", "the same registry"): verified (:23, :194).
  • Description: the four new keywords keep the old words findable, and nothing else changes: verified.
  • Description: the five-query search table, main against this change: verified, identical top five.
  • Description: "semantic name" and "built-in meanings" also gain the guide, and the other icon and button queries are unchanged: verified (ten more queries identical).
  • Description: astryx build answers are unchanged for the labeled build requests: that request set is not in the repository; the build test suite passes.
  • Description: no search golden changes, only the docs-topics digest, because the guide now declares keywords, and the "icon set" sample stays as on main: verified (the digest hashes structure with prose blanked; the search goldens pass).
  • Description: documentation only, with no runtime, API, visual or policy change and no internal context: verified.
  • Description: the listed test suites and Changeset coverage pass: verified, except one isolation test that lists files through git and cannot run outside a repository; it fails the same way on the base.
  • .changeset/icon-guide-built-in-meanings.md: clear.
  • packages/cli/assets/docs/icons.doc.mjs: clear.
  • packages/cli/test/__golden__/no-icon-set/docs-topics.json: clear (matches its generator).

Automated review (maintainer link)

@josephfarina
josephfarina marked this pull request as ready for review November 21, 2026 23:13
YoungsikMoon pushed a commit to YoungsikMoon/astryx that referenced this pull request Nov 22, 2026
- meta#13421 docs(icons): the icons guide says "built-in meaning" and "theme icons"
  Author: @josephfarina
@josephfarina

Copy link
Copy Markdown
Contributor Author

Landed in #13508.

@github-actions
github-actions Bot deleted the josephfarina/icon-words-guide-rename branch November 23, 2026 06:06

This branch was successfully deployed

1 active deployment
Preview — 9476d85b Deployed Nov 21, 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