Repository navigation
spec(Popover): presentation is popover, bottom-sheet, or adaptive, following the menus (DEC-6) - #8440
Conversation
…aptive follows the menus (DEC-6)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
…he menus' adaptive rule
|
/approve-spec 7d33ddd |
PR Analysis Report
|
There was a problem hiding this comment.
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]
Exact decision needed
Does Popover take
presentation(popover | bottom-sheet | adaptive), and how doesadaptivechoose?Existing authority searched
component:Popover(current): DEC-1 visibility, DEC-2popovertarget, DEC-3 focus; no presentation.spec:AST-094FR13 (current): one touch rule; size-dependent presentations usespec:AST-012FR9 compact andarchitecture:public-component-apiINV17.component:SelectorDEC-1 andcomponent:DropdownMenuAV1: the menus'adaptiveresolves through AST-094 FR13.architecture:public-component-apiINV16 andspec:AST-017FR3, DEC-23:presentationis the restoring input for a touch default.Decision
component:PopoverDEC-6 (Cindy, 2026-10-25, decision #3 (a); "Just follow the menus"):presentation:popover(default, released),bottom-sheet, oradaptive.adaptivechooses exactly as the menus do: AST-094 FR13 (coarse primary pointer and AST-012 FR9 compact, INV17). No Popover-specific rule.presentation="popover"is the INV16 restoring value.Claim scope and non-goals
The presentation prop, its default, and how
adaptivechooses. 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
Scope
Validation
pnpm check:knowledge(CI lint)git diff --check