Skip to content

feat(dashboard): descriptive empty-state view for the job list - #350

Open
otsimaofficial wants to merge 1 commit into
Goldii-locks:mainfrom
otsimaofficial:feat/loading-skeleton-empty-state-276
Open

feat(dashboard): descriptive empty-state view for the job list#350
otsimaofficial wants to merge 1 commit into
Goldii-locks:mainfrom
otsimaofficial:feat/loading-skeleton-empty-state-276

Conversation

@otsimaofficial

Copy link
Copy Markdown

Problem & Goal

The dashboard's job list fell back to a single bare line of gray text ("No jobs found for this wallet") when a wallet had zero jobs — no icon, no guidance on what to do next.

Changes

  • New reusable app/components/EmptyState.tsx (icon + heading + supporting description, animate-fade-in on mount).
  • Wired into app/dashboard/page.tsx's zero-jobs branch (the empty counterpart to the LoadingSkeleton shown while that same list is loading), with copy that nudges the user to create a job.

Testing

  • New __tests__/empty-state.test.tsx (5 tests) covers the component in isolation (title/description, default vs custom icon, decorative icon hidden from assistive tech, fade-in class).
  • New __tests__/dashboard-empty-state.test.tsx (4 tests) covers it wired into the dashboard: renders on zero jobs, shows the right copy, disappears once jobs exist, stays hidden when no wallet is connected.
  • Existing __tests__/dashboard-empty-transition.test.tsx still passes unchanged.
  • npx tsc --noEmit and npm run build pass locally.

Note: npm run lint currently fails on this repo's main due to a pre-existing, unrelated react-hooks/set-state-in-effect error in SignatureTimeoutAlert.tsx (visible on the last several merged PRs' CI runs). That's fixed independently in a separate PR and isn't touched here.

Closes #276

🤖 Generated with Claude Code

Replace the bare "No jobs found" line with a reusable EmptyState
component (icon, heading, supporting copy) shown once loading
finishes with zero jobs for the connected wallet.

Closes Goldii-locks#276
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@otsimaofficial Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Design empty list display views for loading_spinner_skeleton

1 participant