Feat(client, cds-ui): sidebar 컴포넌트 리디자인 반영 및 페이지 개편 반영#258
Draft
jogpfls wants to merge 15 commits into
Draft
Conversation
jogpfls
requested review from
jm8468,
jyeon03 and
twossu
and removed request for
a team
July 4, 2026 14:08
🎨 Storybook 배포 완료PR 작성자: @jogpfls |
jogpfls
marked this pull request as draft
July 5, 2026 13:17
jogpfls
marked this pull request as draft
July 5, 2026 13:17
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.
📌 Summary
📚 Tasks
🔍 Describe
페이지 개편으로 인한 router 및 페이지 파일 변경사항 반영
기존 페이지
변경된 페이지
리디자인 이전에는 전체 메모 페이지, ai 결과 페이지, label별 메모 페이지의 UI가 같고 사실 상 필터링만 달랐던 페이지였어요.
페이지를 따로 나눌 필요가 없다고 생각해서 이번에 페이지 개편하면서 전체 메모에서 필터링 하는 구조로 구현했습니다
그리고 url은
new-memo/또는/memo/tag?=요렇게 구성했습니다
router.tsx
그리고 router 파일에 loader 사용해서 /memo로 접근할 시 / 로 이동하도록 구현했어요
렌더링 전에 판단려고 loader 사용했습니다
인증 유무에 따른 라우터 가드도 loader로 리팩토링 해보면 좋을 것 같아용
sidebar 컴포넌트 리디자인에 맞게 변경
정말,,, 힘들었는데요,,,
부모태그, 자식태그, 손주태그때문에 고민을 정말 많이 했네요,,
먼저 sidebar 구조에 대해서 설명해드릴게요
일단 크게는 이렇게 나눴어요.
sidebar-itemsidebar-tag-item: sidebar-item을 사용해서 재귀 컴포넌트로 트리 구조를 구현했어요사진처럼 자식, 손주, 부모에 따라 왼쪽 line의 모양이 달라지는걸 구현했습니다.
sidebar-menu-sectionsidebar를 context를 사용하여 전역적으로 상태 공유 가능하도록 수정
집가서 다시 PR 작성할게요,,잠시 드래프트 드릉드릉,,,
📸 Screenshot
2026-07-04.11.06.34.mov