Hide inline release progress text; keep log height fixed
This commit is contained in:
@@ -169,7 +169,7 @@ export function initReleaseUI({ showToast, showBusy, hideBusy, confirmAction })
|
||||
if (releaseCurrent) releaseCurrent.textContent = current_version;
|
||||
if (releaseLatest) releaseLatest.textContent = latest_version;
|
||||
if (releaseAutoCheck) releaseAutoCheck.checked = !!auto_check;
|
||||
if (releaseProgress) releaseProgress.textContent = progress || "";
|
||||
if (releaseProgress) releaseProgress.textContent = "";
|
||||
if (status === "in_progress" && progress) {
|
||||
showBusy("Working on update…", progress || "This can take up to a minute.");
|
||||
pollReleaseStatus();
|
||||
@@ -224,7 +224,6 @@ export function initReleaseUI({ showToast, showBusy, hideBusy, confirmAction })
|
||||
|
||||
releaseCheckBtn?.addEventListener("click", async () => {
|
||||
try {
|
||||
if (releaseProgress) releaseProgress.textContent = "Checking for updates…";
|
||||
logRelease("Checking for updates…");
|
||||
await checkRelease();
|
||||
await loadReleaseStatus(true);
|
||||
@@ -261,7 +260,6 @@ export function initReleaseUI({ showToast, showBusy, hideBusy, confirmAction })
|
||||
}
|
||||
releaseBusyActive = true;
|
||||
showBusy("Updating Pi-Kit…", "Applying release. This can take up to a minute.");
|
||||
if (releaseProgress) releaseProgress.textContent = "Downloading and installing…";
|
||||
logRelease("Starting upgrade…");
|
||||
await applyRelease();
|
||||
pollReleaseStatus();
|
||||
@@ -278,7 +276,6 @@ export function initReleaseUI({ showToast, showBusy, hideBusy, confirmAction })
|
||||
try {
|
||||
releaseBusyActive = true;
|
||||
showBusy("Rolling back…", "Restoring previous backup.");
|
||||
if (releaseProgress) releaseProgress.textContent = "Rolling back…";
|
||||
logRelease("Starting rollback…");
|
||||
await rollbackRelease();
|
||||
pollReleaseStatus();
|
||||
|
||||
Reference in New Issue
Block a user