feat(layout): 전역 AppSidebar 네비게이션 + GNB 정렬 - #116
Merged
Conversation
데스크탑에서 BottomNavigation을 WorkspaceSidebar(240px)로 대체. 칸반/캘린더/메모 전환 및 프로젝트 목록 링크 포함. 모바일(< md)에서는 기존 BottomNavigation 유지. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
PR #115 머지 이후 누락된 WorkspaceFilter.tsx 추가. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- WorkspaceNavProvider: 워크스페이스 뷰 상태를 전역 context로 관리 - AppSidebar: 루트 레이아웃에 240px 사이드바 추가 - 전역 메뉴(프로젝트, 공지사항, 어드민) + 워크스페이스 진입 시 sub-nav 표시 - 모바일(< md)에서는 숨김 - Header: 공지사항/어드민 아이콘 데스크탑에서 제거(md:hidden) - workspace 페이지: WorkspaceSidebar 제거, context 연결 - WorkspaceSidebar.tsx 삭제 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- 헤더를 로고 존(w-60)과 컨트롤 존으로 분리 - 데스크탑: 로고가 사이드바(w-60)와 grid 정렬, border-r로 시각적 연결 - 모바일: 기존 레이아웃 유지 - w-[240px] → w-60으로 AppSidebar/Header 통일 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
개요
전역 사이드바(AppSidebar)를 루트 레이아웃에 추가하여 추후 메뉴 확장(대시보드, 공지사항 등)에 대응하는 구조로 개편합니다.
변경 사항
신규
WorkspaceNavProvider— 칸반/캘린더/메모 뷰 상태를 전역 context로 관리 (불필요한 리렌더링 방지를 위해useCallback적용)AppSidebar— 루트 레이아웃에w-60사이드바 배치< md)에서는 숨김수정
layout.tsx—WorkspaceNavProvider+AppSidebar적용, 콘텐츠 영역 flex 구조로 변경Header.tsx— 로고 존(w-60)과 컨트롤 존으로 분리, 사이드바와 grid 정렬md:hidden)workspace/[id]/page.tsx—WorkspaceNavProvidercontext 연결,WorkspaceSidebar제거삭제
WorkspaceSidebar.tsx— AppSidebar로 통합테스트 포인트
🤖 Generated with Claude Code