feat: 게시 전에 함께 나가는 것, 빈 논지를 상태로 말하기
게시 화면이 버전 번호만 말했다. 관계는 공개 화면의 「다음에 읽을 것」이 되고 본문의 자료는 그림 자리가 되므로, 무엇이 함께 나가는지를 수로 먼저 보인다. 둘 다 0 이면 이 기록은 홀로 서는 글이라는 뜻이고, 그건 게시 전에 알아야 하는 사실이다. 프로젝트의 논지와 주제가 답하는 질문이 비어 있으면 화면이 빈 문단을 그렸다. 아직 안 쓴 것과 쓸 것이 없는 것은 다르다 — 빈 자리는 화면이 덜 만들어진 것처럼 보이고, 읽는 사람은 이 프로젝트에 결론이 없다고 읽는다. 조사가 어디쯤인지를 말한다. Studio 구조 화면은 현재 목표가 비어 있는 프로젝트와 답하는 질문이 비어 있는 주제를 짚는다. 그 값들이 공개 화면의 첫 문단을 그리는데, 무엇이 비었는지는 편집기를 하나씩 열어야 알 수 있었다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015c8cBFUaVr7KLVUx6ujz7D
This commit is contained in:
co-authored by
Claude Opus 5
parent
172dff705b
commit
9bb64ca087
@@ -70,7 +70,17 @@ export function ProjectOverviewPage() {
|
||||
<section className="project-thesis" aria-labelledby="thesis-title">
|
||||
<p className="section-kicker">Thesis</p>
|
||||
<h2 id="thesis-title">프로젝트를 통해 확인한 결과</h2>
|
||||
<ProseText text={project.thesis} />
|
||||
{/*
|
||||
아직 안 쓴 것과 쓸 것이 없는 것은 다르다. 빈 문단을 그리면 화면이 덜 만들어진 것처럼
|
||||
보이고, 읽는 사람은 이 프로젝트에 결론이 없다고 읽는다. 조사가 어디쯤인지를 말한다.
|
||||
*/}
|
||||
{project.thesis.trim() ? (
|
||||
<ProseText text={project.thesis} />
|
||||
) : (
|
||||
<p className="project-thesis-pending">
|
||||
아직 정리한 결론이 없습니다. 아래 조사 지도가 지금까지 모은 기록을 보여 줍니다.
|
||||
</p>
|
||||
)}
|
||||
</section>
|
||||
<dl className="project-status-grid">
|
||||
<div>
|
||||
|
||||
@@ -91,7 +91,18 @@ export function TopicPage() {
|
||||
논지가 있으면 그것이 이 주제의 첫 문장이다. 설명은 목록에서 주제를 가려내는 한 줄이고,
|
||||
논지는 이 주제가 무엇에 답하는지를 말한다 — 둘 다 있으면 논지를 보인다.
|
||||
*/}
|
||||
<ProseText text={topic.thesis || topic.description} />
|
||||
{/*
|
||||
주제가 답하는 질문이 이 화면의 첫 문장이다. 없으면 빈 자리를 남기지 않고 그 사실을
|
||||
적는다 — 빈 자리는 화면이 덜 만들어진 것처럼 보이고, 이 주제가 무엇을 묻는지는
|
||||
여전히 알 수 없다.
|
||||
*/}
|
||||
{(topic.thesis || topic.description).trim() ? (
|
||||
<ProseText text={topic.thesis || topic.description} />
|
||||
) : (
|
||||
<p className="topic-thesis-pending">
|
||||
이 주제가 답하는 질문을 아직 적지 않았습니다. 아래 기록이 지금까지 다룬 범위입니다.
|
||||
</p>
|
||||
)}
|
||||
</header>
|
||||
|
||||
{/*
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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}을 처음 게시합니다.`}
|
||||
</p>
|
||||
{/*
|
||||
이번에 함께 나가는 것. 버전 번호만으로는 무엇이 공개되는지 알 수 없다 — 관계는 공개
|
||||
화면의 「다음에 읽을 것」이 되고, 본문의 자료는 그림 자리가 된다. 둘 다 0 이면 이
|
||||
기록은 홀로 서는 글이라는 뜻이고, 그건 게시 전에 알아야 하는 사실이다.
|
||||
*/}
|
||||
<p className={styles.outgoing}>
|
||||
{`연결한 기록 ${document.relations.length} · 본문 자료 ${bodyAssetCount}`}
|
||||
</p>
|
||||
{/*
|
||||
어느 주소로 나가는지. 「저장 버전 v5 를 반영합니다」만으로는 이 동작이 무엇을 바꾸는지
|
||||
알 수 없다 — 게시는 공개 주소 하나를 만들거나 갈아 끼우는 일이고, 작성자가 확인하고
|
||||
|
||||
@@ -363,6 +363,11 @@ export function TaxonomyManager() {
|
||||
<strong>{project.name}</strong>
|
||||
)}
|
||||
<span>{PROJECT_PHASE_LABELS[project.phase] ?? project.phase}</span>
|
||||
{/*
|
||||
공개 프로젝트 화면의 첫 문단과 상태 줄이 이 값들로 그려진다. 비어 있으면
|
||||
그 화면이 헐거워지는데, 무엇이 비었는지는 편집기를 열어야 알 수 있었다.
|
||||
*/}
|
||||
{project.currentObjective?.trim() ? null : <em>현재 목표 없음</em>}
|
||||
</div>
|
||||
{inProject.length > 0 ? (
|
||||
<ul>
|
||||
|
||||
@@ -4070,3 +4070,13 @@ summary {
|
||||
font-family: "IBM Plex Mono", monospace;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* 아직 안 쓴 것과 쓸 것이 없는 것은 다르다 */
|
||||
|
||||
.project-thesis-pending,
|
||||
.topic-thesis-pending {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 17px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
@@ -589,3 +589,12 @@
|
||||
font-family: "IBM Plex Mono", monospace;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* 이번에 함께 나가는 것 */
|
||||
|
||||
.outgoing {
|
||||
margin-top: 10px;
|
||||
color: var(--muted);
|
||||
font-family: "IBM Plex Mono", monospace;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@@ -516,6 +516,7 @@
|
||||
.studio-app .studio-structure-project a,
|
||||
.studio-app .studio-structure-project strong { color: var(--ink); font-size: 17px; font-weight: 650; }
|
||||
.studio-app .studio-structure-project > span { color: var(--faint); font-size: 12px; }
|
||||
.studio-app .studio-structure-project > em { color: var(--warning); font-size: 12px; font-style: normal; }
|
||||
.studio-app .studio-structure-tree ul { margin: 11px 0 0; padding: 0 0 0 18px; border-left: 1px solid var(--line); list-style: none; }
|
||||
.studio-app .studio-structure-tree ul li { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: baseline; padding-block: 5px; }
|
||||
.studio-app .studio-structure-tree ul a { color: var(--ink-soft); font-size: 15px; }
|
||||
|
||||
Reference in New Issue
Block a user