Skip to content

improve(ui): keep Channels refresh and setup on their rows on phones - #190381

Merged
vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/mobile-channels
Nov 2, 2026
Merged

vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/mobile-channels

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

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.

Before, Absolutely light After, Absolutely light After, Absolutely dark
After, CRT Real Safari, After

Local checks pass: oxfmt, stylelint, src/pages/channels unit tests. ui:check-performance:base reports the total CSS budget, which main already exceeds.

@vyctorbrzezowski vyctorbrzezowski self-assigned this Nov 1, 2026
@clawsweeper

clawsweeper Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 1, 2026
@clawsweeper

clawsweeper Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

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

  • Before: Refresh occupies a separate row, and Slack’s Set up button sits below its description.
  • After: Refresh shares the heading row, and Slack’s Set up button sits beside its description.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Direct visual evidence supports the intended improvement, but a verified diff-caused asset-budget failure remains.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected browser screenshots of the Channels page with mock data at 390 px show the before/after refresh alignment and inline setup controls, with after captures in light, dark, and CRT themes.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Phone users scroll through avoidable space because refresh and setup controls occupy separate rows.
Reason: The maintainer-authored direction is approved, the screenshots demonstrate the benefit, and the change preserves existing actions without adding state or configuration.

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
Reviewed head: a9fe1830b26f364f914fcb1a360fcb20e19ea31b

Before merge

  • Fit the mobile rules within the existing CSS budget (P2) - The added stylesheet block causes the reviewed-head control-ui-performance gate to fail: total CSS gzip grows from 309657 B on the comparison base to 309753 B, exceeding the permitted 64 B build variance, and raw CSS also fails. Although the base already exceeds its absolute cap, this additional growth is attributable to the PR. Reduce the CSS footprint while preserving the phone layout so the existing gate can pass.

Findings

  • [P2] Fit the mobile rules within the existing CSS budget — ui/src/styles/channels.css:385-390
Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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:

  • [P2] Fit the mobile rules within the existing CSS budget — ui/src/styles/channels.css:385-390
    The added stylesheet block causes the reviewed-head control-ui-performance gate to fail: total CSS gzip grows from 309657 B on the comparison base to 309753 B, exceeding the permitted 64 B build variance, and raw CSS also fails. Although the base already exceeds its absolute cap, this additional growth is attributable to the PR. Reduce the CSS footprint while preserving the phone layout so the existing gate can pass.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 7c26e8cccd19.

Provenance checked

  • Shared accessible refresh renderer keeps the original intent (fix(ui): declutter Channels refresh controls #131367: Consolidate compact refresh controls while preserving accessible labels, timestamp tooltips, and permission/loading behavior; the Solid migration retained that contract.)
  • Mobile Settings header and available-channel row layout changes intended behavior with a stated reason (fix(ui): align model provider refresh status #136609: Shared mobile headers deliberately retained stacked, right-aligned actions; this PR explains why Channels should keep its compact refresh and setup controls beside their content.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm ui:check-performance:base c719f85
  • pnpm lint:ui:styles
  • pnpm --dir ui test src/pages/channels
  • Inspect the Channels page at 390 px and above 640 px to confirm inline phone controls and preserved desktop layout.

What I checked:

Likely related people:

  • Patrick Erichsen: Raw commit 37a5c5b adds ui/src/styles/channels.css:5 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 37a5c5bd3d88; files: ui/src/styles/channels.css)
  • Vyctor H. Brzezowski: Raw commit 7eb8696 adds ui/src/styles/channels.css:118 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 7eb8696d22cb; files: ui/src/styles/channels.css)

PR surface

Source +27. Total +27 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 2 28 1 +27
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 28 1 +27

Labels

Label changes:

  • add P3: This is a low-risk mobile layout improvement; existing refresh and setup actions remain available.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P3: This is a low-risk mobile layout improvement; existing refresh and setup actions remain available.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 1, 2026, 9:16 AM ET / 14:16 UTC.

@vyctorbrzezowski
vyctorbrzezowski merged commit 5bc4e36 into main Nov 2, 2026
106 of 109 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/mobile-channels branch November 2, 2026 14:14
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 3, 2026
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant