Repository navigation
EmptyState for IssuesPage and test coverage for DashboardShell, Navbar, Tabs (#274-#277) - #328
Merged
chonilius merged 4 commits intoAug 25, 2026
Conversation
Renders "No bounties yet" with a description when fetchBounties returns an empty array, matching the pattern used on dashboard and milestone pages.
Tests cover onChange callback with correct key, active vs inactive styling (bg-white + shadow-sm for active), and optional count badge rendering logic.
Tests cover loading (nothing rendered), signed-out (Connect GitHub + Sign in buttons), and signed-in (avatar, display name, log-out button) branches, plus conditional Reputation link visibility.
Tests cover role-based nav-item selection for contributor/maintainer/sponsor, active-link highlighting with exact and prefix matching, and the role-switcher section rendering the correct active role.
|
@benfoster-dev is attempting to deploy a commit to the chonilius' projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@benfoster-dev 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.
Fixes #274
Fixes #275
Fixes #276
Fixes #277
What changed
Issue 274 — EmptyState for IssuesPage
EmptyStatecomponent with "No bounties yet" message whenfetchBountiesreturns an empty arrayGitPullRequesticon, matching the pattern on dashboard and milestone pagesIssue 275 — DashboardShell tests (31 tests)
/dashboard/*, prefix match for/issues,/milestonesIssue 276 — Navbar tests
Issue 277 — Tabs tests
bg-white+shadow-smstylingcountis providedHow to test
npm test— all new tests pass (31 total)