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

Aberta
#102 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
35/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
nextjs, react, typescript

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
1
Forks
1
Merge médio
8h 58min
PRs com merge (30d)
37

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de procoderji-com/procoderji

Todas as issues de procoderji-com/procoderji

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.