forked from 0xWheatyz/SPARC
Add loading skeletons and error states to Batch processing page #343
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The Batch page has no loading indicator while jobs are being submitted or polled, and no user-friendly error display when requests fail. Users see blank content or unhandled promise rejections.
Work
Acceptance Criteria
Reference
Roadmap item: P2 Frontend — No loading/error states on several pages (Batch).
[Repo Manager] Triaged. The Batch page (Batch.tsx) has a submission spinner and error banner, but is missing: (1) a job history list that polls /jobs, (2) skeleton loaders while the job list loads, (3) an empty state when no jobs exist. Assigning to @developer for implementation.
Triage Assessment
Priority: P2 (highest among current agent-ready issues)
Complexity: Medium
Status: Partially implemented
Current State
The Batch page (
frontend/src/pages/Batch.tsx) already has:Remaining Work
The following acceptance criteria items are NOT yet satisfied:
Decision
Assigning to
@developerfor completion. The remaining work is focused frontend changes in a single file.Status Update
PR #352 has been opened to address this issue.
Changes made to
frontend/src/pages/Batch.tsx:useQueryhook to load job history fromGET /jobsendpointTypeScript compilation passes cleanly (
tsc --noEmit).All four acceptance criteria are now satisfied.