test(323-9 저장 다시 그림): 뒤처리 = 한 벌 차례(공용 캐시 한 번 비움 → 횡단 보기 done) 따름 (416-2)

- 416 M1 로 캐시 비우기가 횡단 보기 done 에서 한 벌(design_shared) done 으로 옮겨짐 — 헬퍼가 횡단 보기 done 만 불러 비우기가 빠짐
- 앱 동작은 그대로(한 벌이 비운 뒤 보기 몫) · 헬퍼 done 을 한 벌 차례로

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VmC34fsxxbweEG3RUjs3Mn
This commit is contained in:
2026-10-18 13:37:58 +09:00
co-authored by Claude Opus 5.5
parent 69823d830d
commit beec356af3
@@ -76,7 +76,7 @@ const { saveDesign, savingDesign } = loadTs(
path.join(ROOT, "A00_Common", "design", "design_save.ts"),
);
const { crossSaveParts } = loadTs(path.join(B06, "B06_Section_UI_Page_Persist.ts"));
const { loadSectionDetail } = loadTs(path.join(B06, "B06_Section_Section_Store.ts"));
const { invalidateSectionDetail, loadSectionDetail } = loadTs(path.join(B06, "B06_Section_Section_Store.ts"));
(async () => {
const P = "p1";
@@ -127,8 +127,11 @@ const { loadSectionDetail } = loadTs(path.join(B06, "B06_Section_Section_Store.t
...parts.steps,
},
cross: (confirm) => parts.cross(confirm),
// 뒤처리 = 한 벌(`design_shared` saveSharedDesign done) 차례 그대로 — 공용 캐시를 한 번 비운 뒤 보기 몫(416 M1 ·
// 횡단 보기 done 은 비우지 않고 다시 그리기만)
done: async () => {
savingSeen.push(savingDesign(P));
invalidateSectionDetail(P);
await parts.done(false);
},
failed: (error) => calls.push(`failed:${error}`),