From 4434bd365b7982dcdc12c8e5a6c88714a318f196 Mon Sep 17 00:00:00 2001 From: mokjakA Date: Sun, 9 Aug 2026 10:19:08 +0900 Subject: [PATCH] =?UTF-8?q?feat(S15P11A705-424):=20me/activity=20=EC=A7=84?= =?UTF-8?q?=EC=9E=85=EC=A0=90=EC=9D=84=20=EC=84=A4=EC=A0=95=20=EB=AA=A8?= =?UTF-8?q?=EB=8B=AC=EB=A1=9C=20=EC=98=AE=EA=B8=B4=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LibrarySpreadPanels의 "나의 활동 기록" 헤드라인 링크를 제거하고, 같은 노출 조건(기록 0건이면 숨김)으로 설정 패널의 로그아웃 버튼 위에 같은 스타일의 진입점을 추가한다. SettingsPanel이 이미 불러오는 recordCount를 그대로 재사용해 추가 요청은 없다. Co-Authored-By: Claude Sonnet 5 --- .../layout/components/SettingsPanel.tsx | 16 ++++++++++++ .../components/LibrarySpreadPanels.tsx | 26 ++++--------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/features/layout/components/SettingsPanel.tsx b/src/features/layout/components/SettingsPanel.tsx index b6692aa..30789dd 100644 --- a/src/features/layout/components/SettingsPanel.tsx +++ b/src/features/layout/components/SettingsPanel.tsx @@ -1,3 +1,4 @@ +import { Link } from '@tanstack/react-router'; import { ErrorState } from '@/shared/ui/ErrorState'; import { useWithdrawConfirm } from '@/contexts/useWithdrawConfirm'; import { useLogoutMutation } from '@/features/auth/hooks/useLogoutMutation'; @@ -67,6 +68,21 @@ export function SettingsPanel() { + {/* S15P11A705-424: "나의 활동 기록"(/me/activity) 진입점을 책장 지면(LibrarySpreadPanels의 + .pe-headrule)에서 여기로 옮겼다 — 책장 콘텐츠가 아니라 계정 메뉴에 속하는 항목이라는 + 판단이다. 아래 로그아웃 버튼과 같은 행 스타일(테두리·rounded-xl·px-3 py-3)을 그대로 + 재사용해 새로 그리지 않았고, 이 항목만 이동을 뜻하므로 색을 text-pin-navy로 구분한다. + 원래 노출 조건(기록 0건이면 숨김, docs 이슈 #55)도 그대로 옮긴다 — 이 패널이 이미 + recordCount를 들고 있어 조건을 다시 계산할 필요가 없다. */} + {recordCount > 0 && ( + + 나의 활동 기록 + + )} +