Skip to content

spec(Popover): presentation is popover, bottom-sheet, or adaptive, following the menus (DEC-6) - #8440

Merged
cixzhang merged 2 commits into
mainfrom
spec/popover-presentation
Oct 25, 2026
Merged

cixzhang merged 2 commits into
mainfrom
spec/popover-presentation

Conversation

@cixzhang

@cixzhang cixzhang commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Exact decision needed

Does Popover take presentation (popover | bottom-sheet | adaptive), and how does adaptive choose?

Existing authority searched

  • component:Popover (current): DEC-1 visibility, DEC-2 popover target, DEC-3 focus; no presentation.
  • spec:AST-094 FR13 (current): one touch rule; size-dependent presentations use spec:AST-012 FR9 compact and architecture:public-component-api INV17.
  • component:Selector DEC-1 and component:DropdownMenu AV1: the menus' adaptive resolves through AST-094 FR13.
  • architecture:public-component-api INV16 and spec:AST-017 FR3, DEC-23: presentation is the restoring input for a touch default.
  • Search terms: presentation, adaptive, compact touch, bottom-sheet.

Decision

component:Popover DEC-6 (Cindy, 2026-10-25, decision #3 (a); "Just follow the menus"):

Claim scope and non-goals

The presentation prop, its default, and how adaptive chooses. How the sheet is labeled, sized, dismissed, and loaded is #8229's, for a later decision. The sheet's element budget is outside this PR (the proposed layer rule, #8439, is pending); the implementation and tests are #8229's.

Writing rubric results

  • R1 narration: none.
  • R2 research in the record: none.
  • R3 evidence naming a change: none.
  • R4 rejected alternatives over one line or outside a decision: none.
  • R5 pull request or issue references remaining: none.
  • R6 ruled open questions still listing options: none.

Scope

  • 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 and artifacts contain no internal Meta context.

Validation

  • pnpm check:knowledge (CI lint)
  • Prettier
  • git diff --check

@vercel

vercel Bot commented Oct 25, 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 Oct 25, 2026 6:46pm UTC

Request Review

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

astracat-bot Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Oct 25, 2026, 7:12 PM UTC

@github-actions github-actions Bot added the spec-auto-merge Auto-merge was enabled by the spec owner gate label Oct 25, 2026
@github-actions github-actions Bot removed the spec-auto-merge Auto-merge was enabled by the spec owner gate label Oct 25, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 7d33ddd

@github-actions github-actions Bot added needs:spec-owner-review Current knowledge records await owner approval spec-auto-merge Auto-merge was enabled by the spec owner gate and removed needs:spec-owner-review Current knowledge records await owner approval labels Oct 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

Previews ready: Storybook and Sandbox were built with this PR's docsite. CI evidence will be added when available.

View Storybook for this PR · View Sandbox for this PR

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

This spec change looks ready to merge. DEC-6 gives Popover presentation (popover by default, bottom-sheet or adaptive) with the same adaptive rule as the menus, an engineering owner has approved this exact head, and the change agrees with the current touch-presentation, compact-screen and public-API records. For the follow-up sheet decision and its implementation, please define what names the sheet's dialog, what the trigger reports, where focus enters and returns, and how dismissal maps, and replace the record's "Open questions: None"; the implementation should also resolve adaptive through the shared FR9 compact definition rather than today's (max-width: 768px) query, and either meet the open-layer element budget or record an owner exception.

[Automated review]

@cixzhang
cixzhang merged commit 17fead7 into main Oct 25, 2026
54 checks passed
@github-actions
github-actions Bot deleted the spec/popover-presentation branch October 26, 2026 06:31

This branch was successfully deployed

1 active deployment
Preview — 7d33dddf Deployed Oct 25, 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. spec-auto-merge Auto-merge was enabled by the spec owner gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant