Skip to content

Add empty state components, tests, and pricing cards UI - #597

Merged
Tybravo merged 2 commits into
Tybravo:mainfrom
promisszn:claude/empty-state-pricing-ui-xhtx66
Aug 31, 2026
Merged

Add empty state components, tests, and pricing cards UI#597
Tybravo merged 2 commits into
Tybravo:mainfrom
promisszn:claude/empty-state-pricing-ui-xhtx66

Conversation

@promisszn

Copy link
Copy Markdown

Summary

Implements the empty state UI components (search no-results, empty vault), their unit tests, and the pricing tiers card component.

  • SearchNoResults (frontend/components/ui/EmptyStates/SearchNoResults.tsx) — empty state for when a search yields no results, with icon, heading, and contextual message including the query.
  • EmptyVault (frontend/components/ui/EmptyStates/EmptyVault.tsx) — empty state for a user's empty vault/dashboard, with icon, heading, message, and a CTA link.
  • Unit tests (frontend/components/ui/EmptyStates/__tests__/emptystates.test.tsx) — mounts both components with empty data arrays and asserts the empty state is visible, and that it's absent when data is present.
  • PricingCards (frontend/app/pricing/components/PricingCards.tsx) — extracted the pricing tier grid (Free, Personal, Business, Enterprise) from frontend/app/pricing/page.tsx into its own responsive, reusable component.

Test plan

  • npx jest components/ui/EmptyStates — 4/4 tests passing
  • npx tsc --noEmit — no type errors in changed files
  • Ran full test suite — no new failures introduced (7 pre-existing failing suites unrelated to this change: gas-fee, dashboard, registry, certificate, verification steps)

Closes #392
Closes #393
Closes #394
Closes #396

- Add SearchNoResults and EmptyVault components under EmptyStates
- Add unit tests verifying empty states render with empty data arrays
- Extract pricing tier cards into a reusable PricingCards component

Closes Tybravo#392, Tybravo#393, Tybravo#394, Tybravo#396

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DP8eFAUFv7c7RYrBLZWbYp
@drips-wave

drips-wave Bot commented Aug 30, 2026

Copy link
Copy Markdown

@promisszn 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

@promisszn promisszn closed this Aug 30, 2026
@promisszn promisszn reopened this Aug 30, 2026
@Tybravo
Tybravo merged commit e92f0a4 into Tybravo:main Aug 31, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants