devtrack icon indicating copy to clipboard operation
devtrack copied to clipboard

[GOOD FIRST ISSUE] Add 'Back to dashboard' breadcrumb on public profile page

Open Priyanshu-byte-coder opened this issue 6 months ago • 12 comments

Summary

When a logged-in user views their own public profile (/u/[username]), there is no way to navigate back to the dashboard without using the browser back button.

Expected Behaviour

Show '<- Back to dashboard' link at the top, visible only when the viewer is the profile owner.

Implementation Notes

  • Use useSession() to get current user login
  • Compare session.githubLogin to the [username] route param
  • Render <- Back to dashboard if they match
  • Style: text-[var(--muted-foreground)] hover:text-[var(--card-foreground)]

GSSoC Info

  • Difficulty: Beginner — 20 pts
  • Area: UX / Navigation

Priyanshu-byte-coder avatar May 17 '26 05:05 Priyanshu-byte-coder

Hi @Priyanshu-byte-coder , I’d like to work on this issue.

I’m planning to use useSession() to identify the currently logged-in user and compare their GitHub username with the [username] route parameter. If the profile belongs to the logged-in user, I’ll display a subtle “← Back to dashboard” link at the top of the page using the suggested styling. This should make navigation smoother without affecting other users viewing public profiles.

Mash4-4-4-4 avatar May 17 '26 05:05 Mash4-4-4-4

I'd like to work on this

coderHimanshu-dev avatar May 17 '26 15:05 coderHimanshu-dev

Hi, @Priyanshu-byte-coder, I would like to work on this issue. Please assign it to me

HARISH-BN890 avatar May 18 '26 12:05 HARISH-BN890

Hi, I would like to work on this issue under GSSoC 2026. I can implement the conditional “← Back to dashboard” navigation using useSession() and route param comparison as described. Please assign this issue to me.

Jyoti1-pog avatar May 18 '26 15:05 Jyoti1-pog

Hi, I am a GSSoC 2026 contributor and I would like to work on this issue. Please assign it to me.

DakshtaMethwani avatar May 18 '26 16:05 DakshtaMethwani

Hi, I am a GSSoC 2026 contributor and would like to work on this.

AryanRajuBankar3000 avatar May 18 '26 17:05 AryanRajuBankar3000

Hi, @Priyanshu-byte-coder, I would like to work on this issue. Please assign it to me.I have prior experience so i can work better with this.

durgasravan21-prog avatar May 18 '26 20:05 durgasravan21-prog

Hi @Priyanshu-byte-coder i would like to work on this issue. Could you please assign this to me?

Suneeta28 avatar Jun 18 '26 09:06 Suneeta28

@Suneeta28 This issue is already taken by @Mash4-4-4-4. Check other open issues!

github-actions[bot] avatar Jun 18 '26 09:06 github-actions[bot]

Reassigning to @AryanRajuBankar3000 — this issue had no PR and no activity for over a month, so it's going to the next person who asked for it (first come, first served).

@AryanRajuBankar3000 it's yours: please open a PR within 7 days or it'll be released again. If you're no longer interested, just say so and I'll pass it on.

Priyanshu-byte-coder avatar Jul 29 '26 17:07 Priyanshu-byte-coder

Hey @AryanRajuBankar3000 — this issue was assigned a while back with no recent activity. Unassigning so it's available for Hacktoberfest contributors. Still working on it? Comment and we'll reassign you.

Priyanshu-byte-coder avatar Oct 14 '26 18:10 Priyanshu-byte-coder

Assigned to @Priyanshu-byte-coder! You have 7 days to open a PR. No PR after 7 days = auto-unassigned so others can pick it up. Good luck!

github-actions[bot] avatar Oct 14 '26 18:10 github-actions[bot]