Repository navigation
fix(ui): center the content-sized mobile permissions menu - #194126
Conversation
…gger Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: vincentkoc <[email protected]>
…ith gaps between rows Worked on by: - @vincentkoc - @vyctorbrzezowski Co-authored-by: vincentkoc <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 73b36937-a89c-4996-a729-6c3f2d31ee9a
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesThis PR explicitly aligns the permissions popover above its trigger to prevent stretching and widely spaced rows. Example: Open permissions at 393×720 with the documented stretch emulation.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this maintainer-authored PR open: the CSS repair is focused, but its added regression causes the test-line budget gate to fail. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI composer renders permission choices through the shared native Menu overlay; composer CSS controls panel geometry, while selection continues through the existing sessions.patch path. flowchart TD
A[Composer permission trigger] --> B[Shared Menu overlay]
B --> C[Native anchor positioning]
D[Composer permission styles] --> C
C --> E[Permission choices]
E --> F[Existing session permission owner]
Technical reviewBest possible solution: Retain the single-declaration repair and focused browser regression, with an exact allocation for its justified test growth. Do we have a high-confidence way to reproduce the issue? The original device failure has no high-confidence reproduction: the affected Safari version is unknown, and the PR reports that current WebKit requires injected styles to reproduce it. Is this the best way to solve the issue? Explicit alignment in the existing panel rule is the smallest plausible repair for the demonstrated stretch condition, preserving shared overlay ownership and permission semantics. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 03c7efa66c06. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource +3, Tests +65. Total +68 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 6, 2026, 8:05 AM ET / 13:05 UTC. |
Replace forced-style Safari emulation with natural mobile centering, tight-row, selection and keyboard coverage. Co-authored-by: vincentkoc <[email protected]>
Retain existing permission interaction owners and the inspected visual proof without adding a repeated browser case for placement polish. Co-authored-by: vincentkoc <[email protected]>
|
Merged via squash auto-merge.
|
…94126) Center the mobile permissions picker in the viewport while preserving compact rows and desktop placement. Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: Vyctor H. Brzezowski <[email protected]>
The mobile permissions menu now centers in the viewport while keeping its content-sized panel, tight rows, and position above the permission trigger. Desktop placement and selection/focus behavior are unchanged.
Validation: inspected natural-flow captures at 320/390px and desktop; existing permission interaction coverage retained; focused format, lint, type and test-line checks pass. Selection, focus return, and keyboard shortcuts were verified through the actual controls.
The original unknown-version Safari stretching report remains unconfirmed. These captures do not claim to reproduce it; no real iPhone/iOS Safari proof is available.
Human credit: vincentkoc and vyctorbrzezowski.