bug: show the signed-in user display name in the navbar

Ouverte
#102 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
35/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
nextjs, react, typescript

Piste de recherche

Start by finding the shared navbar component and the code that reads the signed-in session, then trace why the user menu shows "My account" instead of the display name. The issue says the cause is not yet investigated and that the work is backlog, so confirm scope with maintainers before coding. Done means the acceptance criteria hold: signed-in name shown, "Guest learner" restored on sign-out, a safe fallback, and no email or token exposed.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

area:frontend bug

What happened?

After signing in, the shared navbar labels the user menu "My account" instead of showing the signed-in student's display name. This makes the current account harder to identify.

Reported by the owner on production with a screenshot of the signed-in menu. The root cause has not been investigated.

Steps to reproduce

  1. Open https://procoderji.com/ and sign in with Google.
  2. Look at the user menu on the right of the navbar.
  3. Observe that its label is "My account" rather than the signed-in user's display name.

Expected behavior

Show the authenticated user's display name in the shared navbar. Keep "Guest learner" for signed-out visitors and use a clear fallback when a display name is unavailable.

Acceptance criteria

  • Signed-in visitors see their display name consistently across pages using the shared header.
  • Signing out restores "Guest learner"; switching accounts updates the displayed name.
  • Loading or missing-name states use a sensible fallback without showing a previous account's name.
  • Long names fit on desktop and mobile without horizontal overflow or obscuring navigation controls.
  • The existing user-menu actions, keyboard access and brand styling remain usable.
  • Use the existing authenticated session data; do not expose email addresses or tokens as the menu label.

Planning

Backlog item. Investigation and implementation will be scheduled later; no implementation or pull request is requested now.

Langage dominant
TypeScript
Étoiles
1
Forks
1
Merge moyen
8 h 58 min
PR mergées (30 j)
37

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de procoderji-com/procoderji

Toutes les issues de procoderji-com/procoderji

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.