From ba2c36e80335338382f4e8f1818894cfbd4dc481 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Mon, 14 Sep 2026 06:16:00 +0900 Subject: [PATCH] =?UTF-8?q?feat(b09):=20=EA=B8=B0=EC=84=B1=20=ED=83=AD=20?= =?UTF-8?q?=EB=A7=88=EC=A7=80=EB=A7=89=20=ED=9A=8C=EC=B0=A8=20=EC=A7=80?= =?UTF-8?q?=EC=9A=B0=EA=B8=B0=20=E2=80=94=20=EC=95=9E=20=ED=9A=8C=EC=B0=A8?= =?UTF-8?q?=EB=8A=94=20=EB=92=A4=20=ED=9A=8C=EC=B0=A8=20=EC=A0=84=ED=9A=8C?= =?UTF-8?q?=EB=A5=BC=20=ED=9D=94=EB=93=A4=EC=96=B4=20=EB=A7=88=EC=A7=80?= =?UTF-8?q?=EB=A7=89=EB=A7=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01BW6Jdsh18WPtYUR6THZJqn --- B09_Estimation/B09_Estimation_UI_Tab_Progress.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/B09_Estimation/B09_Estimation_UI_Tab_Progress.ts b/B09_Estimation/B09_Estimation_UI_Tab_Progress.ts index 9fc70bcb..359e6401 100644 --- a/B09_Estimation/B09_Estimation_UI_Tab_Progress.ts +++ b/B09_Estimation/B09_Estimation_UI_Tab_Progress.ts @@ -188,6 +188,19 @@ function drawPanel(ctx: B09TabContext, data: ProgressDto, reload: (round: number }, }), ); + if (draft.rounds.length) { + box.append( + createButton({ + label: `${draft.rounds.length}회 지우기(저장)`, + variant: "ghost", + onClick: () => { + // 앞 회차를 지우면 뒤 회차의 전회가 통째로 바뀜 — 마지막 회차만 지움. + draft.rounds.pop(); + void save(draft.rounds.length); + }, + }), + ); + } const current = draft.rounds[data.round - 1]; if (current) { const vat = el("label");