From 8fce8ea69c7e14bd3c0e4c5e12fc5e90ab997aa4 Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Sat, 29 Aug 2026 22:07:54 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9A=94=EC=95=BD=EC=9D=B4=20=EB=AC=B8?= =?UTF-8?q?=EC=9E=A5=20=EC=A4=91=EA=B0=84=EC=97=90=EC=84=9C=20=EB=A9=88?= =?UTF-8?q?=EC=B6=94=EC=A7=80=20=EC=95=8A=EA=B2=8C=20=ED=95=98=EA=B3=A0=20?= =?UTF-8?q?=EB=82=A8=EC=9D=80=20=EC=9E=90=EB=A6=AC=EB=A5=BC=20=EB=B3=B4?= =?UTF-8?q?=EC=97=AC=20=EC=A4=80=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 요약 칸이 300자에서 말없이 입력을 멈췄다. 아무 표시가 없어 키보드가 고장 난 것처럼 보인다. 계약 상한을 600 으로 올리고(입력·공개 렌더 모델 함께) 칸 아래에 `412 / 600` 을 둔다. 한계에 닿으면 붉게 바뀐다. 글자 수는 label 밖에 둔다. 안에 두면 label 의 글자가 모두 칸의 이름이 되어 이름이 "요약 412 / 600" 으로 타자마다 바뀐다 — 기존 테스트 둘이 실제로 그것을 잡아냈다. 읽어 주는 것은 한계에 닿는 순간뿐이다. 글자마다 세어 읽으면 받아쓰기가 된다. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_011nAjrqNHGPNngN4aUbcyvJ --- public/release-manifest.json | 10 +++---- .../management/canonical-source.json | 2 +- .../contracts/public/canonical-source.json | 2 +- .../contracts/studio/canonical-source.json | 4 +-- .../contracts/studio/studio-api.openapi.yaml | 4 +-- .../components/common-document-fields.tsx | 20 ++++++++++++- .../presentation/styles/studio-editor.css | 3 ++ .../tech-log/studio-editor-smoke.test.tsx | 29 ++++++++++++++++++- 8 files changed, 61 insertions(+), 13 deletions(-) diff --git a/public/release-manifest.json b/public/release-manifest.json index f088c5d..c87ef3d 100644 --- a/public/release-manifest.json +++ b/public/release-manifest.json @@ -38,28 +38,28 @@ }, "contractSet": { "setAlgorithm": "CA_CONTRACT_SET_V1", - "setDigest": "sha256:e1b17dd429c6eae9c735cfae0383827b57cc557f5300ece8e691c9178d0e4ba1", + "setDigest": "sha256:54e2295eb185cb608fcbe5c8557e0d4f436d8f83bd200e632f7b20e47b9b76d9", "packages": [ { "packageId": "@tech-log/management-contract", "version": "1.0.0", "digest": "sha256:762aa81e6906469939fddd833c204ed3ca53f0fa96371f18a5ea1edaf76a64e8", "runtimeProtocolVersion": 1, - "sourceRevision": "d445555" + "sourceRevision": "617eb6a" }, { "packageId": "@tech-log/public-contract", "version": "2.1.0", "digest": "sha256:afe415880eb5d6289ae10abf493333c97270c323c16a7245a466d4db4466e630", "runtimeProtocolVersion": 1, - "sourceRevision": "d445555" + "sourceRevision": "617eb6a" }, { "packageId": "@tech-log/studio-contract", "version": "3.1.0", - "digest": "sha256:1732dd7749aea49a41d2ef17dfe9896a73e10b1b97d7d0223b3ac530500816f3", + "digest": "sha256:2236a17064a81ae7e0c358fbc0756c8d89a5bdd7a2dfba36efffae0a448624b1", "runtimeProtocolVersion": 1, - "sourceRevision": "d445555" + "sourceRevision": "617eb6a" } ] } diff --git a/src/features/tech-log/contracts/management/canonical-source.json b/src/features/tech-log/contracts/management/canonical-source.json index cb8f43b..c50aede 100644 --- a/src/features/tech-log/contracts/management/canonical-source.json +++ b/src/features/tech-log/contracts/management/canonical-source.json @@ -2,7 +2,7 @@ "packageId": "@tech-log/management-contract", "version": "1.0.0", "digest": "sha256:762aa81e6906469939fddd833c204ed3ca53f0fa96371f18a5ea1edaf76a64e8", - "sourceRevision": "d445555", + "sourceRevision": "617eb6a", "operationIds": [ "createCaseDraft", "getCaseForEdit", diff --git a/src/features/tech-log/contracts/public/canonical-source.json b/src/features/tech-log/contracts/public/canonical-source.json index 0ffff01..0970c11 100644 --- a/src/features/tech-log/contracts/public/canonical-source.json +++ b/src/features/tech-log/contracts/public/canonical-source.json @@ -2,7 +2,7 @@ "packageId": "@tech-log/public-contract", "version": "2.1.0", "digest": "sha256:afe415880eb5d6289ae10abf493333c97270c323c16a7245a466d4db4466e630", - "sourceRevision": "d445555", + "sourceRevision": "617eb6a", "operationIds": [ "getPublicSite", "getPublicHome", diff --git a/src/features/tech-log/contracts/studio/canonical-source.json b/src/features/tech-log/contracts/studio/canonical-source.json index faf0ffd..deabcbd 100644 --- a/src/features/tech-log/contracts/studio/canonical-source.json +++ b/src/features/tech-log/contracts/studio/canonical-source.json @@ -1,8 +1,8 @@ { "packageId": "@tech-log/studio-contract", "version": "3.1.0", - "digest": "sha256:1732dd7749aea49a41d2ef17dfe9896a73e10b1b97d7d0223b3ac530500816f3", - "sourceRevision": "d445555", + "digest": "sha256:2236a17064a81ae7e0c358fbc0756c8d89a5bdd7a2dfba36efffae0a448624b1", + "sourceRevision": "617eb6a", "operationIds": [ "getStudioSession", "getStudioDashboard", diff --git a/src/features/tech-log/contracts/studio/studio-api.openapi.yaml b/src/features/tech-log/contracts/studio/studio-api.openapi.yaml index d0ea63a..3841d23 100644 --- a/src/features/tech-log/contracts/studio/studio-api.openapi.yaml +++ b/src/features/tech-log/contracts/studio/studio-api.openapi.yaml @@ -917,7 +917,7 @@ components: oneOf: - { type: string, const: "" } - { type: string, minLength: 3, maxLength: 100, pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } - summary: { type: string, maxLength: 300 } + summary: { type: string, maxLength: 600 } topicId: { type: [string, "null"], format: uuid } projectId: type: [string, "null"] @@ -1280,7 +1280,7 @@ components: kind: { $ref: "#/components/schemas/RecordKind" } slug: { type: string, minLength: 3, maxLength: 100, pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } title: { type: string, minLength: 1, maxLength: 120 } - summary: { type: string, maxLength: 300 } + summary: { type: string, maxLength: 600 } publicPath: { type: string, minLength: 1, maxLength: 500 } topic: { $ref: "#/components/schemas/DisplayTarget" } project: diff --git a/src/features/tech-log/presentation/studio/components/common-document-fields.tsx b/src/features/tech-log/presentation/studio/components/common-document-fields.tsx index 0eec399..7795de6 100644 --- a/src/features/tech-log/presentation/studio/components/common-document-fields.tsx +++ b/src/features/tech-log/presentation/studio/components/common-document-fields.tsx @@ -5,6 +5,12 @@ import { RelationEditor } from "./relation-editor.tsx"; type CatalogEntry = components["schemas"]["CatalogEntry"]; +/** + * 요약이 들어갈 수 있는 최대 길이. 계약 `WorkingCopyInputBase.summary` 와 같은 값이어야 한다 — + * 여기가 더 크면 다 쓰고 나서 저장할 때 거절당하고, 더 작으면 쓸 수 있는 자리를 못 쓴다. + */ +const SUMMARY_MAX = 600; + /** 이 화면이 자기 칸 아래에 보여 줄 수 있는 경로. 나머지는 게시 버튼 옆에 남는다. */ export const COMMON_FIELD_PATHS = [ "/title", @@ -37,10 +43,22 @@ export function CommonDocumentFields({
-