From f5303e4c2bce3134c73c5cb0f635052442fa772d Mon Sep 17 00:00:00 2001 From: ypshim Date: Thu, 22 Oct 2026 09:44:49 +0900 Subject: [PATCH] =?UTF-8?q?feat(view):=20project=20save/open,=20Ctrl+S,=20?= =?UTF-8?q?save=20status,=20IndexedDB=20auto-backup=20(plan=20B2=E2=80=93B?= =?UTF-8?q?5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 저장 (Ctrl+S) downloads <교량명>_교각설계.pzr.json; 프로젝트 열기 reads it back and regenerates every pier without the source workbook. - Save status in the header: 저장 전 / 변경 있음 · 미저장 / 저장됨. The snapshot excludes the history so a save is not counted as a change. - Auto-backup to IndexedDB 0.8 s after changes while unsaved; on start a banner offers recovery or discard. Storage failures are reported, not fatal. - beforeunload warns while there are unsaved changes. - B1 (default-vs-changed tracking) is not added yet: inputs are not editable until the 2단계 input cards exist. - Not verified in a browser (no debuggable Chrome in this session). Co-Authored-By: Claude Haiku 5.5 --- index.html | 9 +++ src/main.ts | 143 +++++++++++++++++++++++++++++++++++++++++++++ src/view/backup.ts | 53 +++++++++++++++++ 3 files changed, 205 insertions(+) create mode 100644 src/view/backup.ts diff --git a/index.html b/index.html index aa21a09..68b98c1 100644 --- a/index.html +++ b/index.html @@ -19,11 +19,20 @@
+ + + + 저장 전

엑셀을 불러오면 교각 형상을 생성합니다.

+