Repository navigation
Dashboards gallery: Display menu with list view, ordering and grouping - #194455
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: blocked before merge. What this changesAdds 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.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete 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 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe 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]
Technical reviewBest 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:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 75762bb89678. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +640, Tests +152, Other +3. Total +795 across 18 files. Added test files: 0. View PR surface stats
Preflight sourceSource 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
LabelsLabel changes: No label 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 HistoryReview history (2 earlier review cycles)
Reviewed November 9, 2026, 6:30 AM ET / 11:30 UTC (Revision 3). |
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.
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.
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]>
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.
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.