fix(web): 모바일 네비게이션 메뉴 + 부트스트랩 401 레이스 제거 - #231
Merged
Conversation
1) 모바일 네비 갭 md 미만에서 마케팅 네비(기능·동작 방식·FAQ)와 (로그인 사용자의) 워크스페이스 링크가 헤더에서 사라졌다. 햄버거 토글 + 드롭다운 메뉴를 추가해 해당 항목을 담았다. 시작하기 CTA 는 그대로 노출 유지. aria-expanded/controls, Esc 닫기, 링크 클릭 시 닫기까지 접근성 반영. 2) 부트스트랩 401 레이스 앱 로드 시 AuthProvider 가 토큰 없이 /api/users/me 를 먼저 쏴 401 → refresh → 재시도하던 낭비가 있었다(매 로드 401 1건, 백엔드 WARN 로그 노이즈). client 에 ensureAccessToken() 을 추가해 refresh 로 토큰을 먼저 확보한 뒤 사용자 정보를 부르도록 부트스트랩을 변경. 세션이 없으면 refresh 401 로 비로그인 처리. typecheck·lint·build·vitest(182) 전부 통과. 모바일 메뉴 렌더/토글은 로컬 빌드로 확인.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경 사항
프론트엔드 점검에서 발견한 두 가지를 수정.
1) 모바일 네비게이션 갭
SiteNav에 햄버거 메뉴가 없어,md미만에서 마케팅 네비(기능·동작 방식·FAQ)와 (로그인 사용자의) 워크스페이스 링크가 헤더에서 사라졌다.시작하기CTA 는 그대로 노출 유지(전환 동선 보존)aria-expanded/aria-controls, Esc 닫기, 링크 클릭 시 닫기2) 부트스트랩 401 레이스
앱 로드 시
AuthProvider가 토큰 없이/api/users/me를 먼저 쏴 401 → refresh → 재시도하던 낭비가 있었다(매 로드 401 1건 + 백엔드 WARN 로그 노이즈).client.ts에ensureAccessToken()추가 → refresh 로 토큰을 먼저 확보한 뒤 사용자 정보 호출typecheck·lint·build·vitest(182) 전부 통과.