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 2c9623a..5cda442 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 @@ -70,7 +70,17 @@ export function ProjectOverviewPage() {

Thesis

프로젝트를 통해 확인한 결과

- + {/* + 아직 안 쓴 것과 쓸 것이 없는 것은 다르다. 빈 문단을 그리면 화면이 덜 만들어진 것처럼 + 보이고, 읽는 사람은 이 프로젝트에 결론이 없다고 읽는다. 조사가 어디쯤인지를 말한다. + */} + {project.thesis.trim() ? ( + + ) : ( +

+ 아직 정리한 결론이 없습니다. 아래 조사 지도가 지금까지 모은 기록을 보여 줍니다. +

+ )}
diff --git a/src/features/tech-log/presentation/public/pages/topic-page.tsx b/src/features/tech-log/presentation/public/pages/topic-page.tsx index aa34b0d..20a0681 100644 --- a/src/features/tech-log/presentation/public/pages/topic-page.tsx +++ b/src/features/tech-log/presentation/public/pages/topic-page.tsx @@ -91,7 +91,18 @@ export function TopicPage() { 논지가 있으면 그것이 이 주제의 첫 문장이다. 설명은 목록에서 주제를 가려내는 한 줄이고, 논지는 이 주제가 무엇에 답하는지를 말한다 — 둘 다 있으면 논지를 보인다. */} - + {/* + 주제가 답하는 질문이 이 화면의 첫 문장이다. 없으면 빈 자리를 남기지 않고 그 사실을 + 적는다 — 빈 자리는 화면이 덜 만들어진 것처럼 보이고, 이 주제가 무엇을 묻는지는 + 여전히 알 수 없다. + */} + {(topic.thesis || topic.description).trim() ? ( + + ) : ( +

+ 이 주제가 답하는 질문을 아직 적지 않았습니다. 아래 기록이 지금까지 다룬 범위입니다. +

+ )} {/* diff --git a/src/features/tech-log/presentation/studio/components/publication-flow-classes.ts b/src/features/tech-log/presentation/studio/components/publication-flow-classes.ts index e4ed9b4..d25656e 100644 --- a/src/features/tech-log/presentation/studio/components/publication-flow-classes.ts +++ b/src/features/tech-log/presentation/studio/components/publication-flow-classes.ts @@ -11,6 +11,7 @@ const publicationFlowClassContract = { summary: "studio-publication-summary", changeSummary: "studio-publication-change-summary", publicPath: "studio-publication-public-path", + outgoing: "studio-publication-outgoing", publishAction: "studio-publication-action", blocked: "studio-publication-blocked", noWarnings: "studio-publication-no-warnings", diff --git a/src/features/tech-log/presentation/studio/components/publish-screen.tsx b/src/features/tech-log/presentation/studio/components/publish-screen.tsx index 1c0e739..07cebf5 100644 --- a/src/features/tech-log/presentation/studio/components/publish-screen.tsx +++ b/src/features/tech-log/presentation/studio/components/publish-screen.tsx @@ -17,6 +17,7 @@ import { } from "./publication-flow-classes.ts"; import { useStudio } from "../use-studio.ts"; import { WarningAcknowledgements } from "./warning-acknowledgements.tsx"; +import { countBodyAssets } from "./asset-picker-dialog.tsx"; type LoadState = | { status: "LOADING" } @@ -148,6 +149,9 @@ export function PublishScreen({ const { detail, preview } = state; const { document, currentPublication } = detail; + /* 본문이 가리키는 자료 수. 본문을 갖지 않는 종류는 0 이다. */ + const bodyAssetCount = + "bodyMarkdown" in document ? countBodyAssets(document.bodyMarkdown) : 0; const sameVersion = currentPublication?.status === "PUBLISHED" && currentPublication.publishedVersion === document.version; @@ -335,6 +339,14 @@ export function PublishScreen({ ? `게시 버전 v${currentPublication.publishedVersion}에서 저장 버전 v${document.version}으로 반영합니다.` : `저장 버전 v${document.version}을 처음 게시합니다.`}

+ {/* + 이번에 함께 나가는 것. 버전 번호만으로는 무엇이 공개되는지 알 수 없다 — 관계는 공개 + 화면의 「다음에 읽을 것」이 되고, 본문의 자료는 그림 자리가 된다. 둘 다 0 이면 이 + 기록은 홀로 서는 글이라는 뜻이고, 그건 게시 전에 알아야 하는 사실이다. + */} +

+ {`연결한 기록 ${document.relations.length} · 본문 자료 ${bodyAssetCount}`} +

{/* 어느 주소로 나가는지. 「저장 버전 v5 를 반영합니다」만으로는 이 동작이 무엇을 바꾸는지 알 수 없다 — 게시는 공개 주소 하나를 만들거나 갈아 끼우는 일이고, 작성자가 확인하고 diff --git a/src/features/tech-log/presentation/studio/components/taxonomy-manager.tsx b/src/features/tech-log/presentation/studio/components/taxonomy-manager.tsx index c95dc39..5683284 100644 --- a/src/features/tech-log/presentation/studio/components/taxonomy-manager.tsx +++ b/src/features/tech-log/presentation/studio/components/taxonomy-manager.tsx @@ -363,6 +363,11 @@ export function TaxonomyManager() { {project.name} )} {PROJECT_PHASE_LABELS[project.phase] ?? project.phase} + {/* + 공개 프로젝트 화면의 첫 문단과 상태 줄이 이 값들로 그려진다. 비어 있으면 + 그 화면이 헐거워지는데, 무엇이 비었는지는 편집기를 열어야 알 수 있었다. + */} + {project.currentObjective?.trim() ? null : 현재 목표 없음}
{inProject.length > 0 ? (