Repository navigation
fix(ui): preview dashboard gallery while loading - #148652
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 maintainer review before merge. Reviewed September 14, 2026, 8:39 PM ET / September 15, 2026, 00:39 UTC. ClawSweeper reviewWhat this changesThe Dashboards page replaces its plain loading card with responsive toolbar and gallery placeholders, with focused coverage for loading-to-result transitions. Merge readiness✅ Ready for maintainer review Keep open: this is a focused, visually demonstrated improvement that current main does not provide. No actionable correctness or security defects were found, and the maintainer label protects it from automatic closure. Priority: P3 Review scores
Verification
How this fits togetherThe Control UI Dashboards page receives dashboard session results from the shared session store. Its view displays loading feedback until those results resolve into cards, an empty state, or an error. flowchart TD
A[Open Dashboards] --> B[Shared session request]
B --> C{Results available?}
C -->|Pending| D[Gallery placeholders]
C -->|Success| E[Dashboard cards or empty state]
C -->|Failure| F[Error message]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +67, Tests +50. Total +117 across 3 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep loading presentation in the dashboard view, reusing shared skeleton styles and the existing session-state lifecycle. Do we have a high-confidence way to reproduce the issue? Not applicable as a correctness bug: this is loading-state polish, and current-main source plus the before screenshots establish the existing plain-card presentation. Is this the best way to solve the issue? Yes: the patch changes the existing view at its pending-state branch and reuses shared animation and gallery geometry without introducing another data owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9c8de0d92894. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
What Problem This Solves
The Dashboards page shows a mostly blank loading card while its gallery request is pending.
User Impact
Users now see a responsive preview of the gallery toolbar and cards while dashboards load, with an accessible loading status and reduced-motion support.
Why This Change Was Made
The loading view reuses the shared skeleton animation and existing gallery geometry. Loaded cards, filters, navigation, and empty/error states keep their existing behavior.
Evidence
Captured through the real Control UI route with a held mock Gateway request and synthetic data. Before:
7425f0a29761d8714dda877864b887ca87730903; after:d0f887ae54d6b507a60ab759104573b9de41a3a7. Both use dark theme and matching viewports.Tablet and resolved gallery
pnpm ui:buildpasses. Fresh Codex review reports no actionable P0–P2 findings.Validation commands