Skip to content

ContributorDashboardPage's Active/Completed tab selection isn't reflected in the URL, so refreshing or sharing a link always resets to the Active tab #260

Closed

Description

@chonilius

src/app/dashboard/contributor/page.tsx#ContributorDashboardPage tracks the claims-list
tab purely as local component state:

const [tab, setTab] = useState<"active" | "completed">("active");
...
<Tabs tabs={[...]} active={tab} onChange={setTab} />

There's no synchronization with the URL (no ?tab=completed search param, no route
segment). A contributor who switches to "Completed" to review their paid-out bounties,
then refreshes the page (or copies the URL to reference later, or opens the dashboard in
a new tab from a bookmark), always lands back on "Active" — the tab selection is
invisible to anything outside the current render, including the browser's own back/forward
navigation and any link the user might try to share pointing at their completed work.

Suggested fix: sync tab with a URL search param via useSearchParams/router.replace
(shallow, no full navigation), so the selected tab survives a refresh and can be linked
to directly — e.g. /dashboard/contributor?tab=completed.

Activity

  1. added
    enhancement
    good first issue
    help wanted
    bug
    on Aug 21, 2026
  2. added
    Stellar Wave
    on Aug 25, 2026
  3. NEA-DEV-coder commented on Aug 25, 2026

    @NEA-DEV-coder

    @NEA-DEV-coder has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi maintainer, I would like to work on this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @NEA-DEV-coder to this issue.

  4. nextgenuniversity1-oss commented on Aug 25, 2026

    @nextgenuniversity1-oss

    @nextgenuniversity1-oss has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hello, Maintainer. I've reviewed the issue requirements and would like to work on this task. My background in software development equips me to contribute effectively. Please assign it to me.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @nextgenuniversity1-oss to this issue.

  5. Levi-Ojukwu commented on Aug 25, 2026

    @Levi-Ojukwu
    Contributor

    @Levi-Ojukwu has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hello maintainer, I can handle this issue.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Levi-Ojukwu to this issue.

  6. drips-wave commented on Aug 25, 2026

    @drips-wave

    Congratulations, @Levi-Ojukwu! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @Levi-Ojukwu: 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 🌊

  7. yaegerbomb42 commented on Aug 28, 2026

    @yaegerbomb42

    /attempt

  8. drips-wave commented on Aug 30, 2026

    @drips-wave

    This issue has been completed by @Levi-Ojukwu as part of the Stellar Wave Program's 8th Wave 🥳

    😎 @Levi-Ojukwu: 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.

  9. removed
    Stellar Wave
    on Oct 15, 2026
  10. added
    Stellar Wave
    on Oct 15, 2026
  11. removed
    Stellar Wave
    on Oct 15, 2026
  12. added
    Stellar Wave
    on Oct 15, 2026
  13. removed
    Stellar Wave
    on Oct 15, 2026
  14. added
    Stellar Wave
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar Wavebugenhancementgood first issuehelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions