bug: align the Notes navbar with the full-width student workspace header
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 62/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- nextjs, react, typescript
- Ambito
- frontend
Direzione di ricerca
Inizia da src/components/site-header.tsx, dove la condizione della route del workspace elenca /account, /learn e /practice ma non /dashboard, e Notes riceve max-w-7xl e posizionamento relative. Confronta le classi dell'intestazione di Notes con il trattamento di Practice, poi verifica Notes e le route annidate in un browser a 360px, 768px e 1440px. È completato quando Notes e Practice condividono allineamento di logo e menu account e dimensioni dell'intestazione, non c'è overflow orizzontale e i target tattili misurano almeno 44px.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 1
- Fork
- 1
- Merge medio
- 8h 58m
- PR unite (30g)
- 37
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di procoderji-com/procoderji
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
procoderji-com/procoderji#36 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
procoderji-com/procoderji#35 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 79/100
procoderji-com/procoderji#34 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
procoderji-com/procoderji#33 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
procoderji-com/procoderji#32 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di procoderji-com/procoderji
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug platform-android
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Termix-SSH/Mobile#146 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
devswha/herdr-web-ui#3875 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 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
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno