Skip to content

spec(AST-123): React Native platform: Surfaces and glass - #12557

Draft
imdreamrunner wants to merge 33 commits into
mainfrom
spec/ast-123-react-native-surfaces-glass
Draft

imdreamrunner wants to merge 33 commits into
mainfrom
spec/ast-123-react-native-surfaces-glass

Conversation

@imdreamrunner

@imdreamrunner imdreamrunner commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Depends on #12563 (the spec:AST-112 amendment: default linking), #12594 (spec:AST-140, the shared platform rules: registration, missing pieces, results, named features, threading, conformance, coexistence) and #12801 (the spec:AST-082 DEC-2 amendment: surface on Button and IconButton; and spec:AST-082/OQ7).
Not stacked. Merges after #12563 (AST-112), #12594 (AST-140), #12801 (AST-082 DEC-2) and #13029 (AST-112 moves its glass and surface rule, FR21, to this record and the Button and IconButton records).

Exact decision needed

The contract of the React Native platform's surfaces and glass: the four core native components AstryxGlassView (iOS and Android), AstryxGlassContainerView, AstryxMaterialView, and AstryxScrollEdgeView (iOS), their JavaScript faces, and the library's paint rules that choose between system glass, a system material, a translucent token fill, and an opaque surface, including Reduce Transparency, Increase Contrast, the colour mode, and the fallbacks on Android, on iOS before 26, and where a view is absent.

Existing authority searched

  • spec:AST-112 (React Native foundation): lists system materials in the platform's core (FR1) and owns the result vocabulary, capability shape, additive evolution, and theme mapping. This record details it and links its FRs and DECs instead of restating them.
  • spec:AST-140 (React Native platform code, draft): owns the shared platform rules this record cites (FR1, FR2, FR3, FR5, FR6, FR7, FR9) instead of restating them.
  • spec:AST-082 (native-first surfaces): FR10 owns the durable material theme member; this record follows it (FR7 maps the member onto every surface's paint). FR12's candidate model is untouched. Current-state impact relies on spec:AST-082 DEC-2 as amended for surface on Button and IconButton (DEC-7); this record does not edit spec:AST-082.
  • spec:AST-093 (native component guidelines): FR3 (Apple HIG, system materials) applies; no claim settles these components.
  • Other records checked: the React Native sibling records for navigation hosts and menus and presentation (system bars and system-presented sheets, alerts and menus stay with them; this record covers only the overlays the library builds).
  • Overlapping open pull requests (search: glass, material, scroll edge, react native spec): a web theme named Glass (unrelated: web theme tokens), the headless TabBar spec for web (unrelated platform), and the sibling React Native platform group records (disjoint contracts). No open pull request specifies these native components.

Decision

The record specifies glass and material as a look (FR1): an app asks for it through the theme's native intent (defineNativeTheme's material, durable or in a platforms.ios / platforms.android entry); the native views stay internal behind the components. Button and IconButton take surface as a per-call-site appearance choice (DEC-7): a platform prop in every native platform's contract (spec:AST-082 DEC-2 as amended); the core and web contracts do not have it; it has no default (unset follows the theme and placement: in a bar, the tab accessory or the search field an unset button follows FR7's chrome row; elsewhere it keeps its own record's paint). The bars, overlays and floating surfaces paint the material FR7 chooses, from the theme's material member and the accessibility settings, until their surface-specific props, and any app-wide preference such as surfaceMaterial, are decided (OQ5, which cites spec:AST-082/OQ7 for the surface-specific props). The four native components (FR2 to FR11) are internal platform components that render the look: system glass on iOS, the token fill or a Material surface on Android. FR1 carries two gap lines: . exports the glass and material components and helpers today, and the app root's isPlatformEnabled switches every surface between the native views and the token paints; the target keeps the components internal and uses the theme's material member and, on Button and IconButton, surface. FR7 maps the theme's material member (spec:AST-082/FR10) onto every surface's paint and gives the opaque outline per setting. FR11 states that the native code uses public platform API only and names its one exception: React Native's unstable record of the props its native driver manages, which keeps a driven glass progress from being reset by a React commit. Default linking is cited from spec:AST-112 FR3 (amended), and registration, missing pieces, named features, threading, conformance and coexistence from spec:AST-140, not restated. The record is written in positive terms: each requirement describes current behaviour, each decision states the chosen direction and its reason, and Non-goals keeps only the template's two standing bullets (equivalent implementations stay valid; internal mechanisms belong in architecture unless a caller depends on them). Seven decisions and four open questions (OQ1, OQ3, OQ4, OQ5).

Who uses it:

