From f856e62209ffff4d9eeb8055e156f4cfa46b03ad Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sat, 19 Sep 2026 18:46:31 +0900 Subject: [PATCH] =?UTF-8?q?feat(M01):=20=EB=A1=9C=EC=A7=81=20=ED=83=AD=20-?= =?UTF-8?q?=20sub=5Flaptop=5F4=20=EB=A1=9C=EC=A7=81=20=ED=99=94=EB=A9=B4(m?= =?UTF-8?q?ountM01Logic)=20=EC=97=B0=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_016WRFJmmhPi4exAzHgPZHMT --- M01_MasterData/M01_MasterData_UI_Page.ts | 18 ++++++++++++++++++ ui_template/ui_template_locale_m1.ts | 1 + 2 files changed, 19 insertions(+) diff --git a/M01_MasterData/M01_MasterData_UI_Page.ts b/M01_MasterData/M01_MasterData_UI_Page.ts index 69f178ac..2e7af22e 100644 --- a/M01_MasterData/M01_MasterData_UI_Page.ts +++ b/M01_MasterData/M01_MasterData_UI_Page.ts @@ -207,6 +207,24 @@ function buildPage(groups: GroupInfo[]): HTMLElement { tabs.append(tab); } + const logicTab = el("button", { + className: "m01-master__tab", + attrs: { type: "button" }, + text: L("M01_LogicTab"), + }); + logicTab.addEventListener("click", () => { + tabs.querySelector(".is-active")?.classList.remove("is-active"); + logicTab.classList.add("is-active"); + group = ""; + current = null; + dispose(); + files.replaceChildren(); + body.replaceChildren(); + title.textContent = L("M01_LogicTab"); + void import("./M01_MasterData_UI_Logic_Page").then((m) => m.mountM01Logic(body)); + }); + tabs.append(logicTab); + const layout = el("div", { className: "ui-workflow-layout m01-master" }); const main = el("main", { className: "ui-workflow-layout__main", diff --git a/ui_template/ui_template_locale_m1.ts b/ui_template/ui_template_locale_m1.ts index 1429d66d..d19b5f78 100644 --- a/ui_template/ui_template_locale_m1.ts +++ b/ui_template/ui_template_locale_m1.ts @@ -5,6 +5,7 @@ export const ui_locales_m1 = { B01_Dashboard_MasterElements: ["마스터 요소", "Master Elements"], + M01_LogicTab: ["로직", "Logic"], M01_Title: ["마스터 요소", "Master Elements"], M01_AdminOnly: ["시스템 관리자만 볼 수 있음", "System administrators only"], M01_LoadFailed: ["마스터 요소를 못 읽음", "Failed to load master elements"],