Problem
Several dashboard pages use hardcoded mock data instead of fetching from the API:
- Sandboxes page (
frontend/app/(app)/sandboxes/page.tsx): Uses static workspaces array with fake data
- Workspaces page: Similar hardcoded workspace list
What to do
- Replace hardcoded arrays with React Query hooks that fetch from the actual API
- Add proper loading states (Skeleton components)
- Add error handling for failed fetches
- Wire up real-time updates via WebSocket where applicable
The API already has sandbox endpoints (/api/v1/sandbox/*) that return real data.
Difficulty: Medium | Skill: Frontend (React Query, Next.js)
Problem
Several dashboard pages use hardcoded mock data instead of fetching from the API:
frontend/app/(app)/sandboxes/page.tsx): Uses staticworkspacesarray with fake dataWhat to do
The API already has sandbox endpoints (
/api/v1/sandbox/*) that return real data.Difficulty: Medium | Skill: Frontend (React Query, Next.js)