Repository navigation
improve(ui): compact Dashboards filters and cards on phones - #190376
Merged
Merged
Conversation
Contributor
|
🦞👀 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. |
This was referenced Nov 1, 2026
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: Nline 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
dashboardsmock fixture also returnedboard.getresponses 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.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.