feat: 주제 목록 화면을 만들어 주 내비에 넣는다
주제로 가는 길이 기록의 breadcrumb 과 탐색의 묶음 제목뿐이었다. 주제가 이 기록의 뼈대인데 그 목록을 정면으로 보여 주는 자리가 없었고, 홈이 한 주제만 펼치던 동안 나머지는 최근 기록에 우연히 걸릴 때만 보였다. 목록의 각 줄은 이름·논지·축·기록 수를 싣는다. 이름은 무엇에 대한 것인지만 말하므로, 들어갈지 말지를 정하려면 그 주제가 무엇에 답하는지가 함께 있어야 한다. 그래서 계약의 `TopicListItem` 에 논지와 축을 더한다 — 그동안 이름과 개수뿐이었다. 홈의 「다른 주제」 줄은 목록으로 가는 한 줄로 줄인다. 주제가 늘면 옆으로 길어지던 자리다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011nAjrqNHGPNngN4aUbcyvJ
This commit is contained in:
co-authored by
Claude Opus 5
parent
69eabc7d6c
commit
aca4f189d1
@@ -2,7 +2,7 @@
|
||||
"packageId": "@tech-log/management-contract",
|
||||
"version": "1.0.0",
|
||||
"digest": "sha256:61f8360cfb2e638c5d8c5557434b564e39cea517464c33cedcd1c5bf39a58aa8",
|
||||
"sourceRevision": "b93d62a",
|
||||
"sourceRevision": "559d04f",
|
||||
"operationIds": [
|
||||
"createCaseDraft",
|
||||
"getCaseForEdit",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"packageId": "@tech-log/public-contract",
|
||||
"version": "2.1.0",
|
||||
"digest": "sha256:10b922715a4149f2dcf4d5925fb1d3e3e820a6d14d9e4a91d7a325027684280d",
|
||||
"sourceRevision": "b93d62a",
|
||||
"digest": "sha256:babb24ab85c5b92b2d8b9ad9aa10151430fd15aae84ca5318564468b3c9278ca",
|
||||
"sourceRevision": "559d04f",
|
||||
"operationIds": [
|
||||
"getPublicSite",
|
||||
"getPublicHome",
|
||||
|
||||
@@ -539,6 +539,15 @@ export interface components {
|
||||
name: string;
|
||||
slug: string;
|
||||
description: string;
|
||||
/** @description 이 주제가 답하는 질문. 목록이 이름과 개수만 싣던 동안 독자는 주제 이름만 보고
|
||||
* 들어갈지 말지를 정해야 했다 — 이름은 무엇에 대한 것인지만 말하고 무엇에 답하는지는
|
||||
* 말하지 않는다.
|
||||
* */
|
||||
thesis?: string;
|
||||
/** @description 축의 이름. 비면 이 주제는 축을 쓰지 않는다. */
|
||||
variantLabel?: string;
|
||||
/** @description 이 주제가 견주는 접근의 수. 축을 쓰지 않으면 0 이다. */
|
||||
variantCount?: number;
|
||||
recordCount?: number;
|
||||
};
|
||||
TopicListResponse: {
|
||||
|
||||
@@ -1228,6 +1228,19 @@ components:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
thesis:
|
||||
type: string
|
||||
description: |
|
||||
이 주제가 답하는 질문. 목록이 이름과 개수만 싣던 동안 독자는 주제 이름만 보고
|
||||
들어갈지 말지를 정해야 했다 — 이름은 무엇에 대한 것인지만 말하고 무엇에 답하는지는
|
||||
말하지 않는다.
|
||||
variantLabel:
|
||||
type: string
|
||||
description: 축의 이름. 비면 이 주제는 축을 쓰지 않는다.
|
||||
variantCount:
|
||||
type: integer
|
||||
minimum: 0
|
||||
description: 이 주제가 견주는 접근의 수. 축을 쓰지 않으면 0 이다.
|
||||
recordCount:
|
||||
type: integer
|
||||
TopicListResponse:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"packageId": "@tech-log/studio-contract",
|
||||
"version": "3.1.0",
|
||||
"digest": "sha256:d2bfbe0a12136f131ccb8c42f8868108ba8d0f0182b347f9b815316c343a970c",
|
||||
"sourceRevision": "b93d62a",
|
||||
"sourceRevision": "559d04f",
|
||||
"operationIds": [
|
||||
"getStudioSession",
|
||||
"getStudioDashboard",
|
||||
|
||||
@@ -29,6 +29,7 @@ const TECH_LOG_ROUTE_SPECS = [
|
||||
defineSpec({ routeId: "TECH_LOG_REFERENCE", path: "/references/:slug", layoutGroup: "PUBLIC", paramsSchema: "TechLogSlugParams", searchSchema: null, title: "Reference", navigationLabel: null, navigationOrder: null }),
|
||||
defineSpec({ routeId: "TECH_LOG_CONCEPT", path: "/concepts/:slug", layoutGroup: "PUBLIC", paramsSchema: "TechLogSlugParams", searchSchema: null, title: "개념", navigationLabel: null, navigationOrder: null }),
|
||||
defineSpec({ routeId: "TECH_LOG_QUESTION", path: "/questions/:slug", layoutGroup: "PUBLIC", paramsSchema: "TechLogSlugParams", searchSchema: null, title: "Open Question", navigationLabel: null, navigationOrder: null }),
|
||||
defineSpec({ routeId: "TECH_LOG_TOPICS", path: "/topics", layoutGroup: "PUBLIC", paramsSchema: null, searchSchema: null, title: "주제", navigationLabel: "주제", navigationOrder: 15 }),
|
||||
defineSpec({ routeId: "TECH_LOG_TOPIC", path: "/topics/:slug", layoutGroup: "PUBLIC", paramsSchema: "TechLogSlugParams", searchSchema: null, title: "Topic", navigationLabel: null, navigationOrder: null }),
|
||||
defineSpec({ routeId: "TECH_LOG_TOPIC_VARIANT", path: "/topics/:slug/:variant", layoutGroup: "PUBLIC", paramsSchema: "TechLogTopicVariantParams", searchSchema: null, title: "Topic", navigationLabel: null, navigationOrder: null }),
|
||||
defineSpec({ routeId: "TECH_LOG_PROJECTS", path: "/projects", layoutGroup: "PUBLIC", paramsSchema: null, searchSchema: null, title: "프로젝트", navigationLabel: "프로젝트", navigationOrder: 20 }),
|
||||
|
||||
Reference in New Issue
Block a user