You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DashboardShell has no test file, so its role-based nav-item selection and active-link highlighting (including a known exact-match bug) have zero regression coverage #275
src/components/dashboard/DashboardShell.tsx contains two pieces of non-trivial logic
with real, user-visible consequences and no test coverage at all — there is no DashboardShell.test.tsx anywhere in the repo:
navByRole[role] — the lookup that decides which four nav items render for contributor/maintainer/sponsor. Nothing asserts that each role gets the correct
set of items, or that changing role actually swaps the rendered nav.
const active = pathname === item.href — the exact-match active-state check (see the
related "active-nav-item highlighting uses exact pathname equality" bug, which a test
suite for this component would have been well-positioned to catch or, once fixed, guard
against regressing).
DashboardShell wraps every single dashboard route in the app (/dashboard/contributor, /dashboard/maintainer, /dashboard/sponsor), so this untested logic runs on every
dashboard page load for every role.
Suggested fix: add DashboardShell.test.tsx covering each role's nav-item set and the
active/inactive styling for a few representative pathname values, including a nested
route to pin down the exact-match behavior either way.
@Akeem0604 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
Hello Team I'd love to be assigned this issue. As a backend developer, I have experience across many frameworks, and I'm confident I'll be able to resolve this. Looking forward to it.
Thanks
Congratulations, @benfoster-dev! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @benfoster-dev: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
😎 @benfoster-dev: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.
Activity
doctorlight0 commentedon Aug 25, 2026
@doctorlight0 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @doctorlight0 to this issue.
Akeem0604 commentedon Aug 25, 2026
@Akeem0604 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Akeem0604 to this issue.
benfoster-dev commentedon Aug 25, 2026
@benfoster-dev has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @benfoster-dev to this issue.
drips-wave commentedon Aug 25, 2026
Congratulations, @benfoster-dev! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @benfoster-dev: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
Add DashboardShell test coverage (#275)
drips-wave commentedon Aug 25, 2026
This issue has been completed by @benfoster-dev as part of the Stellar Wave Program's 8th Wave 🥳
😎 @benfoster-dev: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.