bug: show the signed-in user display name in the navbar
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- nextjs, react, typescript
- Lĩnh vực
- authentication, frontend
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 1
- Merge trung bình
- 8 giờ 58 phút
- Pull request đã merge (30 ngày)
- 37
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của procoderji-com/procoderji
-
area:frontend bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
procoderji-com/procoderji#104 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
procoderji-com/procoderji#36 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
procoderji-com/procoderji#35 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 79/100
procoderji-com/procoderji#34 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
procoderji-com/procoderji#33 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của procoderji-com/procoderji
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug platform-android
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Termix-SSH/Mobile#146 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
devswha/herdr-web-ui#3875 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 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
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày