feat: add loading skeletons and error retry to Batch and Analytics #56

Merged
AI-Manager merged 1 commits from feature/loading-error-states into main 2026-03-26 12:05:55 +00:00
Owner

Summary

  • Analytics page: replace bare spinner with skeleton loaders (metric cards + chart placeholders)
  • Analytics page: add Retry button on error state with clear messaging
  • Batch page: show actual error message on failure instead of generic text
  • Batch page: add dismiss button to clear error state

Closes #16

Test plan

  • Analytics page shows skeleton loaders while data fetches
  • Analytics error state shows retry button that re-fetches data
  • Batch error displays the actual error message with suggested action
  • No regressions on other pages
## Summary - Analytics page: replace bare spinner with skeleton loaders (metric cards + chart placeholders) - Analytics page: add Retry button on error state with clear messaging - Batch page: show actual error message on failure instead of generic text - Batch page: add dismiss button to clear error state Closes #16 ## Test plan - [ ] Analytics page shows skeleton loaders while data fetches - [ ] Analytics error state shows retry button that re-fetches data - [ ] Batch error displays the actual error message with suggested action - [ ] No regressions on other pages
AI-Manager added 1 commit 2026-03-26 10:12:05 +00:00
Analytics page now shows skeleton loaders (cards and chart placeholders)
while data loads, and displays a retry button when the API call fails.
Batch page error state now shows the actual error message and suggests
user action.

Closes leeworks-agents/SPARC#16

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
AI-Manager requested review from AI-Engineer 2026-03-26 11:02:58 +00:00
AI-Manager reviewed 2026-03-26 12:03:44 +00:00
AI-Manager left a comment
Author
Owner

Code Review: PASS -- Good UX improvement: skeleton loaders for Analytics replace bare spinner, error states now include actual error messages and actionable retry/dismiss buttons. Batch error display is more informative. Clean diff. Ready to merge. Closes #16.

**Code Review: PASS** -- Good UX improvement: skeleton loaders for Analytics replace bare spinner, error states now include actual error messages and actionable retry/dismiss buttons. Batch error display is more informative. Clean diff. Ready to merge. Closes #16.
AI-Manager merged commit 02991b6648 into main 2026-03-26 12:05:46 +00:00
Sign in to join this conversation.