Repository navigation
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.
This pull request waits on a spec decision: moving component:swift/Button to current needs an engineering owner to approve this head's record content by commenting /approve-spec <full head SHA>, which the author may do as an engineering owner. Separately, the readiness row (docs/specs/components/Button/Button.swift.spec.md, line 33) now says "Built and tested on macOS and the iOS Simulator", but FR7–FR11 (bar and floating Liquid Glass, .astryxFloating()) have no Swift implementation or tests yet, so please state that implementation state and the pending simulator capture gate in that row, as the record format asks. A commit that changes the record's text needs a fresh /approve-spec for its own head.
[Automated review]
| | End-user impact | A person gets one action control whose width holds while it loads and which never runs twice by accident; a link Button stays a link while busy, so VoiceOver and keyboard focus stay on it. In bars and floating controls it looks and behaves like the system's buttons beside it, one layer of glass rather than a fill inside glass, and a main or destructive action still reads as one. | | ||
| | Builder impact | An app passes core's Button props; `href` makes the same view open a destination through the system. A Button in a bar needs no extra code; `.astryxFloating()` on a floating container opts its Buttons into glass. A `variant` the callsite sets is always obeyed. | | ||
| | Compatibility/readiness | Breaking for canary callers: `action:`, `fillsWidth:`, `icon:`, and the hand-written `AstryxButtonVariant` and `AstryxButtonSize` give way to the generated `ButtonProps` (`onClick:`, `width:`, `ButtonVariant`, `ButtonSize`). Draft; built and tested on macOS and the iOS Simulator. | | ||
| | Compatibility/readiness | Breaking for canary callers: `action:`, `fillsWidth:`, `icon:`, and the hand-written `AstryxButtonVariant` and `AstryxButtonSize` give way to the generated `ButtonProps` (`onClick:`, `width:`, `ButtonVariant`, `ButtonSize`). Built and tested on macOS and the iOS Simulator. | |
There was a problem hiding this comment.
This cell now reads as if the whole record is built and tested, but FR7–FR11 (bar and floating Liquid Glass, .astryxFloating()) have no Swift implementation or tests yet: AstryxButtonStyle still paints its token fill everywhere. The readiness row should state the implementation state and the evidence still pending, for example: "FR1–FR6 and AR1 built and tested on macOS and the iOS Simulator; FR7–FR11 and AR3 (Liquid Glass, .astryxFloating()) not implemented yet, and their simulator capture gate is pending."
There was a problem hiding this comment.
This pull request waits on a spec decision: making component:swift/Button current needs an engineering owner to approve this head's record content by commenting /approve-spec <full head SHA> on the pull request, which the author may do as an engineering owner. The readiness row now says FR1–FR6 and AR1 are built and FR7–FR11 are not, which matches the Swift source, and nothing else needs changing. An approval naming the earlier commit no longer counts, because the readiness row changed.
[Automated review]
Summary
Marks the Swift Button record (
component:swift/Button) current. The record merged as a draft; its engineering owner approved its latest change, the glass amendment (FR7–FR11, ORD2, DEC-1), on 2026-11-01.Change
docs/specs/components/Button/Button.swift.spec.md:authority: current,approved_by: cixzhang,approved_at: 2026-11-01.No requirement, test, or source changes.
Writing rubric results
R1 narration: none; the record states the system in the present tense.
R2 research: none in the record.
R3 evidence: bases cite records and Apple guidance; none names a pull request, issue, or commit.
R4 rejected alternatives: one, in DEC-1, one line.
R5 change references: none in the record.
R6 open questions: none.
Test plan
pnpm check:knowledgeon this commit's tree: "Knowledge templates and records are aligned."#123-style or issue references in the record.