Skip to content

Dashboards gallery: Display menu with list view, ordering and grouping - #194455

Merged
vyctorbrzezowski merged 14 commits into
mainfrom
brzezowski/dashboards-display
Nov 9, 2026
Merged

vyctorbrzezowski merged 14 commits into
mainfrom
brzezowski/dashboards-display

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The gallery only has one layout and one ordering control; there is no list view and no way to group dashboards.

User Impact

A Display button joins search and the author filter in the page header. It opens Grid / List, Ordering (Recently updated, Title A–Z) and Grouping (none, last updated, author). In list view each dashboard is a row with a small preview, the same fading title that scrolls on hover, the run spinner right after the title, the author, and "Updated …" on the right. The Sort select goes away. On phone, where the topbar already has the app-wide search (command palette), page search is a compact field on the actions row, with filter and Display to its right. The choice is remembered per browser in the existing Control UI settings record, next to the other device-local view preferences.

Why This Change Was Made

Approved gallery redesign, Display part. Grouping uses the session's last update (Today, This week, Earlier) and the same author as the card; no new data.

Follows #194444 and #194450, both merged. This PR targets main and contains the Display layer.

Evidence

Mock Gateway capture, same data on both sides.

Scenario Before After
Gallery · grid · desktop 1440 · light
State Screenshot
Display menu · desktop 1440 · light
List · long titles · desktop 1440 · light
List · grouped by author · desktop 1440 · dark
List · phone 390 · light
Grid · phone 390 · dark
Search open · list · phone 390 · light

Validation

Inspected loading before/after and focused validation: six bundled browser cases, UI-pages typecheck, scoped lint, and independent high review. Grid, list, and grouped views retain bounded rendering and keyboard access across 1,000 results.

The exact 152-line test allocation covers Display persistence and the concrete loading, layout-toggle, and virtualization regressions; the shared test-line scalar is unchanged.

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

clawsweeper Bot commented Nov 7, 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. 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 7, 2026
@clawsweeper

clawsweeper Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

Adds remembered grid/list layouts, ordering, and author or update-time grouping to the dashboard gallery.

Example: Browse 18 dashboards and choose Display → List → Grouping → Author.

  • Before: Dashboards appear only as preview cards without grouping.
  • After: Dashboards appear as compact rows under author headings, and the selection survives reload.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Useful visual evidence supports the feature, but the retained responsive defect and incomplete persistence compatibility proof prevent readiness.
