From 53d522db69a08d7b5132335d9a4ef71e3d9892e9 Mon Sep 17 00:00:00 2001 From: javis-bot Date: Mon, 16 Nov 2026 09:24:50 +0900 Subject: [PATCH] fix(app): update screen no longer shows "null" when there is no new version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The update screen passed a missing release-notes card straight to the DOM's replaceChildren, which writes null as the text "null" (h() skips nulls, replaceChildren does not). Version 0.1.7, which also carries the 대화 screen and the kept answer traces. Co-Authored-By: Claude Opus 5.5 --- app/Cargo.lock | 2 +- app/Cargo.toml | 2 +- app/shell/Cargo.lock | 4 ++-- app/shell/Cargo.toml | 2 +- app/ui/app.js | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Cargo.lock b/app/Cargo.lock index 4600ef5..8ca2949 100644 --- a/app/Cargo.lock +++ b/app/Cargo.lock @@ -1520,7 +1520,7 @@ checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4" [[package]] name = "jarvis-app" -version = "0.1.6" +version = "0.1.7" dependencies = [ "async-trait", "base64 0.22.1", diff --git a/app/Cargo.toml b/app/Cargo.toml index e51d936..676f791 100644 --- a/app/Cargo.toml +++ b/app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jarvis-app" -version = "0.1.6" +version = "0.1.7" edition = "2021" rust-version = "1.85" description = "Jarvis v2 Windows app core: Discord voice, voice worker supervisor, chat channels" diff --git a/app/shell/Cargo.lock b/app/shell/Cargo.lock index 24959a0..95fa4d9 100644 --- a/app/shell/Cargo.lock +++ b/app/shell/Cargo.lock @@ -2416,7 +2416,7 @@ checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4" [[package]] name = "jarvis-app" -version = "0.1.6" +version = "0.1.7" dependencies = [ "async-trait", "base64 0.22.1", @@ -2445,7 +2445,7 @@ dependencies = [ [[package]] name = "jarvis-shell" -version = "0.1.6" +version = "0.1.7" dependencies = [ "jarvis-app", "serde_json", diff --git a/app/shell/Cargo.toml b/app/shell/Cargo.toml index fd742fd..4386977 100644 --- a/app/shell/Cargo.toml +++ b/app/shell/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jarvis-shell" -version = "0.1.6" +version = "0.1.7" edition = "2021" rust-version = "1.85" description = "Jarvis v2 management app window (Tauri 2 over the app core's AdminApi)" diff --git a/app/ui/app.js b/app/ui/app.js index d7ec3e7..6aeb669 100644 --- a/app/ui/app.js +++ b/app/ui/app.js @@ -845,7 +845,7 @@ function updateScreen() { u.phase === "ready" ? act("update_install", "설치하고 다시 시작", true) : null), u.phase === "ready" ? h("p", { class: "small muted" }, "설치하면 봇과 서비스를 멈추고 Jarvis를 닫은 뒤 새 버전을 설치하고 다시 켭니다. Windows가 관리자 권한을 한 번 묻습니다.") : null), u.latest?.notes ? h("div", { class: "card" }, h("h2", {}, `${u.latest.version} 바뀐 점`), - h("pre", { class: "small", style: "white-space:pre-wrap" }, u.latest.notes)) : null); + h("pre", { class: "small", style: "white-space:pre-wrap" }, u.latest.notes)) : ""); } tick(); return { view: h("div", {}, h("h1", {}, "업데이트"), body), tick };