Repository navigation
improve(ui): keep Channels refresh and setup on their rows on phones - #190381
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 keeps Channels refresh and setup controls beside their headings and channel descriptions on phone screens. Example: Open Settings > Channels at 390 px with Slack available.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this focused, maintainer-backed mobile improvement has one diff-caused CSS budget failure to repair. Priority: P3 Before merge
Findings
Agent review detailsHow this fits togetherThe Channels renderer presents Gateway channel snapshots and setup actions using shared Settings components; its stylesheet controls their responsive layout. flowchart TD
A[Gateway channel snapshots] --> B[Channels page]
B --> C[Shared Settings components]
B --> D[Refresh and setup controls]
C --> E[Channels responsive stylesheet]
D --> E
E --> F[Phone layout]
Technical reviewBest possible solution: Keep the scoped mobile layout while simplifying Channels CSS enough to satisfy the unchanged asset budget. Do we have a high-confidence way to reproduce the issue? The shared phone styles explain the stacked controls, and the supplied before screenshot shows them at 390 px; no target code was executed during review. Is this the best way to solve the issue? The existing renderer and stylesheet are the right owners, and every hunk serves the compact phone layout, but the added CSS must fit the existing performance gate. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7c26e8cccd19. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +27. Total +27 across 2 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 1, 2026, 9:16 AM ET / 14:16 UTC. |
…penclaw#190381) Keep Channels refresh and setup controls on their rows at phone width. Preserve existing actions, state and desktop layout. Maintainer-authorized landing with the performance-budget exception and without waiting for remaining checks.
What Problem This Solves
At phone width, Settings > Channels gives Refresh a whole row of its own above the connected channels, and it renders as a narrow 28 by 44 px button. In Add a channel, each Set up button drops to its own line under the description, adding about 40 px per channel.
User Impact
On a phone, the first connected channel moves up 27 px and the Add a channel list is about 30% shorter, so more channels fit on a screen. Refresh shares the section label's row, and Set up sits beside its channel. Desktop does not change.
Why This Change Was Made
Connected rows already keep their status at the right of the row, so available rows now do the same with Set up. Below 640 px, only the Channels section header and available channel rows change. No action, state or copy changes.
Evidence
Mock data at 390 px. Page PRs branch from main, so these images show today's top bar until the header PR lands.
Local checks pass: oxfmt, stylelint,
src/pages/channelsunit tests.ui:check-performance:basereports the total CSS budget, which main already exceeds.