Repository navigation
spec(native): Swift theme headers carry no version; theme types use unprefixed names - #8038
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
3479a1d to
7897586
Compare
7897586 to
f6cdb04
Compare
|
/approve-spec f6cdb04 |
PR Analysis Report
|
There was a problem hiding this comment.
Requesting changes for one issue: the new naming rule in G3 cites a spec that is not in the repository yet. Lines 43-45 of packages/native/specs/swift/library/theme-generator.md say the type names "follow the Swift component API spec" and live "in the Astryx module", but that spec is still open as #8035 (which lands after #8070 and #8037), and no Astryx module exists on main. Please land this after #8035 and rebase, citing packages/native/specs/swift/library/component-api.md by path, or move the rename into a pull request stacked on #8035 so the version-free header can land now.
[Automated review]
| - Type names follow the Swift component API spec: unprefixed, in the | ||
| `Astryx` module, so `Astryx.Theme.neutral` and `Theme.neutral` name the | ||
| same value. |
There was a problem hiding this comment.
This rule cites "the Swift component API spec" and the Astryx module, but neither is in the repository yet: the spec is component-api.md in #8035, and the only Swift module on main is AstryxNative. Land this after #8035 and cite packages/native/specs/swift/library/component-api.md by path (as #8040 does), or move the rename into a pull request stacked on #8035.
f6cdb04 to
1db4633
Compare
|
/approve-spec 1db4633 |
There was a problem hiding this comment.
Recommending approval. With the Swift component API spec now on main, the unprefixed Theme and Tokens names in G3 match its A1, which resolves the earlier request for changes, and the version-free header keeps the G13 drift test stable across version-only releases. No changes are needed; under AST-093 FR6 an engineering owner can approve this revision once the required checks pass, and the open SwiftUI implementation in #7981 will need to follow the rename.
[Automated review]
Two follow-ups to the Swift theme generator spec:
Theme,Tokens,Theme.neutral). This part applies only when the component API spec (spec(native): Swift component API takes the generated contract in SwiftUI's shape #8035) is approved; merge this after spec(native): Swift component API takes the generated contract in SwiftUI's shape #8035.Stacked on the theme generator spec PR; retarget to main after it merges.
Writing rubric results