Proof confidence 🦐 gold shrimp (3/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🦪 silver shellfish (2/6) 1 actionable review finding remain.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Users cannot browse dashboards as compact rows or organize them into author and update-time groups.
Reason: The maintainer-authored direction adds useful browsing choices while preserving the existing default and canonical data sources.

Merge readiness

⛔ Blocked before merge - 2 items remain

Keep this maintainer-authored PR open: the Display feature is useful, but the prior narrow-gallery layout defect remains; the import-cycle finding is fixed.

Priority: P2
Reviewed head: 53e4c266fbae32b2bdee5aa7ca2c2ac1c02371a3

Before merge

  • Adapt list columns to the available gallery width (P2) - The previous finding remains unresolved. At a 920px browser viewport with the supported 400px sidebar and 52px rail, content padding leaves 428px for the gallery. These fixed columns and gaps require 474px before any title space, so the title track collapses and trailing metadata overflows into horizontal clipping. The compact row rules activate only below a 560px viewport. Make metadata columns shrink or switch layouts according to available gallery width.
  • Add data-model compatibility proof - The review found that existing stored data may not work after upgrade. Show that existing data still loads and works with this change.

Findings

  • [P2] Adapt list columns to the available gallery width — ui/src/styles/dashboards.css:335-338

Tests

  • Missing end-to-end proof: Latest-stable settings-upgrade evidence and a base-red/head-green narrow-gallery regression are not supplied.
Agent review details

How this fits together

The Control UI gallery consumes session-list rows and browser-local display preferences, then renders searchable dashboard links and passive previews.

flowchart TD
  A[Gateway session list] --> B[Dashboard page]
  C[Browser settings] --> B
  D[Display menu] --> B
  D --> C
  B --> E[Filtering and grouping]
  E --> F[Gallery virtualizer]
  F --> G[Dashboard entries and previews]
Loading

Technical review

Best possible solution:

Retain the existing settings and virtualizer owners while making list columns adapt to the gallery's available width.

Do we have a high-confidence way to reproduce the issue?

Source establishes the remaining defect at a 920px viewport with a 400px sidebar: 428px of gallery width cannot contain the list's 474px fixed minimum; no target code was executed.

Is this the best way to solve the issue?

The feature appropriately extends existing presentation, persistence, and virtualization owners, but its responsive rules must follow available gallery width.

Full review comments:

  • [P2] Adapt list columns to the available gallery width — ui/src/styles/dashboards.css:335-338
    The previous finding remains unresolved. At a 920px browser viewport with the supported 400px sidebar and 52px rail, content padding leaves 428px for the gallery. These fixed columns and gaps require 474px before any title space, so the title track collapses and trailing metadata overflows into horizontal clipping. The compact row rules activate only below a 560px viewport. Make metadata columns shrink or switch layouts according to available gallery width.
    Confidence: 0.98

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 75762bb89678.

Provenance checked

  • Gallery rendering and keyboard virtualization keeps the original intent (e4749ab: Bound mounted cards while preserving full-collection filtering, native links, and keyboard access.)
  • Card presentation and navigation keeps the original intent (2e73417: Use framed previews, fading titles, run indicators, and compact author/update metadata.)
  • Sort control and phone search changes intended behavior with a stated reason (832bbf9: Provide compact search and multi-author filtering while retaining a separate sort selector.)
  • Page-local filter state keeps the original intent (f027af4: Use Solid's native store for local presentation filters while preserving partial updates.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test:ui:e2e ui/src/e2e/dashboard-gallery.e2e.test.ts
  • pnpm exec stylelint --config config/stylelint.config.mjs ui/src/styles/dashboards.css
  • pnpm tsgo:ui
  • git diff --check

What I checked:

Likely related people:

  • Patrick Erichsen: Raw commit 12d6388 adds ui/src/styles/dashboards.css:21 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 12d6388d3ebb; files: ui/src/styles/dashboards.css)

PR surface

Source +640, Tests +152, Other +3. Total +795 across 18 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 12 957 317 +640
Tests 4 207 55 +152
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 4 1 +3
Total 18 1168 373 +795

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Persisted display preference 1 optional record with 3 choices View, ordering, and grouping reuse the existing browser settings owner without adding a separate store or changing the default gallery.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a useful gallery improvement with a reproducible source-level layout defect affecting supported narrow desktop configurations.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

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.

History

Review history (2 earlier review cycles)
  • reviewed 2026-11-07T04:37:01.304Z sha c7e1223 :: blocked before merge. :: [P2] Preserve bounded rendering in grouped and list galleries | [P2] Remove the new entry-to-view import cycle | [P2] Match the loading placeholder to the saved list layout | [P2] Update the sorting consumer to open the Display menu | [P2] Keep the added shared assets within the enforced budgets | [P3] Use the shared action cursor for layout buttons
  • reviewed 2026-11-09T11:19:20.687Z sha 6b98f76 :: blocked before merge. :: [P2] Move the shared route type out of the view dependency cycle | [P2] Adapt list columns to the available gallery width

Reviewed November 9, 2026, 6:30 AM ET / 11:30 UTC (Revision 3).

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as draft November 7, 2026 05:17
@vyctorbrzezowski
vyctorbrzezowski changed the base branch from brzezowski/dashboards-card to brzezowski/dashboards-filter November 7, 2026 05:22
@clawsweeper clawsweeper Bot removed 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. labels Nov 7, 2026
vyctorbrzezowski and others added 4 commits November 9, 2026 03:27
Retain the approved search and multi-author filter, preserve keyboard focus while selected authors reorder, and reserve the loaded header and card geometry during loading. Use the existing native Popover touch-dismissal contract.

Migrate existing route, scope, browser, and performance scenarios to the new controls. Test-line allocation: 19 lines for those existing-flow migrations and the reproduced keyboard-focus regression; no new test suites.
Integrate the validated filter candidate without changing the approved Display design. Keep the always-visible phone search grid stable during loading and use the shared action cursor.

Migrate existing scope, route, performance and browser scenarios to Display. Verify list, author grouping and title ordering survive reload. Test-line allocation: 32 lines for these existing-flow migrations, preference isolation and persistence checks; no new test suites.
Base automatically changed from brzezowski/dashboards-filter to main November 9, 2026 10:56
Extend the existing gallery Virtualizer across grouped grid and list modes,
preserving headings, row identity, and keyboard neighbors. Match the loading
placeholder to the saved list view and update entry content reactively when
the layout changes.

Retain the useful gallery proof and add the concrete missing regressions:
large grouped/list collections, keyboard and middle/end scrolling, layout
switches without regrouping, and saved-list loading geometry. The Display
change allocates exactly 152 test lines, including its existing persistence
coverage; the shared test-line scalar remains unchanged.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 10, 2026
openclaw#194455)

Add the Dashboard Display menu for grid/list, sorting and grouping. Preserve bounded rendering across all modes, keyboard access across group boundaries, and stable saved-list loading.

The 152-line allocation extends existing gallery coverage for rendering bounds, mode switches, focus and loading stability without a new suite or shared scalar change.

Co-authored-by: Vyctor H. Brzezowski <[email protected]>
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 clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: XL 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