Repository navigation
fix: keep empty dashboard previews inside gallery cards - #183298
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: needs changes before merge. What this changesThis PR fits empty dashboard messages inside gallery previews and softens gallery borders and shadows. Example: View an empty dashboard card at a 1280px viewport in Dash dark mode.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this useful, maintainer-authored PR open; the visual fix is supported, but its CSS growth fails the required performance gate. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI gallery turns dashboard session rows and board snapshots into linked cards containing passive board previews. flowchart LR
A[Gateway session inventory] --> B[Dashboard gallery]
B --> C[Gallery card]
D[Board snapshot] --> E[Passive board document]
E --> C
F[Gallery CSS] --> C
Technical reviewBest possible solution: Retain the gallery-scoped height repair while simplifying its CSS enough to satisfy the existing performance budget. Do we have a high-confidence way to reproduce the issue? The full-page empty state has a 260px minimum height inside a clipped 16:9 preview; inspected before images show the resulting truncation, and the PR reports a failing-base browser regression. Is this the best way to solve the issue? The existing gallery stylesheet is the appropriate owner for thumbnail sizing, and the change preserves full-dashboard and passive-preview contracts. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e8b251188f50. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +15, Tests +158. Total +173 across 2 files. Added test files: 0. View PR surface stats
LabelsLabel 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 Reviewed October 25, 2026, 1:55 AM ET / 05:55 UTC. |
Summary
Empty dashboard previews inherited the full-page minimum height and clipped their hint. Scope their height and padding to the thumbnail so the message fits on desktop and narrow screens, and simplify resting card frames.
Visual comparison
Before:
mainat387c3bf3f12e890b422f54dc8208edbe8945c575. After: this PR alone at21e851e0575e360b60394fbff6dad91ea5c9322a. Captured on 2026-10-25 from each clean source checkout with identical synthetic Gateway data, viewport (1280 × 900), scale (2×), and Claw light/dark. No other PR is applied.The same populated and empty dashboard previews are shown on both sides. The empty-preview hint is clipped on main and fits in the PR; the surrounding card and avatar contours are quieter.
Validation
Independent source review completed. Browser evidence uses synthetic Gateway data and the real Control UI; it does not exercise a live model. Exact-head CI results are available in Checks.