Repository navigation
improve(ui): rebuild the channel setup dialog on one dialog layout - #191385
Conversation
|
🦞👀 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 gives channel setup a shared dialog layout with a fixed header, reachable actions, a close button, and updated option and QR styling. Example: Open Slack setup’s long manifest step at a 390-pixel viewport.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this maintainer-authored PR fixes a demonstrated mobile setup usability problem, but introduces a keyboard-focus accessibility regression. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI renders Gateway wizard steps and submits answers through the existing channel wizard host; this PR changes their presentation without changing the setup protocol. flowchart TD
A[Channels settings] --> B[Native modal dialog]
B --> C[Wizard step controls]
C --> D[Channel wizard host]
D --> E[Gateway wizard protocol]
E --> F[Shared channel setup flow]
E --> C
Technical reviewBest possible solution: Keep the shared dialog layout and restore forced-colors focus outlines for its close button and multiselect options. Do we have a high-confidence way to reproduce the issue? Current-main source and supplied before screenshots establish whole-dialog scrolling; source inspection also establishes the introduced shadow-only focus path, without executing target code. Is this the best way to solve the issue? The simplification review found no unnecessary state or wrappers, and the change preserves native forms and the existing wizard lifecycle. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7fd2b43e6036. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +73, Tests +2. Total +75 across 5 files. Added test files: 0. View PR surface stats
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 2, 2026, 1:48 PM ET / 18:48 UTC. |
…penclaw#191385) Give picker steps in setup a Continue button, including preselected choices, and use the shared dialog layout. The existing Telegram setup E2E now confirms the account selection through Continue while preserving request, busy-state, and final answer assertions. Shared dialog integration retains header actions and existing channel close/save behavior. Validation: 19 wizard tests, the previously failing Telegram setup E2E, and UI typecheck passed. Full CI remains pending under the authorized batch landing policy.
What Problem This Solves
On a long channel setup step the whole dialog scrolled, so Continue sat about 1,000 px below the fold on a phone and the title went away with the content. There was no close button: leaving meant Escape, or a Cancel that only some steps had. A large tile took a quarter of the header, and multi-select options used text checkbox glyphs.
Why This Change Was Made
.oc-dialoglayout as Pair device and Connect provider. The title and close stay put, the step scrolls, and its actions stay at the bottom edge.User Impact
Continue is always reachable on long setup steps, closing works the same on every step, and the dialog matches the rest of Settings. No step or capability changes.
Evidence
Real clicks through Slack setup on a real local Gateway with isolated state and no credentials. Land after Pair device #191337 and Connect provider #191367. All three carry the same
.oc-dialogblock, so the rebase is clean.Absolutely dark, 1440:
CRT light, 390:
Checks on the branch: oxfmt, stylelint, oxlint,
tsgo:ui,ui:check-performance:base,pages/channelsand wizard control unit tests (153), and channel e2e files (13) pass. The WhatsApp QR step needs a real link session, so it wasn't reached in a browser here; its size and frame come from CSS only.A step with a preselected choice had no visible way forward: you had to open the select and tap the current option. Picker steps now have Continue, and choosing only moves the selection. Real Slack setup on the Gateway, walked by pressing Continue only: