bug: align the Notes navbar with the full-width student workspace header
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 62/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
- frontend
Hướng nghiên cứu
Bắt đầu từ src/components/site-header.tsx, nơi điều kiện route của workspace liệt kê /account, /learn và /practice nhưng không có /dashboard, còn Notes nhận max-w-7xl và định vị relative. So sánh các class của header Notes với cách xử lý của Practice, sau đó kiểm tra Notes và các route lồng nhau trên trình duyệt ở 360px, 768px và 1440px. Hoàn thành khi Notes và Practice có cùng căn chỉnh logo và menu tài khoản cùng kích thước header, không tràn ngang và các vùng chạm có kích thước tối thiểu 44px.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened?
The Notes section does not use the same full-width navbar alignment as the student workspace. In the owner's production screenshot of /dashboard, the logo and account menu are inset inside a centered container. In the supplied /practice reference, the logo sits near the left viewport edge and the account menu sits near the right edge.
Practice is the approved reference for the Notes navbar. Shared navigation should feel consistent across the application.
Steps to reproduce
- Open https://procoderji.com/dashboard on desktop.
- Observe the horizontal positions of the logo, main navigation and account menu.
- Open https://procoderji.com/practice at the same viewport width.
- Compare: the Notes header is constrained, while the Practice header uses the available width.
Expected behavior
Use the existing Practice navbar's full-width alignment, spacing, typography, white background, subtle border and scrolling behavior for Notes and its nested pages. Continue using one shared SiteHeader with the same logo, links/order and account menu; highlight the current section.
Code pointers
In src/components/site-header.tsx, the workspace route condition includes /account, /learn and /practice but excludes /dashboard. It selects w-full and sticky positioning for workspace routes, while Notes receives max-w-7xl and relative positioning. Review this route treatment before introducing any additional header component.
This observation comes from the current source and owner-supplied screenshots; desktop/mobile browser verification remains part of implementation.
Acceptance criteria
- At the same desktop viewport, Notes and Practice have matching logo/account-menu alignment and header dimensions.
- Nested Notes routes retain the same shared-header treatment and active Browse Notes link.
- Header scrolling behavior is consistent with the approved student-workspace reference.
- At 360px, 768px and 1440px, menus remain usable with no horizontal overflow and at least 44px tap targets.
- Preserve the existing Notes catalogue/reader functionality, current copy and yellow brand design.
- Keep Home's hero transparency behavior covered separately by #101, and signed-in display names by #102.
Planning
Backlog bug report. Record the Practice screenshot as the expected reference; implementation will be scheduled separately through an issue-linked contribution.
Production release at reporting: 9e2b9c00556de0387b09e937ffbefbd4eb9e0919.
- 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
-
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
-
enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
procoderji-com/procoderji#32 ·
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