fix(527-1): B07 확정 표시 걷음 — 정보칸 「확정/잠정」 배지 · CAD 보기 전용 알림 옛 「확정한 도면 · [수정]」 글 · 저장 실패 글 「확정」 → 「저장」

- [>] 「도면 저장」 단계는 요구 281 · 520-3 그대로(고친 도면만 서버 저장 → 단계 완료 → 이동)
- 서버 끝점 · manifest confirmed 키 = 안쪽 이름이라 그대로(브레인 정함)
- 평면도 설정 모달 배지는 sub5(524) 몫

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-25 14:28:28 +09:00
co-authored by Claude Opus 5.5
parent 7e2bc3a8e7
commit 5a1490ddaa
7 changed files with 8 additions and 27 deletions
@@ -30,8 +30,8 @@ export function runCommand(command: CadCommand): string {
// 확정한 도면은 읽기 전용이다 — 보는 명령만 통과시킨다. 리본·명령행·단축키가 모두
// 이 한 곳을 지나므로 여기서 한 번 막으면 새는 길이 없다 (2026-09-01 사용자 확정).
if (isDrawingReadOnly() && !isViewOnlyCommand(command)) {
toast.info(`확정한 도면입니다. 고치려면 [수정]을 먼저 누르세요. (${command.label})`);
logLine(`${command.id}: 확정 도면 — 실행하지 않음`);
toast.info(`보기 전용 도면입니다. (${command.label})`);
logLine(`${command.id}: 보기 전용 — 실행하지 않음`);
return '';
}
if (command.needsSelection && getSelectedEntities().length === 0) {
@@ -91,7 +91,7 @@ export function clearRecovery(): void {
export async function restoreRecovery(): Promise<void> {
if (isDrawingReadOnly()) {
toast.info('확정한 도면입니다. 되살리려면 [수정]을 먼저 누르세요.');
toast.info('보기 전용 도면입니다.');
return;
}
const file = readRecovery();
@@ -205,7 +205,7 @@ export function handleTextDoubleClick(event: MouseEvent, canvas: HTMLCanvasEleme
return;
}
if (isDrawingReadOnly()) {
toast.info('확정한 도면입니다. 고치려면 [수정]을 먼저 누르세요.');
toast.info('보기 전용 도면입니다.');
return;
}
const drawController = getScreenCanvasDrawController();