Skip to content

improve(ui): compact Dashboards filters and cards on phones - #190376

Merged
vyctorbrzezowski merged 4 commits into
mainfrom
brzezowski/mobile-dashboards-filters
Nov 2, 2026
Merged

vyctorbrzezowski merged 4 commits into
mainfrom
brzezowski/mobile-dashboards-filters

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

At phone width the Dashboards page spends its first screen on two labeled selects and a count line, so the first card starts at 353px and fewer than two cards fit. Each card also repeats its title in the preview's widget bar, which takes height from the widget itself.

User Impact

On phones, search and a filter button share one row, with Author and Sort in the filter popover and the existing active state on the trigger. The Dashboards: N line is gone. Each card keeps its title and Live status on one row, and author, update time and open arrow on the next. Previews drop the widget title bar and its corner dot, and show more of the widget. A widget that puts a heading in its own HTML, like the example widgets in these images, still shows it: that is the dashboard's content. A tap outside the filter only closes it, instead of also opening the card underneath. The first card starts at 182px and two full cards fit in a 700px viewport. Widths above 560px and the opened dashboard are unchanged.

Why This Change Was Made

Search is the frequent control, and Author and Sort are occasional, so this follows the Automations filter pattern. The preview goes from 205px to 176px, checked against real widget previews. The gallery preview is passive and inert, so its widget bar holds only the title, kind and granted capabilities, with no action. Hiding it gives the widget 38px back; 176px stays because it keeps about half the example chart while two full cards still fit. Rows reuse the existing menu item treatment; each filter group is one tab stop, and arrow keys move its checked option. Above 560px with a mouse, previews keep main's corner dot. Long author names truncate before the update time does. The local dismissal guard also handles mouse clicks; the shared overlay guard handles touch.

Evidence

Mock data layer at 390px with real taps. For these captures the local dashboards mock fixture also returned board.get responses and agent authors, so previews are real widget frames; that fixture change isn't in this PR. This branches from main, so images show today's top bar until the header PR lands.

Before, light After, light
Filter open, dark Filter active, CRT
Long title and author Safari 27 at 390px, desktop pointer

Validation: original-head hosted UI, browser, type and lint checks passed. The final change removes 14 cosmetic assertions and preserves filter results, radio keyboard navigation, outside dismissal, gallery navigation, virtualization and loading stability checks. Independent final code review found no blocking findings; production code is unchanged from the approved version.

@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:feature 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: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 1, 2026
@vyctorbrzezowski
vyctorbrzezowski merged commit 74d2a44 into main Nov 2, 2026
84 of 87 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/mobile-dashboards-filters branch November 2, 2026 14:14
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 3, 2026
…#190376)

Compact phone Dashboard filters and cards while preserving filter state, radio keyboard navigation, gallery links and outside-click dismissal. Remove redundant cosmetic assertions; retain behavioral coverage.

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: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: M 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