fix: 관계 목록의 제목이 그 목록이 답하는 것을 말한다

「이 기록의 연결」은 무엇이 걸려 있는지를 말하고, 독자가 알고 싶은 것은 다음에 무엇을
읽는가다. 작성자가 관계마다 남긴 문장이 이제 그 아래 나오므로 제목도 그 문장이 답하는
질문에 맞춘다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011nAjrqNHGPNngN4aUbcyvJ
This commit is contained in:
DongHyeonka
2026-09-01 17:31:59 +09:00
co-authored by Claude Opus 5
parent 197db749b9
commit 3660404a12
3 changed files with 6 additions and 6 deletions
@@ -219,8 +219,8 @@ function CaseDocument({
/>
<PublicDocumentRelations
relations={publicRelations(model.relations)}
kicker="Explicit relations"
title="이 기록의 연결"
kicker="Next"
title="다음에 읽을 것"
/>
</article>
<DocumentToc headings={headings} variant="desktop" />
@@ -298,8 +298,8 @@ function ConceptDocument({
/>
<PublicDocumentRelations
relations={publicRelations(model.relations)}
kicker="Explicit relations"
title="이 개념의 연결"
kicker="Next"
title="다음에 읽을 것"
/>
</article>
<DocumentToc headings={headings} variant="desktop" />
@@ -300,7 +300,7 @@ describe("TechLog canonical Public documents", () => {
);
expect(empty.container.querySelector(".document-relations")).toBeNull();
expect(screen.queryByText("Explicit relations")).not.toBeInTheDocument();
expect(screen.queryByRole("heading", { name: "이 기록의 연결" })).not.toBeInTheDocument();
expect(screen.queryByRole("heading", { name: "다음에 읽을 것" })).not.toBeInTheDocument();
});
it("preserves Reference rule order and resolved Question evidence and empty copy", async () => {
@@ -392,7 +392,7 @@ describe("shared Public record renderer", () => {
expect(relation).not.toHaveAccessibleName(/그대로 이 기준이/);
expect(relation.querySelector("p")).toHaveTextContent("그대로 이 기준이 되었다");
expect(relation.parentElement?.parentElement?.previousElementSibling).toHaveTextContent(
"이 기록의 연결",
"다음에 읽을 것",
);
});