Native piece Kind Astryx components that use it What a person sees
AstryxGlassView native component (Fabric Native Component) TabBar (and FloatingTabBar, which renders a TabBar), TopNav (its TopNav<Part> parts; component:react-native/TopNav), BarButton, BarButtonGroup, the tab accessory (both its 'expanded' and 'inline' placements), SearchBar, KeyboardAccessoryView, IconButton and Button with surface="glass", and DropdownMenu's icon trigger, each through its own props. The router's stack and tab navigators draw TopNav and TabBar Glass bars, capsules, and round buttons that brighten and lift under a finger, appear and disappear with UIKit's motion, and spring to a new shape
AstryxGlassContainerView native component (Fabric Native Component) TabBar (and FloatingTabBar), TopNav, and BarButtonGroup, which group their glass items Adjacent bar items, such as a row of header buttons, look like one piece of glass that joins where they come close
AstryxMaterialView native component (Fabric Native Component) Overlays the library builds: AlertDialog, Dialog, Popover (and the surfaces built on it: DropdownMenu, ContextMenu, Selector's picker, TabList's menu, HoverCard, TopNav's menus), BottomSheet and InlineSheet when the library builds them. Floating surfaces: Toast and ChatLayoutScrollButton (in ChatLayout). Every glass component above where glass paints but the glass view is absent A menu, sheet, or dialog in system glass on iOS 26 and later; a frosted toast or scroll button where the app asks for material
AstryxScrollEdgeView native component (Fabric Native Component) TopNav; the router's stack navigator through its header built in React and header search field Rows that soften or fade under the header as they scroll beneath it, as under a system navigation bar

Ecosystem comparison (research behind "Why this exists"; the record keeps one conclusion per piece):

Piece What the ecosystem already does well Why Astryx owns it
AstryxMaterialView expo-blur and @react-native-community/blur draw iOS UIVisualEffectView blurs, the system materials included, with a tint and an intensity, and each offers an Android blur. Both are mature and simple to use. Neither draws UIGlassEffect. Astryx needs one leaf that draws Liquid Glass on iOS 26 and later and the matching system material below it, follows or pins the theme's colour mode, and has a view probe, so the library picks its fallback before it renders (FR7). One dependency set (spec:AST-112/FR2) complete the case.
AstryxGlassView, AstryxGlassContainerView expo-glass-effect and @callstack/liquid-glass wrap UIGlassEffect and UIGlassContainerEffect well: regular and clear glass, a tint, interactive glass, a container with spacing, and an availability check. The library's chrome needs more in one view: content inside the glass so a press on a child makes the glass respond, the system's fade-in and fade-out of the glass, a layout spring that morphs grouped glass when React Native moves it, a shape morph driven by a native-driver Animated value (FR4), touches that pass through outside the glass shape, the pre-26 blur with its hairline edge, a registered Android view so one tree runs on both platforms. No extra dependency (spec:AST-112/FR2).
AstryxScrollEdgeView react-native-screens sets the scroll-edge effects of the scroll view under a system header that it presents. Astryx draws its own bars (spec:AST-112/DEC-9). A drawn bar gets the system's edge effect only when the bar registers as the edge's element container, so the effect takes the outline of what the bar contains. No router is needed to find the scroll view (DEC-4).

Rejected alternatives

None recorded. Each decision states its chosen direction and reason; DEC-6 keeps the glass and material views internal behind the components so every surface follows the theme and the accessibility rules.

Claim scope and non-goals

Claims: glass and material as a look (theme intent, and surface on Button and IconButton), the four internal native contracts, the library's paint rules for chrome, floating surfaces, and overlays, accessibility behaviour, fallbacks, the public-platform-API rule with its one exception. Default linking is cited from spec:AST-112 (amended), and the shared platform rules from spec:AST-140. Non-goals: the template's two standing bullets only.

Evidence and implementation relationship

The implementation lives in the React Native package's platform layer and its library layer; the package is built from these records. No public evidence links. The claims rest on the current source of the native components and the library's surfaces, and the Simulator and emulator behaviour they describe.

Writing rubric results

  • R1 narration: two found in the draft (a sentence on which binary a deprecated prop served, and a warning detail that did not match the behaviour), removed. A second pass rewrote FR1 to FR9, DEC-1, DEC-2, and the platform table in the record's own words, removed component-level behaviour of TopNav and the sheets, and dropped the deprecated aliases (the record states only the target API). None remain.
  • R2 research in the record: one found: "Why this exists" carried a comparison table of five ecosystem libraries. The table moved into this description; the record keeps one conclusion per piece, pointing to FRs, DECs, and OQ1.
  • R3 evidence naming a change: none; verification cells name the Simulator, emulator, devices, ./testing doubles, and UI-thread frame checks.
  • R4 rejected alternatives over one line or outside a decision: none; the record carries no Rejected: lines. DEC-6 states its rule and reason in its body (the native views stay internal behind the components).
  • R5 pull request or issue references remaining: none in the record; the dependency on the spec:AST-112 amendment is cited by FR id in the record and by number only in this description.
  • R6 ruled open questions still listing options: one found: the question on a package-wide choice between system and drawn rendering is gone; DEC-6 states the look as theme intent. OQ1, OQ3, OQ4 and OQ5 are unanswered; OQ1 and OQ3 keep their options.
  • R7 project status (build status or work order): two gap lines, in the required form (FR1: today's glass exports; today's app-root isPlatformEnabled). The knowledge check prints no status warning for this record.

Scope

Components: AstryxGlassView, AstryxGlassContainerView, AstryxMaterialView, AstryxScrollEdgeView (internal); the glass look of IconButton, Button and the library's bars, overlays and floating surfaces

  • This PR contains specification records only.
  • It records observable behavior and preserves equivalent internal implementations.
  • Any named internal mechanism is intentionally public, names its dependent caller/system, and explains why an equivalent implementation would not satisfy the contract.
  • Verification states the evidence layer and failure signal without prescribing CI job/workflow topology.
  • It records one intentional durable decision, not a rescue for a separable tagalong.
  • The canonical knowledge owner, affected current claims, and overlapping open work are named; any ownership collision is resolved or called out for human decision.
  • Adjacent API, visual, accessibility, composition, and implementation facts remain outside scope unless this exact decision depends on them.
  • Public text contains no internal Meta context.

Validation

  • pnpm check:knowledge (node scripts/check-knowledge.mjs on a main-based tree): exit 0, "Knowledge templates and records are aligned."; no error or status warning for this record.
  • Prettier --check: the record uses Prettier code style.
  • git diff --check origin/main: clean.
  • Internal-marker scan of the diff and this description: no hard hits; every soft hit reviewed.
  • pnpm specs:for: not run (no install in this checkout).

Follow-up: claims moved from spec:AST-112

FR1 states that no public JavaScript glass or material component exists, moved here from spec:AST-112 FR21 as part of #13029. Current-state impact keeps relying on spec:AST-082 DEC-2 as #12801 amends it.

… scroll-edge effects, with solid and drawn fallbacks
@vercel

vercel Bot commented Nov 18, 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 20, 2026 1:00am UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 18, 2026
@astracat-bot

astracat-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Nov 20, 2026, 1:11 AM UTC

… one exception; OQ1 asks whether the two material contracts merge

@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.

Approval waits on an engineering owner's decision on this draft record, and six fixes are needed in the record and the description.

spec:AST-123 adds new requirements (FR1 to FR10, DEC-1 to DEC-5) that no current record states, so an engineering owner approves or rejects them by commenting /approve-spec followed by the full head commit SHA; the author is an engineering owner and may record that decision. It covers the record's direction, including the new app-facing names surfaceMaterial, isPlatformEnabled, PlatformAppearanceProvider and AstryxAccessibilitySettings, but not the fixes below.

Blocking:

  • FR6 picks each surface's paint without reading the theme's durable material member, so a theme with material: 'opaque' still gets glass chrome and system-glass overlays on iOS 26, against spec:AST-082 FR10; map the member in FR6 and say how surfaceMaterial relates to it.
  • DEC-3 says the library paints its own opaque surface under Increase Contrast while FR9 keeps glass on overlays under Increase Contrast and adds an opaque fill at accessibility text sizes that FR6's overlay row omits, so scope DEC-3 to chrome and floating surfaces and add the text-size condition to FR6.
  • FR10's revision-1, named-feature (hasContractFeature) and Astryx Stage spec-hash rules exist in no record on main, where spec:AST-112 FR8 still versions modules by getConstants().version, so land this after the spec:AST-112 amendment that adds them (or declare the stack) and cite those claims instead of restating them.
  • The description reports no research for rubric item R2, but "Why this exists" surveys five third-party libraries, so move that comparison to a linked artifact and keep its conclusions inside DEC-1, DEC-2 and DEC-4.
  • Callers of MaterialView's appearance prop are told it is deprecated, which needs an explicit owner decision for appearance that the description does not cite. Found by: deprecation rule
  • Callers of supportsMaterialVariant are told it is deprecated, which needs an explicit owner decision for supportsMaterialVariant that the description does not cite. Found by: deprecation rule

Two smaller points: FR7's restore rule leaves the first bar's effect behind when two bars detach out of order (OQ4 already says so), and surfaceMaterial has no stated value set beyond opaque.

Claims and files checked

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

  • Claim: the parent record lists system materials in its core and owns the result, capability, evolution, theme and Stage rules without specifying a surface: verified.
  • Claim: the record links the parent's requirements instead of restating them: false for FR10's revision-1, named-feature and Stage-pairing rules.
  • Claim: the record touches neither the durable material theme member nor the candidate model: false for the material member (FR6 decides that outcome); true for the candidate model.
  • Claim: the native component guidelines' Apple-guidelines requirement applies and settles none of these components: verified.
  • Claim: sibling records own the system bars and presented sheets, and no open pull request specifies these four views: verified against the open sibling drafts.
  • Claim: ten requirements, platform support, verification per requirement, five decisions and five open questions: verified.
  • Claim: the native code uses public platform API with one named exception: verified (FR10).
  • Claim: the "Who uses it" table and the claims resting on current source: not verifiable here; the implementation is not in this repository.
  • Rubric results: R1, R3, R4, R5, R6 and R7 verified; R2 false.
  • Claim: specification records only, with no internal context: verified.
  • Validation claims: knowledge check aligned, Prettier clean and whitespace check clean: verified by running them; internal-marker scan: verified.
  • File docs/specs/AST-123-react-native-surfaces-glass/spec.md: the six blocking findings and two smaller points above.

Automated review (maintainer link)

…T-112 rules cited, not restated; no deprecated aliases; short Why this exists

@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.

Approval waits on an engineering owner's decision on this draft record, and three fixes are needed in the record.

spec:AST-123 adds new requirements (FR1 to FR10, DEC-1 to DEC-5) that no current record states. An engineering owner approves or rejects them by commenting /approve-spec followed by the full head commit SHA (the author may, as an engineering owner), and the fixes below apply either way.

  • FR6 treats a theme with material: 'translucent' as if no member were set, so on iOS toasts and scroll buttons stay opaque and menus and sheets before iOS 26 stay opaque, although spec:AST-082 FR10 says every native platform realizes that intent with system glass or an earlier system blur.
  • Miss: FR6 calls surfaceMaterial the preference for floating surfaces with opaque as its default, yet the overlay row also turns overlays opaque "when the app sets" it, so whether an app that never sets it gets glass or opaque overlays on iOS 26 has two readings; state the unset case or take surfaceMaterial out of the overlay row.
  • FR9 says the opaque outline's weight "depends on which setting caused it (FR6)", but FR6 states no weight, so state both weights in FR6 or drop the pointer.

Merge this record only after the spec:AST-112 amendment (#12563) that its FR3, FR8 and FR12 citations rely on, since the declared merge order is not enforced.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record depends on the AST-112 amendment for default linking, revision-1 contracts with named features and the Stage version floor: verified against that amendment's FR3, FR8 and FR12.
  • Claim: AST-112 lists system materials in the platform core and specifies no surface: verified (its FR1).
  • Claim: FR6 maps the theme's material member onto every surface's paint: partly false; opaque is mapped, translucent acts as no member (first finding).
  • Claim: FR10 allows public platform API only and names one exception: verified (FR10).
  • Claim: the revision, named-feature, default-linking and Stage floor rules are cited, not restated: verified (FR10, Current-state impact).
  • Claim: four rejected alternatives, one line each inside DEC-1, DEC-2, DEC-4 and DEC-5: verified.
  • Claim: rubric results R1 to R7, including the comparison table moved out of the record (R2): verified.
  • Claim: knowledge validation passes with no status warning for this record: verified.
  • Claim: the claim scope includes the revision-1 baseline with named features: stale; FR10 now cites it from AST-112 instead of claiming it.
  • File: docs/specs/AST-123-react-native-surfaces-glass/spec.md: the three findings above.

Automated review (maintainer link)

…lays read surfaceMaterial only when set; opaque outline per setting

@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.

Approval waits on an engineering owner's decision on this draft record, and two fixes are needed in the record.

spec:AST-123 adds new requirements (FR1 to FR10, DEC-1 to DEC-5) that no current record states. An engineering owner approves or rejects them by commenting /approve-spec followed by the full head commit SHA (the author may, as an engineering owner), and the fixes below apply either way.

  • FR6 gives the opaque outline the secondary text colour under Increase Contrast and the emphasized border colour under Reduce Transparency but says nothing for both settings on, so state which colour wins and add that state to FR9's verification row.
  • Miss: the Intent says Reduce Transparency and Increase Contrast give a solid surface in every case, and the platform-support table says AstryxMaterialView falls back to the translucent token fill on Android, but FR9 keeps glass on overlays under Increase Contrast and FR8 paints Android overlays opaque, so align both lines with the requirements.

Merge this record only after the spec:AST-112 amendment (#12563) that its FR8 and FR12 citations rely on, since the declared merge order is not enforced.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record depends on the AST-112 amendment for default linking, revision-1 contracts with named features and the Stage version floor: verified against that amendment's FR3, FR8 and FR12.
  • Claim: merge order is the AST-112 promotion, then its amendment, then this record: verified; both are open and the order is not enforced.
  • Claim: AST-112 lists system materials in the platform core and specifies no surface: verified (its FR1).
  • Claim: FR6 maps the theme's material onto every surface's paint (opaque forces opaque; translucent or an iOS glass value asks for the system material): verified, and it conforms to AST-082 FR10.
  • Claim: FR6 states surfaceMaterial's values and its unset case: verified.
  • Claim: FR6 gives the opaque outline per setting: verified for each setting alone; the case of both on is open (first finding).
  • Claim: FR10 allows public platform API only and names one exception: verified.
  • Claim: the revision, named-feature, default-linking and Stage floor rules are cited from AST-112, not restated: verified (FR10, Current-state impact).
  • Claim: four rejected alternatives, one line each inside DEC-1, DEC-2, DEC-4 and DEC-5: verified.
  • Claim: rubric results R1 to R7, including the comparison table moved out of the record (R2): verified.
  • Claim: knowledge validation passes with no status warning for this record, Prettier passes and the whitespace check is clean: verified.
  • File: docs/specs/AST-123-react-native-surfaces-glass/spec.md: the two findings above.

Automated review (maintainer link)

…nt and the Android material cell match the requirements

@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.

Approval waits on an engineering owner's decision on this draft record, and one fix is needed in the record.

spec:AST-123 adds new requirements (FR1 to FR10 and DEC-1 to DEC-5, including surfaceMaterial, isPlatformEnabled, PlatformAppearanceProvider and AstryxAccessibilitySettings) that no current record states; an engineering owner approves or rejects them by commenting /approve-spec followed by the full head commit SHA, and the author may do so as an engineering owner.

Required fix:

  • Miss: FR6 takes the theme's material from "the durable member or an ios entry's" (spec.md:162-163), but spec:AST-082 FR10 says a platform entry replaces the durable member on its platform, so a theme whose android entry sets opaque would still get translucent surfaces on Android; name the running platform's entry (ios or android) and add an Android entry to FR6's verification states.

The last round's fixes are confirmed; optionally, state NativeGlassView's missing defaults (FR2) and whether floating surfaces and overlays follow the theme's colour mode (FR5), and merge after the spec:AST-112 amendment as the description says.

Claims and files checked

Review mode: full; reason: spec-record

Claims:

  • Depends on the open foundation-record amendment and merges after it, in the stated order: verified (both pull requests are open; the record cites the amended FR3, FR8 and FR12 at spec.md:305-310).
  • The foundation record puts system materials in the platform core and owns the result vocabulary, capability shape, additive evolution, theme mapping and Stage rules, without specifying any surface: verified against that record on main (FR1, FR6 to FR9, FR12).
  • The native-first record owns the durable material member and FR6 maps it onto every surface: verified for the durable member and iOS entries; an Android entry is left out (the required fix).
  • The native component guidelines record applies: verified as context only; it governs the Swift native components.
  • No open pull request specifies these four native views, and the sibling records are disjoint: verified; the sibling component-set draft cites this record.
  • The record states FR1 to FR10, platform support, verification per FR, five decisions and five open questions: verified.
  • FR6 states surfaceMaterial's values, its unset case and the opaque outline per setting: verified (spec.md:170-179).
  • FR10 allows public platform API only, with one named React Native exception: verified (spec.md:264-268).
  • Writing rubric R1 to R7 results: verified (no narration, research, change references or project status; four one-line rejected alternatives inside DEC-1, DEC-2, DEC-4 and DEC-5).
  • The knowledge check, Prettier and the whitespace check pass: verified on this head.
  • The public text carries no internal context: verified.

Files:

  • docs/specs/AST-123-react-native-surfaces-glass/spec.md: one required fix (FR6's theme entry); two optional clarifications (FR2 defaults, FR5 colour mode).

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on this draft record, and four fixes are needed in the record and the description.

spec:AST-123 adds new requirements (FR1 to FR11, DEC-1 to DEC-6) that no current record states, so an engineering owner records the decision by commenting /approve-spec followed by the full head commit SHA, or says which requirements change; the author may do so as an engineering owner.

Required fixes:

  • FR7 reads the theme's material only from the durable member or an ios entry (spec.md:187-188), while FR1 and spec:AST-082 FR10 make a platforms.android entry's member the one that applies on Android, so FR7 should read the running platform's entry and its verification should add an Android case.
  • The FR6, FR7 and FR9 verification rows still check system, MaterialView and "a probe" (spec.md:335-338), which the requirements now call unspecified and AstryxMaterialView or this record no longer defines, so they should use the current names.
  • The description's "FR6 maps the member onto every surface's paint" and the comparison table's "(FR6)" and "(FR3)" pointers should name FR7 and FR4, the requirements they mean at this head.
  • Regression: the description's merge order starts with #12576, which was closed without merging, so it should state the order that still applies.

Non-blocking: the record cites spec:AST-140, the spec:AST-112 FR3 amendment, spec:AST-139 and spec:AST-141, none of which is on main yet, so it should merge after them; FR3's open defaults and FR6's chrome-only colour-mode rule are still open from the last review.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the pull request contains one specification record and changes no package. Verified: the only changed file is the new record.
  • Claim: it depends on the open React Native foundation amendment and the platform-code draft and is not stacked. Verified: both are open drafts, and no stack line is declared.
  • Claim: the merge order starts with the foundation record's promotion. False: that pull request was closed without merging (Required fix 4).
  • Claim: glass and material are a look chosen by component props and theme intent, with the four native views internal. Verified: FR1 (spec.md:100-113).
  • Claim: FR1 carries a gap line for today's glass exports. Verified (spec.md:114-117); the export list itself cannot be checked here, since the React Native package is not in this repository.
  • Claim: the paint rule maps the theme's material member onto every surface, states surfaceMaterial's values and unset case, and gives the opaque outline per setting. Verified in FR7 (spec.md:182-217), except the Android entry (Required fix 1).
  • Claim: "FR6 maps the member", and the comparison table's FR6 and FR3 pointers. False: the record's paint rule is FR7 and its motion rule FR4 (Required fix 3).
  • Claim: FR11 limits native code to public platform API with one named exception. Verified (spec.md:287-291).
  • Claim: default linking, the shared platform rules, and the Stage and Preview products are cited from other records, not restated. Verified as citations; none of those records is on main yet.
  • Claim: six decisions and five open questions. Verified.
  • Claim: the writing rubric finds no narration, research, change references, ruled options or status beyond one gap line. Verified by reading the record.
  • Claim: knowledge validation, Prettier, whitespace and internal-marker checks pass. Verified on the head tree.
  • File docs/specs/AST-123-react-native-surfaces-glass/spec.md: Required fixes 1 and 2; non-blocking notes on dependencies, FR3 defaults and FR6's colour mode.

Automated review (maintainer link)

…aults; the library surfaces follow the theme mode; verification names match the requirements

@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.

Approval waits on an engineering owner's decision on this draft record and on spec:AST-082 being amended; no defect blocks.

  • An engineering owner records the decision on the new requirements (FR1 to FR11) and decisions (DEC-1 to DEC-7) of spec:AST-123 by commenting /approve-spec followed by the full head commit SHA; the author may do so as an engineering owner.
  • The record changes an established spec: its surface prop and DEC-7 need spec:AST-082 DEC-2 ("Native-only visuals are theme configuration, not component props") updated, and the relied-on render.default needs FR10's member list updated. Listing "Amends spec:AST-082/DEC-2" in Current-state impact does not change that record, so a maintainer updates spec:AST-082 itself.
  • DEC-7's Decider line names an owner whose decision is not recorded on this pull request; that owner's /approve-spec at this head would record it.
  • The decision also settles whether TopNav takes surface: FR1 gives every bar the prop, while the open React Native TopNav record says the header takes no visual settings.

The open threads on the record are non-blocking wording suggestions; three new ones cover the DEC-2 change listed under two owners, "native glass" on Android, and the TopNav record id.

Claims and files checked

Review mode: full; reason: spec-record

  • Depends on the foundation amendment and the platform-code record, both open drafts; not stacked; merges after both: verified.
  • The foundation record lists the platform core and owns the result vocabulary, capability shape, additive evolution and theme mapping: verified; the amendment's group table names this record.
  • The platform-code record owns the shared rules cited (FR1, FR2, FR3, FR5, FR6, FR7, FR9): verified.
  • spec:AST-082 FR10 owns the theme's material member and FR7 maps it: verified.
  • render.default and the DEC-2 sentence come from the foundation amendment: it lists them but does not edit spec:AST-082 (owner decision).
  • surface on IconButton and Button is a per-call-site choice (FR1, DEC-7), and Current-state impact amends spec:AST-082 DEC-2: the line is there, and spec:AST-082 is not edited (owner decision).
  • spec:AST-093 FR3 applies: the record names no guideline page (non-blocking).
  • No other open pull request specifies these native components: verified; the open TopNav record cites them as owned here.
  • Glass and material are a look set by component props and theme intent, with the native views internal: verified (FR1).
  • A plain bar, overlay or floating surface paints with tokens, and a plain button keeps its own paint: verified (FR1, FR7).
  • FR1 carries two gap lines: verified; the package is outside this repository.
  • FR7 states surfaceMaterial's values, its unset case and the opaque outline per setting: verified.
  • FR11 names one unstable React Native exception and its fallback: verified.
  • Linking and shared rules are cited, not restated: verified, except FR11's public-API bullet and FR1's per-call-site sentence (non-blocking).
  • Written in positive terms, two standing Non-goals bullets, no rejected alternatives, seven decisions and four open questions: verified.
  • The ecosystem comparison of third-party libraries: research outside the record, not checked.
  • Writing rubric results R1 to R7: verified.
  • Knowledge check, Prettier and whitespace checks pass: verified on the head merged onto main.
  • docs/specs/AST-123-react-native-surfaces-glass/spec.md: no blocking finding; non-blocking notes.

Automated review (maintainer link)


| Native piece | Kind | Astryx components that use it | What a person sees |
| -------------------------- | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AstryxGlassView` | native component (Fabric Native Component) | `TabBar` (and `FloatingTabBar`, which renders a `TabBar`), `TopNav` (its `TopNav<Part>` parts; component:react-native/TopNav), `BarButton`, `BarButtonGroup`, the tab accessory (both its `'expanded'` and `'inline'` placements), `SearchBar`, `KeyboardAccessoryView`, `IconButton` and `Button` with `surface="glass"`, and `DropdownMenu`'s icon trigger, each through its own props. The router's stack and tab navigators draw `TopNav` and `TabBar` | Glass bars, capsules, and round buttons that brighten and lift under a finger, appear and disappear with UIKit's motion, and spring to a new shape |

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.

Non-blocking: component:react-native/TopNav is the only id here without code formatting, and that record is an open draft that merges after this one, so the id names no record on main when this merges. Its FR15 also says TopNav and its parts take no visual settings, while FR1 gives every bar a surface; the owner question asks which holds.

@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.

Approval waits on an engineering owner's decision on this draft record and on spec:AST-082 DEC-2 being updated, and two fixes are needed in the record and the description.

  • An engineering owner records the decision on the new requirements (FR1 to FR11) and decisions (DEC-1 to DEC-7) of spec:AST-123 by commenting /approve-spec followed by the full head commit SHA, and the author may do so as an engineering owner.
  • surface on Button and IconButton (FR1, DEC-7) puts a native-only visual on a component prop, which spec:AST-082 DEC-2 ("Native-only visuals are theme configuration, not component props") rules out, so a maintainer updates spec:AST-082 itself, since listing "Amends spec:AST-082/DEC-2" under Current-state impact does not change that record.
  • DEC-7's Decider line names an owner whose decision is not recorded on this pull request, and that owner's approval at this head would record it.
  • FR1 (lines 97-100) and OQ5 say overlays and floating surfaces take their look from the theme's material member and the accessibility settings alone, while FR7 also reads surfaceMaterial and paints a toast opaque when neither is set, so name surfaceMaterial there and match FR7's default.
  • The description still says FR1's target "uses each component's surface" and lists the bars' chrome glass among component props, while at this head only Button and IconButton take surface and the bars take their look from the theme, so update those two sentences.

The other open threads on the record are non-blocking wording suggestions, and this head fixes the earlier TopNav and render.default conflicts.

Claims and files checked

Review mode: full; reason: spec-record

  • Depends on the foundation amendment and the platform-code record, both open drafts; not stacked; merges after both: verified.
  • The foundation record lists the platform core and owns the result vocabulary, capability shape, additive evolution and theme mapping: verified; it is draft on main, and the amendment's group table names this record.
  • The platform-code record owns the shared rules cited (FR1, FR2, FR3, FR5, FR6, FR7, FR9): verified.
  • spec:AST-082 FR10 owns the theme's material member and FR7 maps it: verified.
  • Current-state impact amends spec:AST-082 DEC-2 for surface on the two buttons (DEC-7): the line is there, and spec:AST-082 is not edited (owner decision).
  • spec:AST-093 FR3 applies: the record names none of the guideline pages FR3 asks for (non-blocking).
  • Sibling records keep the system-presented bars, sheets and menus: verified (FR1).
  • No other open pull request specifies these native components: verified; the open React Native TopNav record cites them as owned here.
  • Glass and material are a look set by the theme and, on the two buttons, surface, with the native views internal: verified (FR1).
  • Bars, overlays and floating surfaces take their look from the theme and the settings until OQ5 decides their props: FR1 says so, but FR7 also reads surfaceMaterial (blocking).
  • FR1 carries two gap lines whose target uses each component's surface: false at this head (blocking).
  • FR7 states surfaceMaterial's values, its unset case and the opaque outline per setting: verified.
  • FR11 names one unstable React Native exception and its fallback: verified.
  • Linking and shared rules are cited, not restated: verified, except FR11's public-API bullet (non-blocking).
  • Written in positive terms, two standing Non-goals bullets, no rejected alternatives, seven decisions and five open questions: verified.
  • The Who uses it table matches the record: verified.
  • The ecosystem comparison of third-party libraries: research outside the record, not checked.
  • Writing rubric results R1 to R7: verified.
  • Knowledge check, Prettier and whitespace checks pass: verified on the head merged onto main.
  • docs/specs/AST-123-react-native-surfaces-glass/spec.md: two blocking findings; non-blocking notes.

Automated review (maintainer link)


| Native piece | Kind | Astryx components that use it | What a person sees |
| -------------------------- | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AstryxGlassView` | native component (Fabric Native Component) | `TabBar` (and `FloatingTabBar`, which renders a `TabBar`), `TopNav` (its `TopNav<Part>` parts; component:react-native/TopNav), `BarButton`, `BarButtonGroup`, the tab accessory (both its `'expanded'` and `'inline'` placements), `SearchBar`, `KeyboardAccessoryView`, `IconButton` and `Button` with `surface="glass"`, and `DropdownMenu`'s icon trigger, each through its own props. The router's stack and tab navigators draw `TopNav` and `TabBar` | Glass bars, capsules, and round buttons that brighten and lift under a finger, appear and disappear with UIKit's motion, and spring to a new shape |

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.

Non-blocking: "each through its own props" no longer holds at this head, since only Button and IconButton take a look prop and the bars take theirs from the theme (FR1, OQ5). KeyboardAccessoryView and DropdownMenu's icon trigger, listed here, also fall in no row of FR7's table (line 214). Please say which row paints them, or drop them here.

@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.

Approval waits on an engineering owner's decision on this draft record and on spec:AST-082 DEC-2 being updated, and one fix is needed in the description.

  • An engineering owner records the decision on the new requirements (FR1 to FR11) and decisions (DEC-1 to DEC-7) of spec:AST-123 by commenting /approve-spec followed by the full head commit SHA, and the author may do so as an engineering owner.
  • surface on Button and IconButton (FR1, DEC-7) puts a native-only visual on a component prop, which spec:AST-082 DEC-2 rules out, and calling it a platform prop does not change that, because DEC-2 says platform props carry behavior and presentation choices, not visuals, so a maintainer updates spec:AST-082 itself, since listing "Amends spec:AST-082/DEC-2" under Current-state impact does not change that record.
  • DEC-7's Decider line names an owner whose decision is not recorded on this pull request, and that owner's approval at this head would record it.
  • The description's Decision section still says FR1's target "uses each component's surface", lists the bars' chrome glass among component props and leaves surfaceMaterial out of what sets overlays and floating surfaces, while at this head only Button and IconButton take surface and FR1 names surfaceMaterial, so update those three sentences.

This head fixes the FR1 and OQ5 wording against FR7. The other open threads, and one new note on surface for a system-drawn button, are non-blocking wording suggestions.

Claims and files checked

Review mode: full; reason: spec-record

  • Depends on the foundation amendment and the platform-code record, both open drafts; not stacked; merges after both: verified.
  • The foundation record lists system materials in the platform core and owns the result vocabulary, capability shape, additive evolution and theme mapping: verified; it is draft on main, and the amendment's group table names this record.
  • The platform-code record owns the shared rules cited (FR1, FR2, FR3, FR5, FR6, FR7, FR9): verified.
  • spec:AST-082 FR10 owns the theme's material member and FR7 maps it: verified.
  • Current-state impact amends spec:AST-082 DEC-2 for surface on the two buttons (DEC-7): the line is there, and spec:AST-082 is not edited (owner decision).
  • spec:AST-093 FR3 applies: the record names none of the guideline pages FR3 asks for (non-blocking).
  • Sibling records keep the system-presented bars, sheets and menus: verified (FR1).
  • No other open pull request specifies these native components: verified.
  • Glass and material are a look set by the theme and, on the two buttons, surface, with the native views internal: verified (FR1).
  • Bars, overlays and floating surfaces take their look from the theme and the accessibility settings until OQ5 decides their props: incomplete, since FR1 now also names surfaceMaterial (blocking, with the next claim).
  • FR1 carries two gap lines whose target uses each component's surface: false at this head (blocking).
  • FR7 states surfaceMaterial's values, its unset case and the opaque outline per setting: verified.
  • FR11 names one unstable React Native exception and its fallback: verified.
  • Linking and shared rules are cited, not restated: verified, except FR11's public-API bullet (non-blocking).
  • Written in positive terms, two standing Non-goals bullets, no rejected alternatives, seven decisions and five open questions: verified.
  • The Who uses it table matches the record: verified.
  • The ecosystem comparison of third-party libraries: research outside the record, not checked.
  • Writing rubric results R1 to R7: verified.
  • Knowledge check, Prettier and whitespace checks pass: verified on the head merged onto main.
  • docs/specs/AST-123-react-native-surfaces-glass/spec.md: one blocking finding (the description); non-blocking notes.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on this draft record and on the spec:AST-082 DEC-2 amendment reaching main; no blocking fix is needed in the record.

  • spec:AST-123 adds requirements that no current record states (FR1 to FR11, DEC-1 to DEC-7), so an engineering owner records the decision by commenting /approve-spec followed by the full head commit SHA, and the author may do so as an engineering owner.
  • surface on Button and IconButton (FR1, DEC-7) relies on spec:AST-082 DEC-2 as amended, but DEC-2 on main still says "Native-only visuals are theme configuration, not component props", so the amendment in #12801 needs to merge first.

The earlier description fix is in. Non-blocking: name #12801 in the description's dependency line and merge order, and point OQ5 at the new spec:AST-082 OQ7 that #12801 adds; the other notes are inline or carried from earlier rounds.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record depends on the foundation's default-linking amendment and the shared platform rules record, and merges after both. Verified: it cites the amended FR3 and the shared rules; the DEC-2 amendment it also relies on is not listed (non-blocking).
  • Claim: the record specifies the four internal native views, their faces, and the paint rules across iOS versions, Android and the accessibility settings. Verified: FR2 to FR11.
  • Claim: glass is a look set by the theme, with surface only on Button and IconButton, and the other surfaces' props and any app-wide preference left open. Verified: FR1, FR7, DEC-7, OQ5.
  • Claim: the record follows the native-first surfaces record's theme material member and relies on its DEC-2 as amended without editing it. Verified: FR7 and Current-state impact; the amendment is still open.
  • Claim: the native component guidelines' Human Interface Guidelines requirement applies. Partly verified: the record names no guideline page (non-blocking).
  • Claim: seven decisions, four open questions, no Rejected lines, and only the two standing Non-goals bullets. Verified.
  • Claim: the "Who uses it" table matches the record. Verified: identical rows.
  • Claim: writing rubric results R1 to R7, including two gap lines in the required form and no pull request references in the record. Verified.
  • Claim: the knowledge check passes and the record uses Prettier style. Verified on the head merged onto main.
  • File: docs/specs/AST-123-react-native-surfaces-glass/spec.md: non-blocking findings only.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on this draft record and on the spec:AST-082 DEC-2 amendment (#12801) reaching main, and one fix is needed in the record.

spec:AST-123 FR1 to FR11 and DEC-1 to DEC-7 are new draft requirements, and surface on Button and IconButton (FR1, DEC-7) still contradicts spec:AST-082 DEC-2 on main ("Native-only visuals are theme configuration, not component props") until #12801 merges. Once the fix below lands, an engineering owner records the decision by commenting /approve-spec followed by that head's full commit SHA; the author may do so as an engineering owner.

Blocking:

  • FR1 and FR7 (spec.md:95-96, :217-219) say a Button or IconButton with surface unset "follows the theme and its placement", but no requirement states that placement rule or which FR7 row an unset button takes, so the default button can ship plain or glass and FR1's verification row (:335) cannot fail; please state the rule in FR7 (for example, an unset button in a bar, the tab accessory or the search field follows the chrome row, and elsewhere keeps its own record's paint) and add the matching failure.

The non-blocking points are in the inline comments; one is new: FR1 lists plain and glass, while the spec:AST-112 amendment's FR21 gives surface a third value, material.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record depends on and merges after the spec:AST-112 amendment, spec:AST-140 and the spec:AST-082 DEC-2 amendment: verified, all three are open drafts and no stack is declared.
  • Claim: the record follows spec:AST-082 FR10 for the theme's material member: verified (FR7, spec.md:192-200).
  • Claim: surface is a platform prop of every native contract with no default, and unset follows the theme and placement: verified as written (spec.md:93-98); the placement rule itself is missing (blocking above).
  • Claim: Current-state impact relies on spec:AST-082 DEC-2 as amended and does not edit that record: verified (spec.md:326-327; one file changes).
  • Claim: FR1 carries two gap lines in the required form: verified (spec.md:116-122); today's exports could not be checked, since the React Native package is not in this repository.
  • Claim: FR11 names one unstable React Native exception: verified (spec.md:289-294).
  • Claim: spec:AST-093 FR3 applies: true, but the record names none of the guideline pages FR3 asks for (non-blocking).
  • Claim: Non-goals keeps only the template's two bullets, with seven decisions, four open questions and no rejected-alternative lines: verified.
  • Claim: the knowledge check, Prettier and the whitespace check pass: verified on the head merged onto main.
  • File docs/specs/AST-123-react-native-surfaces-glass/spec.md: one blocking finding (unset surface); non-blocking notes inline.

Automated review (maintainer link)

platform's contract (`spec:AST-082` DEC-2 as amended); the core and web
contracts do not have it; it has no default (unset follows the theme and
placement). `plain` keeps the paint their own record gives them, and
`glass` draws chrome glass (FR7). `surface` is a per-call-site appearance

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.

Non-blocking: this gives surface two values, plain and glass, as #12801 does, but the open spec:AST-112 amendment this record merges after gives it "glass, material, or plain" and says "a system-drawn button shows it as the platform's matching button style" (its FR21), while glass here "draws chrome glass (FR7)" for every glass button. Please say which values Button and IconButton take, and that this bullet covers the button the library draws.

@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.

Approval waits on an engineering owner's decision on this draft record and on the spec:AST-082 DEC-2 amendment (#12801) reaching main; the earlier fix for an unset surface is in, and nothing else blocks.

spec:AST-123 FR1 to FR11 and DEC-1 to DEC-7 are new draft requirements, and surface on Button and IconButton (FR1, DEC-7) still contradicts spec:AST-082 DEC-2 on main ("Native-only visuals are theme configuration, not component props") until #12801 merges. An engineering owner records the decision by commenting /approve-spec followed by the full head commit SHA; the author may do so as an engineering owner.

FR7 now states where an unset button paints, lists placement among its inputs, and checks each placement in its verification row. The non-blocking points are in the inline comments; one is new: the AstryxGlassView row of "Who uses it" lists only surface="glass" buttons, while FR7 now also sends unset ones in a bar, the tab accessory or the search field to the glass chrome row.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record depends on and merges after the spec:AST-112 amendment, spec:AST-140 and the spec:AST-082 DEC-2 amendment, with no stack: verified, all three are open drafts and the description declares no stack.
  • Claim: surface is a platform prop of every native contract with no default, and an unset button follows FR7's chrome row in a bar, the tab accessory or the search field and its own record's paint elsewhere: verified (spec.md:93-98, :217-220).
  • Claim: the record follows spec:AST-082 FR10 for the theme's material member and gives the opaque outline per setting: verified (FR7, spec.md:192-205).
  • Claim: Current-state impact relies on spec:AST-082 DEC-2 as amended and the record does not edit that record: verified (spec.md:327-328; one file changes).
  • Claim: FR1 carries two gap lines in the required form: verified (spec.md:116-122); today's exports could not be checked, since the React Native package is not in this repository.
  • Claim: FR11 names one unstable React Native exception, and default linking is cited from the spec:AST-112 amendment: verified (spec.md:287-295).
  • Claim: spec:AST-093 FR3 applies: the record names none of the guideline pages FR3 asks for (non-blocking).
  • Claim: Non-goals keeps only the template's two bullets, with seven decisions, four open questions and no rejected-alternative lines: verified.
  • Claim: the ecosystem comparison lives in the description, not the record: verified.
  • Claim: the knowledge check, Prettier and the whitespace check pass: verified on the head merged onto main.
  • File docs/specs/AST-123-react-native-surfaces-glass/spec.md: no blocking finding; non-blocking notes inline.

Automated review (maintainer link)


| Native piece | Kind | Astryx components that use it | What a person sees |
| -------------------------- | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AstryxGlassView` | native component (Fabric Native Component) | `TabBar` (and `FloatingTabBar`, which renders a `TabBar`), `TopNav` (its `TopNav<Part>` parts; component:react-native/TopNav), `BarButton`, `BarButtonGroup`, the tab accessory (both its `'expanded'` and `'inline'` placements), `SearchBar`, `KeyboardAccessoryView`, `IconButton` and `Button` with `surface="glass"`, and `DropdownMenu`'s icon trigger, each through its own props. The router's stack and tab navigators draw `TopNav` and `TabBar` | Glass bars, capsules, and round buttons that brighten and lift under a finger, appear and disappear with UIKit's motion, and spring to a new shape |

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.

Non-blocking: with FR7's new placement rule (lines 218-220), an unset IconButton or Button in a bar, the tab accessory or the search field also takes the chrome row, whose glass paint puts its children inside AstryxGlassView (line 209), but this row lists only "IconButton and Button with surface="glass"". Please add "or unset in a bar, the tab accessory or the search field" here and in the description's copy of the table, and let FR1's "unset follows the theme and placement" (lines 95-96) point to FR7.

@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.

Approval waits on an engineering owner's decision on this draft record and on the spec:AST-082 DEC-2 amendment (#12801) reaching main, and two fixes are needed in the record and the description.

spec:AST-123 FR1 to FR11 and DEC-1 to DEC-7 are new draft requirements, and surface on Button and IconButton still contradicts spec:AST-082 DEC-2 and spec:AST-093 FR4 on main until #12801 merges. An engineering owner records the decision by commenting /approve-spec followed by the full head commit SHA (the author may do so as an engineering owner), and should also say whether surface="glass" paints opaque under a theme with material: 'opaque', as FR7 and DEC-7 say, or stays glass, as #12801's DEC-2 amendment says.

  • The new Current-state line (spec.md:328-331) gives spec:AST-082 DEC-2 a sentence worded differently from the amendment #12801 makes, while the description still says Current-state impact relies on DEC-2 as amended; restore that reliance or use #12801's words, and add #13029 to the dependency line and merge order.
  • Regression: since #12563 merged, spec:AST-112 FR1 no longer lists system materials and spec:AST-140 owns the result vocabulary and additive evolution, so the description's spec:AST-112 bullet and the record's FR1 citation (spec.md:37-38, :322-323) should point to FR7's group table and spec:AST-140 instead.

The non-blocking points are in the inline comments; one is new: FR1 names spec:AST-082 DEC-2 but not spec:AST-093 FR4, which #12801 also amends.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record depends on and merges after the spec:AST-112 amendment, spec:AST-140 and the spec:AST-082 DEC-2 amendment, with no stack: verified; the first two have merged, the DEC-2 amendment is an open draft, and the description declares no stack.
  • Claim: spec:AST-112 lists system materials in the platform's core (FR1) and owns the result vocabulary and additive evolution: false on main since the amendment merged (blocking, above).
  • Claim: spec:AST-140 owns the shared platform rules the record cites (FR1 to FR3, FR5 to FR7, FR9): verified against main.
  • Claim: spec:AST-082 FR10 owns the durable material member and FR7 maps it onto every surface with the opaque outline per setting: verified (spec.md:193-206).
  • Claim: Current-state impact relies on spec:AST-082 DEC-2 as amended, and the record does not edit spec:AST-082: the first half is false at this head (spec.md:328-331, blocking, above); the second holds, as one file changes.
  • Claim: spec:AST-093 FR3 applies: the record names none of the guideline pages FR3 asks for (non-blocking).
  • Claim: no open pull request specifies these native components: not contradicted by the related open drafts read.
  • Claim: surface is a platform prop of every native contract with no default, and an unset button follows FR7's placement rule: verified (spec.md:93-98, :218-221).
  • Claim: FR1 carries two gap lines in the required form: verified (spec.md:117-123); today's exports could not be checked, since the React Native package is not in this repository.
  • Claim: FR11 allows public platform API only with one unstable React Native exception, and default linking is cited from spec:AST-112 FR3: verified (spec.md:288-296).
  • Claim: Non-goals keeps only the template's two standing bullets, with seven decisions, four open questions and no rejected-alternative lines: verified.
  • Claim: the record carries no pull request or issue references: verified.
  • Claim: FR1's no-public-component line and the DEC-2 entry move here from spec:AST-112 FR21 and its Current-state impact as part of #13029: verified; spec:AST-112 on main still carries both until #13029 merges.
  • Claim: the knowledge check, Prettier and the whitespace check pass: verified on the head merged onto main.
  • Claim: the pull request contains specification records only: verified.
  • File docs/specs/AST-123-react-native-surfaces-glass/spec.md: the two blocking findings above; non-blocking notes inline.

Automated review (maintainer link)

Comment on lines +37 to +38
This record details the platform's system materials in the core of
`spec:AST-112` (`spec:AST-112/FR1`), its Surfaces and glass group

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.

Regression: since #12563 merged, spec:AST-112 FR1 on main no longer lists system materials (its core holds "the native half of the library's own components"), and the description's bullet that spec:AST-112 "lists system materials in the platform's core (FR1) and owns the result vocabulary, capability shape, additive evolution" no longer holds: spec:AST-140 owns the result vocabulary (FR3) and additive evolution (FR5). Suggested: cite FR7's group table for the Surfaces and glass group here and at lines 322-323, and update the description's bullet.

Comment on lines +93 to +94
- `Button` and `IconButton` take `surface`, a platform prop in every native
platform's contract (`spec:AST-082` DEC-2 as amended); the core and web

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.

Miss, non-blocking: spec:AST-093 FR4 (current) also says a component "never adds a visual prop for one platform", and #12801 amends it beside DEC-2 ("except Button and IconButton's surface prop"). Please name both here, for example "(spec:AST-082 DEC-2 and spec:AST-093 FR4 as amended)".

@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.

Approval waits on an engineering owner's decision on this draft record and on the spec:AST-082 DEC-2 amendment (#12801) reaching main, and one fix is needed in the description.

spec:AST-123 FR1 to FR11 and DEC-1 to DEC-7 are new draft requirements, and surface on Button and IconButton still contradicts spec:AST-082 DEC-2 and spec:AST-093 FR4 on main until #12801 merges. An engineering owner records the decision by commenting /approve-spec followed by the full head commit SHA (the author may do so as an engineering owner), and should also say whether surface="glass" paints opaque under a theme with material: 'opaque', as FR7 and DEC-7 say, or stays glass, as the #12801 text that Current-state impact now relies on says.

  • The description's spec:AST-112 bullet says that record lists system materials in its core (FR1) and owns the result vocabulary and additive evolution, but on main FR1 names no system materials and FR6 and FR8 hand the result shape and the named-feature rules to spec:AST-140 FR3 and FR5, so reword it to credit spec:AST-112 FR1, FR7 and FR9 and spec:AST-140 FR3 and FR5.

The Current-state DEC-2 line from the last review is fixed; the remaining non-blocking points are in the inline comments, including naming spec:AST-093 FR4 beside DEC-2 on the new line.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: the record depends on and merges after the default-linking amendment, the shared platform rules record, the DEC-2 amendment and #13029, with no stack: verified; the first two have merged, the other two are open drafts.
  • Claim: spec:AST-112 lists system materials in its core (FR1) and owns the result vocabulary, capability shape, additive evolution and theme mapping: false for FR1, the result vocabulary and additive evolution (blocking, above); true for the capability shape (FR7) and the theme mapping (FR9).
  • Claim: spec:AST-140 owns the shared platform rules the record cites (FR1 to FR3, FR5 to FR7, FR9): verified against main.
  • Claim: spec:AST-082 FR10 owns the durable material member and FR7 maps it onto every surface with the opaque outline per setting: verified (spec.md:193-206).
  • Claim: Current-state impact relies on spec:AST-082 DEC-2 as amended, and the record does not edit spec:AST-082: verified (spec.md:328-329; one file changes).
  • Claim: spec:AST-093 FR3 applies: the record names none of the guideline pages FR3 asks for (non-blocking).
  • Claim: surface is a platform prop of every native contract with no default, and an unset button follows FR7's placement rule: verified (spec.md:93-98, :218-221).
  • Claim: the bars, overlays and floating surfaces take their look from the theme until their own props and any app-wide preference are decided, with OQ5 citing spec:AST-082 OQ7: verified (spec.md:99-102, :440-445); OQ7 exists only in the DEC-2 amendment.
  • Claim: FR1 carries two gap lines in the required form: verified (spec.md:117-123); today's exports could not be checked, as the React Native package is not in this repository.
  • Claim: FR11 allows public platform API only with one unstable React Native exception, and default linking is cited from spec:AST-112 FR3: verified (spec.md:288-296).
  • Claim: the record links other records' requirements instead of restating them: FR11's public-API bullet restates spec:AST-112 DEC-15 (non-blocking).
  • Claim: Non-goals keeps only the template's two standing bullets, with seven decisions, four open questions and no rejected-alternative lines: verified.
  • Claim: FR1's no-public-component line moves here from spec:AST-112 FR21 as part of #13029: verified; #13029 removes FR21.
  • Claim: no open pull request specifies these native components: not contradicted by the related open drafts read.
  • Claim: the ecosystem comparison of third-party libraries: research context in the description only, not checked against those libraries.
  • Claim: the record carries no pull request or issue references and no project status: verified.
  • Claim: the knowledge check, Prettier and the whitespace check pass, and a scan finds no private references: verified on the head merged onto main.
  • Claim: the pull request contains specification records only: verified.
  • File docs/specs/AST-123-react-native-surfaces-glass/spec.md: the blocking description finding above; non-blocking notes inline.

Automated review (maintainer link)

Comment on lines +328 to +329
- Relies on `spec:AST-082` DEC-2 as amended: `surface` on `Button` and
`IconButton` is a component prop, a per-call-site appearance choice (DEC-7).

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.

Owner decision, plus one naming fix: this now relies on spec:AST-082 DEC-2 as #12801 amends it, and #12801's text says "plain or glass overrides" the theme's native material intent. FR7 (lines 196-197, 210 and 218-219, and the verification failure on line 343) and DEC-7 (lines 424-425) instead paint a surface="glass" button opaque under material: 'opaque', so one of the two has to change once the owners settle the reading. Please also name spec:AST-093 FR4 here, which #12801 amends beside DEC-2, for example "Relies on spec:AST-082 DEC-2 and spec:AST-093 FR4 as amended".

This branch was successfully deployed

1 active deployment
Preview — d9f6cd3a Deployed Nov 20, 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