Repository navigation
spec(AST-123): React Native platform: Surfaces and glass - #12557
imdreamrunner wants to merge 33 commits into
Conversation
… scroll-edge effects, with solid and drawn fallbacks
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
… one exception; OQ1 asks whether the two material contracts merge
…evel behaviour for Header or sheets
There was a problem hiding this comment.
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
materialmember, so a theme withmaterial: 'opaque'still gets glass chrome and system-glass overlays on iOS 26, againstspec:AST-082FR10; map the member in FR6 and say howsurfaceMaterialrelates 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 onmain, wherespec:AST-112FR8 still versions modules bygetConstants().version, so land this after thespec:AST-112amendment 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'sappearanceprop are told it is deprecated, which needs an explicit owner decision forappearancethat the description does not cite. Found by: deprecation rule - Callers of
supportsMaterialVariantare told it is deprecated, which needs an explicit owner decision forsupportsMaterialVariantthat 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
materialtheme member nor the candidate model: false for thematerialmember (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.
…T-112 rules cited, not restated; no deprecated aliases; short Why this exists
There was a problem hiding this comment.
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, althoughspec:AST-082FR10 says every native platform realizes that intent with system glass or an earlier system blur. - Miss: FR6 calls
surfaceMaterialthe preference for floating surfaces withopaqueas 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 takesurfaceMaterialout 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
materialmember onto every surface's paint: partly false;opaqueis mapped,translucentacts 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.
…lays read surfaceMaterial only when set; opaque outline per setting
There was a problem hiding this comment.
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
AstryxMaterialViewfalls 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
materialonto every surface's paint (opaqueforces opaque;translucentor 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.
…nt and the Android material cell match the requirements
There was a problem hiding this comment.
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
materialfrom "the durable member or aniosentry's" (spec.md:162-163), butspec:AST-082FR10 says a platform entry replaces the durable member on its platform, so a theme whoseandroidentry setsopaquewould still get translucent surfaces on Android; name the running platform's entry (iosorandroid) 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
materialmember 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).
…ord states the React Native contracts only
…me intent); the four native views are internal
…ST-139, spec:AST-141)
There was a problem hiding this comment.
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
materialonly from the durable member or aniosentry (spec.md:187-188), while FR1 andspec:AST-082FR10 make aplatforms.androidentry'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,MaterialViewand "a probe" (spec.md:335-338), which the requirements now callunspecifiedandAstryxMaterialViewor 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
materialmember onto every surface, statessurfaceMaterial'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
mainyet. - 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.
…aults; the library surfaces follow the theme mode; verification names match the requirements
There was a problem hiding this comment.
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-123by commenting/approve-specfollowed by the full head commit SHA; the author may do so as an engineering owner. - The record changes an established spec: its
surfaceprop and DEC-7 needspec:AST-082DEC-2 ("Native-only visuals are theme configuration, not component props") updated, and the relied-onrender.defaultneeds FR10's member list updated. Listing "Amendsspec:AST-082/DEC-2" in Current-state impact does not change that record, so a maintainer updatesspec:AST-082itself. - DEC-7's Decider line names an owner whose decision is not recorded on this pull request; that owner's
/approve-specat this head would record it. - The decision also settles whether
TopNavtakessurface: 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-082FR10 owns the theme'smaterialmember and FR7 maps it: verified.render.defaultand the DEC-2 sentence come from the foundation amendment: it lists them but does not editspec:AST-082(owner decision).surfaceonIconButtonandButtonis a per-call-site choice (FR1, DEC-7), and Current-state impact amendsspec:AST-082DEC-2: the line is there, andspec:AST-082is not edited (owner decision).spec:AST-093FR3 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.
|
|
||
| | 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 | |
There was a problem hiding this comment.
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.
…take the theme's look; no render dependence
There was a problem hiding this comment.
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-123by commenting/approve-specfollowed by the full head commit SHA, and the author may do so as an engineering owner. surfaceonButtonandIconButton(FR1, DEC-7) puts a native-only visual on a component prop, whichspec:AST-082DEC-2 ("Native-only visuals are theme configuration, not component props") rules out, so a maintainer updatesspec:AST-082itself, since listing "Amendsspec: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
materialmember and the accessibility settings alone, while FR7 also readssurfaceMaterialand paints a toastopaquewhen neither is set, so namesurfaceMaterialthere 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 onlyButtonandIconButtontakesurfaceand 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-082FR10 owns the theme'smaterialmember and FR7 maps it: verified.- Current-state impact amends
spec:AST-082DEC-2 forsurfaceon the two buttons (DEC-7): the line is there, andspec:AST-082is not edited (owner decision). spec:AST-093FR3 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.
|
|
||
| | 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 | |
There was a problem hiding this comment.
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.
…cts-typed platform prop
There was a problem hiding this comment.
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-123by commenting/approve-specfollowed by the full head commit SHA, and the author may do so as an engineering owner. surfaceonButtonandIconButton(FR1, DEC-7) puts a native-only visual on a component prop, whichspec:AST-082DEC-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 updatesspec:AST-082itself, since listing "Amendsspec: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 leavessurfaceMaterialout of what sets overlays and floating surfaces, while at this head onlyButtonandIconButtontakesurfaceand FR1 namessurfaceMaterial, 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-082FR10 owns the theme'smaterialmember and FR7 maps it: verified.- Current-state impact amends
spec:AST-082DEC-2 forsurfaceon the two buttons (DEC-7): the line is there, andspec:AST-082is not edited (owner decision). spec:AST-093FR3 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.
There was a problem hiding this comment.
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-123adds requirements that no current record states (FR1 to FR11, DEC-1 to DEC-7), so an engineering owner records the decision by commenting/approve-specfollowed by the full head commit SHA, and the author may do so as an engineering owner.surfaceonButtonandIconButton(FR1, DEC-7) relies onspec:AST-082DEC-2 as amended, but DEC-2 onmainstill 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
surfaceonly onButtonandIconButton, 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
materialmember 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.
…ault; OQ5 cites AST-082 OQ7
There was a problem hiding this comment.
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 aButtonorIconButtonwithsurfaceunset "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-112amendment,spec:AST-140and thespec:AST-082DEC-2 amendment: verified, all three are open drafts and no stack is declared. - Claim: the record follows
spec:AST-082FR10 for the theme'smaterialmember: verified (FR7,spec.md:192-200). - Claim:
surfaceis 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-082DEC-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-093FR3 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 (unsetsurface); non-blocking notes inline.
| 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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-112amendment,spec:AST-140and thespec:AST-082DEC-2 amendment, with no stack: verified, all three are open drafts and the description declares no stack. - Claim:
surfaceis 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-082FR10 for the theme'smaterialmember and gives the opaque outline per setting: verified (FR7,spec.md:192-205). - Claim: Current-state impact relies on
spec:AST-082DEC-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-112amendment: verified (spec.md:287-295). - Claim:
spec:AST-093FR3 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.
|
|
||
| | 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 | |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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) givesspec:AST-082DEC-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-112FR1 no longer lists system materials andspec:AST-140owns the result vocabulary and additive evolution, so the description'sspec:AST-112bullet and the record's FR1 citation (spec.md:37-38,:322-323) should point to FR7's group table andspec:AST-140instead.
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-112amendment,spec:AST-140and thespec:AST-082DEC-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-112lists system materials in the platform's core (FR1) and owns the result vocabulary and additive evolution: false onmainsince the amendment merged (blocking, above). - Claim:
spec:AST-140owns the shared platform rules the record cites (FR1 to FR3, FR5 to FR7, FR9): verified againstmain. - Claim:
spec:AST-082FR10 owns the durablematerialmember 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-082DEC-2 as amended, and the record does not editspec: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-093FR3 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:
surfaceis 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-112FR3: 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-112FR21 and its Current-state impact as part of #13029: verified;spec:AST-112onmainstill 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.
| This record details the platform's system materials in the core of | ||
| `spec:AST-112` (`spec:AST-112/FR1`), its Surfaces and glass group |
There was a problem hiding this comment.
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.
| - `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 |
There was a problem hiding this comment.
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)".
There was a problem hiding this comment.
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-112bullet says that record lists system materials in its core (FR1) and owns the result vocabulary and additive evolution, but onmainFR1 names no system materials and FR6 and FR8 hand the result shape and the named-feature rules tospec:AST-140FR3 and FR5, so reword it to creditspec:AST-112FR1, FR7 and FR9 andspec:AST-140FR3 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-112lists 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-140owns the shared platform rules the record cites (FR1 to FR3, FR5 to FR7, FR9): verified againstmain. - Claim:
spec:AST-082FR10 owns the durablematerialmember 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-082DEC-2 as amended, and the record does not editspec:AST-082: verified (spec.md:328-329; one file changes). - Claim:
spec:AST-093FR3 applies: the record names none of the guideline pages FR3 asks for (non-blocking). - Claim:
surfaceis 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-082OQ7: 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-112FR3: verified (spec.md:288-296). - Claim: the record links other records' requirements instead of restating them: FR11's public-API bullet restates
spec:AST-112DEC-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-112FR21 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.
| - 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). |
There was a problem hiding this comment.
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".
Depends on #12563 (the
spec:AST-112amendment: default linking), #12594 (spec:AST-140, the shared platform rules: registration, missing pieces, results, named features, threading, conformance, coexistence) and #12801 (thespec:AST-082DEC-2 amendment:surfaceonButtonandIconButton; andspec: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, andAstryxScrollEdgeView(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 durablematerialtheme member; this record follows it (FR7 maps the member onto every surface's paint). FR12's candidate model is untouched. Current-state impact relies onspec:AST-082DEC-2 as amended forsurfaceonButtonandIconButton(DEC-7); this record does not editspec:AST-082.spec:AST-093(native component guidelines): FR3 (Apple HIG, system materials) applies; no claim settles these components.Decision
The record specifies glass and material as a look (FR1): an app asks for it through the theme's native intent (
defineNativeTheme'smaterial, durable or in aplatforms.ios/platforms.androidentry); the native views stay internal behind the components.ButtonandIconButtontakesurfaceas a per-call-site appearance choice (DEC-7): a platform prop in every native platform's contract (spec:AST-082DEC-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'smaterialmember and the accessibility settings, until their surface-specific props, and any app-wide preference such assurfaceMaterial, are decided (OQ5, which citesspec:AST-082/OQ7for 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'sisPlatformEnabledswitches every surface between the native views and the token paints; the target keeps the components internal and uses the theme'smaterialmember and, onButtonandIconButton,surface. FR7 maps the theme'smaterialmember (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 glassprogressfrom being reset by a React commit. Default linking is cited fromspec:AST-112FR3 (amended), and registration, missing pieces, named features, threading, conformance and coexistence fromspec: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:
AstryxGlassViewTabBar(andFloatingTabBar, which renders aTabBar),TopNav(itsTopNav<Part>parts; component:react-native/TopNav),BarButton,BarButtonGroup, the tab accessory (both its'expanded'and'inline'placements),SearchBar,KeyboardAccessoryView,IconButtonandButtonwithsurface="glass", andDropdownMenu's icon trigger, each through its own props. The router's stack and tab navigators drawTopNavandTabBarAstryxGlassContainerViewTabBar(andFloatingTabBar),TopNav, andBarButtonGroup, which group their glass itemsAstryxMaterialViewAlertDialog,Dialog,Popover(and the surfaces built on it:DropdownMenu,ContextMenu,Selector's picker,TabList's menu,HoverCard,TopNav's menus),BottomSheetandInlineSheetwhen the library builds them. Floating surfaces:ToastandChatLayoutScrollButton(inChatLayout). Every glass component above where glass paints but the glass view is absentAstryxScrollEdgeViewTopNav; the router's stack navigator through its header built in React and header search fieldEcosystem comparison (research behind "Why this exists"; the record keeps one conclusion per piece):
AstryxMaterialViewUIVisualEffectViewblurs, the system materials included, with a tint and an intensity, and each offers an Android blur. Both are mature and simple to use.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,AstryxGlassContainerViewUIGlassEffectandUIGlassContainerEffectwell: regular and clear glass, a tint, interactive glass, a container with spacing, and an availability check.Animatedvalue (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).AstryxScrollEdgeViewspec: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
surfaceonButtonandIconButton), 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 fromspec:AST-112(amended), and the shared platform rules fromspec: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
TopNavand the sheets, and dropped the deprecated aliases (the record states only the target API). None remain../testingdoubles, and UI-thread frame checks.Rejected:lines. DEC-6 states its rule and reason in its body (the native views stay internal behind the components).spec:AST-112amendment is cited by FR id in the record and by number only in this description.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
Validation
pnpm check:knowledge(node scripts/check-knowledge.mjson a main-based tree): exit 0, "Knowledge templates and records are aligned."; no error or status warning for this record.--check: the record uses Prettier code style.git diff --check origin/main: clean.pnpm specs:for: not run (no install in this checkout).Follow-up: claims moved from
spec:AST-112FR1 states that no public JavaScript glass or material component exists, moved here from
spec:AST-112FR21 as part of #13029. Current-state impact keeps relying onspec:AST-082DEC-2 as #12801 amends it.