bug: show the signed-in user display name in the navbar
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
- Domínio
- authentication, frontend
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
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
- Open https://procoderji.com/ and sign in with Google.
- Look at the user menu on the right of the navbar.
- 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
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de procoderji-com/procoderji
-
area:frontend bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
procoderji-com/procoderji#104 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
procoderji-com/procoderji#36 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 85/100
procoderji-com/procoderji#35 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 79/100
procoderji-com/procoderji#34 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 90/100
procoderji-com/procoderji#33 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de procoderji-com/procoderji
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
bug platform-android
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Termix-SSH/Mobile#146 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
devswha/herdr-web-ui#3875 ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
-
area: runtime chore cli consistency dependencies developer-experience difficulty: easy discovery documentation enhancement good first issue help wanted hygiene json-output packaging priority: P3 tests version
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia