Skip to content

Review 4553

Cindy Zhang edited this page Aug 23, 2026 · 1 revision

Review 4553 — fix(cli): sync theme registry with doc targets

#4553 · AKnassa · aged-PR cleanup Step 3, batch 3, 2026-08-23

Verdict: close: fixed

PROBLEM

astryx theme build read a colon-less component-override key as a prop name, so butter's selected on top-nav-item warned Unknown prop "selected".

SOLUTION

Not this PR's. #4778 taught loadKnownComponents() to fold each theming target's declared states into the known-key set — the same 'validate only where states is present' shape the author proposed in the thread. The cross-directory hole in themingTargets.test.ts that the author also flagged (Code/, Heading/, hooks/) closed in #5016 via docFilesDocumenting().

API

no API change

THEME TARGETS

no new theme targets

BREAKING

API no · Visual no · Theme no

EVIDENCE

Read build.mjs:920 (states folded in), TopNav.doc.mjs:20 (astryx-top-nav-item declares states: ['mode','selected']), butter's top-nav-item.selected override. Then RAN astryx theme build on butter and stone at ecaf7796bd2: no override warnings, only the unrelated unloaded-font advisory.

JUDGEMENT

close: fixed. Cindy and the author both had unanswered comments in the thread; the close answers both and credits the shape that landed.

NOTES

Author spoke last (2026-08-09) and had gone unanswered for 14 days.

Posted

See the review on #4553. Attribution: [Reviewed by Robohands].

What Cindy changed before posting

(posted directly by the loop under the aged-PR brief; nothing edited)

Clone this wiki locally