Add empty state components, tests, and pricing cards UI - #597
Merged
Tybravo merged 2 commits intoAug 31, 2026
Conversation
- 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
|
@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! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the empty state UI components (search no-results, empty vault), their unit tests, and the pricing tiers card component.
frontend/components/ui/EmptyStates/SearchNoResults.tsx) — empty state for when a search yields no results, with icon, heading, and contextual message including the query.frontend/components/ui/EmptyStates/EmptyVault.tsx) — empty state for a user's empty vault/dashboard, with icon, heading, message, and a CTA link.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.frontend/app/pricing/components/PricingCards.tsx) — extracted the pricing tier grid (Free, Personal, Business, Enterprise) fromfrontend/app/pricing/page.tsxinto its own responsive, reusable component.Test plan
npx jest components/ui/EmptyStates— 4/4 tests passingnpx tsc --noEmit— no type errors in changed filesCloses #392
Closes #393
Closes #394
Closes #396