From 50c86841fff39ceddd6520789b9f460e01863c3f Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Wed, 9 Sep 2026 19:04:14 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B9=88=20=E3=80=8C=EC=A3=BC=EC=9A=94?= =?UTF-8?q?=20=EC=A3=BC=EC=A0=9C=E3=80=8D=20=EA=B5=AC=EC=97=AD=EC=9D=84=20?= =?UTF-8?q?=EC=88=A8=EA=B8=B0=EA=B3=A0=20=EB=B6=99=EC=9D=B4=EB=8A=94=20?= =?UTF-8?q?=EB=B2=95=EC=9D=84=20=EB=A7=90=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 프로젝트를 만들고 주제를 넷 만들어도 공개 화면의 「주요 주제」는 비어 있었다. 주제를 만드는 것과 프로젝트에 붙이는 것이 다른 동작인데 그 사실이 어디에도 적혀 있지 않았고, 공개 화면은 제목만 있는 빈 목록을 그려서 화면이 고장난 것처럼 보였다. 공개 화면은 고른 주제가 없으면 구역을 그리지 않는다. Studio 는 여기서 고른 것만 공개 화면에 나온다고 적는다. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01PTnWufiY9ATv57egkKKVAV --- .../public/pages/project-overview-page.tsx | 35 +++++++++++-------- .../studio/components/project-editor.tsx | 10 +++++- 2 files changed, 30 insertions(+), 15 deletions(-) diff --git a/src/features/tech-log/presentation/public/pages/project-overview-page.tsx b/src/features/tech-log/presentation/public/pages/project-overview-page.tsx index 55873ac..99350f8 100644 --- a/src/features/tech-log/presentation/public/pages/project-overview-page.tsx +++ b/src/features/tech-log/presentation/public/pages/project-overview-page.tsx @@ -97,20 +97,27 @@ export function ProjectOverviewPage() { -
-

주요 주제

- {/* - 주제 이름은 그 주제 화면으로 가는 링크다. 오래 글자 목록이었던 것은 매퍼가 slug 를 - 버렸기 때문이고, 계약은 처음부터 이름과 slug 를 함께 주고 있었다. - */} -
    - {project.topics.map((topic) => ( -
  • - {topic.slug ? {topic.name} : topic.name} -
  • - ))} -
-
+ {/* + 고른 주제가 없으면 이 구역을 그리지 않는다. 「주요 주제」라는 제목만 있고 아래가 빈 + 목록이면 읽는 사람에게는 이 프로젝트가 주제를 안 다룬다는 말이 아니라 화면이 덜 + 만들어졌다는 말로 읽힌다 — 공개 목록의 빈 라벨과 같은 규칙이다. + */} + {project.topics.length > 0 ? ( +
+

주요 주제

+ {/* + 주제 이름은 그 주제 화면으로 가는 링크다. 오래 글자 목록이었던 것은 매퍼가 slug 를 + 버렸기 때문이고, 계약은 처음부터 이름과 slug 를 함께 주고 있었다. + */} +
    + {project.topics.map((topic) => ( +
  • + {topic.slug ? {topic.name} : topic.name} +
  • + ))} +
+
+ ) : null} ); } diff --git a/src/features/tech-log/presentation/studio/components/project-editor.tsx b/src/features/tech-log/presentation/studio/components/project-editor.tsx index 28b920f..3f949cc 100644 --- a/src/features/tech-log/presentation/studio/components/project-editor.tsx +++ b/src/features/tech-log/presentation/studio/components/project-editor.tsx @@ -343,7 +343,15 @@ export function ProjectEditor() {

TOPICS

주요 주제

-

프로젝트 화면 상단의 “주요 주제”가 고른 순서대로 나옵니다.

+ {/* + 주제를 만드는 것과 프로젝트에 붙이는 것은 다른 동작이다. 그 사실이 어디에도 + 적혀 있지 않아서, 주제를 넷 만들고도 공개 프로젝트 화면에는 하나도 뜨지 않는 + 일이 생겼다 — 작성자에게는 화면이 고장난 것으로 보인다. + */} +

+ 여기서 고른 것만 공개 프로젝트 화면의 “주요 주제”에 나옵니다. 주제를 + 만들어 두는 것만으로는 붙지 않습니다. +

{topics.length === 0 ? (