feat(826-3-2): 줄 쌓기 화면 미리 셈 답의 사본 표지를 머리 배지에 얹음

- 옵션 · 기계 · 지역 바꿈 → 서버 미리 셈 → 「사본 없는 줄 n」 바로 보임 · 저장하면 사라짐

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-12 20:24:16 +09:00
co-authored by Claude Opus 5.5
parent 55b20510fd
commit 41e5bccb16
+2 -1
View File
@@ -188,7 +188,7 @@ export function createStackScreen(opt: StackScreenOptions) {
ctl?.abort();
ctl = new AbortController();
const mine = ++seq;
void call<{ 연결: DocRecord }>(
void call<{ 연결: DocRecord; 사본?: CopyMark }>(
"/preview",
cp ? { 문서: doc, 끊음: cut } : { 문서: key ? doc : { ...doc, 키: "_새" }, 입력: usable() },
ctl.signal,
@@ -197,6 +197,7 @@ export function createStackScreen(opt: StackScreenOptions) {
if (mine !== seq) return;
cache.merge(got.연결);
cache.merge({ 문서: cut });
if (got.사본) mark = got.사본; // 새로 읽은 줄 「사본 없는 줄 n」(826-3)
recalc();
draw();
})