refactor(fe): 내비게이션 행을 NavigationRow로 공통화#120
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
라벨과 오른쪽 chevron을 가진 행 버튼을 도메인 중립 UI 컴포넌트 NavigationRow로 묶는다. 설정 탭의 SettingsNavigationItem과 인물 프로필의 인라인 행 3개가 같은 모양을 각자 구현해 스타일이 어긋나 있었다. - src/components/ui/navigation-row.tsx 신설: tone(default/destructive), withDivider, disabled를 받고 ListGroupItem 래퍼를 내부에서 렌더한다. - 설정 탭 2행과 인물 프로필 작업 섹션 3행을 NavigationRow로 이관한다. - SettingsNavigationItem과 스토리를 삭제하고 커버리지를 UI/NavigationRow로 옮긴다. - 누름 피드백을 hover:bg-muted/70과 active:opacity-70로 통일한다. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
seongbin9786
force-pushed
the
refactor/fe-navigation-row
branch
from
July 19, 2026 08:15
590d308 to
3ae1a76
Compare
seongbin9786
marked this pull request as ready for review
July 19, 2026 08:18
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.
배경
라벨과 오른쪽 chevron을 가진 행 버튼이 두 곳에서 따로 구현돼 있었다.
components/settings/settings-navigation-item.tsx의SettingsNavigationItemperson-profile-view.tsx의 "작업" 섹션 인라인 행 3개같은 모양인데 누름 피드백(설정은
hover:bg-muted/70, 인물 프로필은active:opacity-70)과 마크업이 서로 어긋나 있었다.변경 사항
src/components/ui/navigation-row.tsx를 신설한다.label,onClick,tone('default' | 'destructive'),withDivider,disabledListGroupItem래퍼를 내부에서 렌더해 호출부는ListGroup안에 바로 넣는다.onClick으로 push/삭제를 계속 소유한다. (components는stackflow를 import 하지 않는다)NavigationRow로 이관한다.tone="destructive"와disabled={del.pending}로 기존 시각·비활성 동작을 그대로 유지한다.SettingsNavigationItem과 스토리 파일을 삭제하고 스토리 커버리지를UI/NavigationRow로 옮긴다.누름 피드백 통일
터치 앱 기준으로 눌림 피드백을 하나로 통일한다.
NavigationRow는hover:bg-muted/70(포인터 기기)와active:opacity-70(누름)를 함께 적용한다. 그 결과 두 호출부의 기존 피드백이 조금씩 바뀐다.Docs
withDivider={false}로 마지막 행 구분선 제거disabled로 opacity 60% 비활성