design: empty-state illustration system with accessible SVGs for all surfaces (#1405)#1426
Merged
Jagadeeshftw merged 4 commits intoJun 28, 2026
Conversation
|
@CJay-Cipher is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@CJay-Cipher 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! 🚀 |
…illustration-system
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 a cohesive empty-state illustration system across all empty surfaces in
frontend/src/features/andfrontend/src/shared/components/, replacing unstyled text placeholders with branded SVG spot illustrations aligned with the grainlify gold/warm-neutral palette.Closes #1405
Changes
New files
frontend/src/shared/components/EmptyState/EmptyState.tsx— reusable component with 8 inline SVG illustrations, typed props, dark/light mode support, optional CTA buttonfrontend/src/shared/components/EmptyState/index.ts— barrel exportdesign/specs/empty-state-illustration-system.md— full spec, token reference, QA checklist, integration mapUpdated files
frontend/src/shared/components/index.ts— exportsEmptyStateandEmptyStateVariantfrontend/src/features/dashboard/pages/BrowsePage.tsx— replaces unstyled "No projects found" divfrontend/src/features/dashboard/pages/EcosystemDetailPage.tsx— replaces inline icon + text blockfrontend/src/features/dashboard/pages/OpenSourceWeekPage.tsx— replaces heading + paragraph blockfrontend/src/features/dashboard/pages/ProfilePage.tsx— replaces contributions empty state, fixes off-brand gray color tokensfrontend/src/features/leaderboard/pages/LeaderboardPage.tsx— replaces both contributors and projects empty statesfrontend/src/features/notifications/NotificationsPage.tsx— replaces Bell icon + text block, preserves filter-aware copy and CTAfrontend/src/features/settings/components/billing/InvoicesTab.tsx— replaces FileText icon + text blockfrontend/src/features/settings/components/payout/PayoutTab.tsx— replaces Info icon + text blockScreenshots
Illustrations delivered
no-results-searchno-bountiesno-contributionsno-notificationsno-leaderboardno-programsno-payout-historyno-ecosystemsAccessibility
role="img"and a descriptive<title>linked viaaria-labelledby<figcaption class="sr-only">provides text-only fallback for reduced-data and print contextsrole="status"andaria-labelmin-h-[44px]touch target#f1b400dark /#a2792clight) perdesign/dark-mode-spec.mdprefers-reduced-motionQA checklist
prefers-reduced-motion— no animation artefacts<title>present in DOMSecurity
dangerouslySetInnerHTMLonCtahandler is caller-supplied, not executed at mount