From b604705624a88c7d1d2fb23bb118664c2f9a7d46 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 5 Nov 2026 21:37:46 +0000 Subject: [PATCH 1/2] Scan Progress health check: '% of data' during the full scan The full scan measures progress by data volume; say so, with two decimals as the dashboard does (the early years barely move it). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01E7wzJobv8ioFW8hq9u9yGK --- startos/i18n/dictionaries/default.ts | 1 + startos/i18n/dictionaries/translations.ts | 4 ++++ startos/main.ts | 14 +++++++++++++- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/startos/i18n/dictionaries/default.ts b/startos/i18n/dictionaries/default.ts index c52807e..4225fb0 100644 --- a/startos/i18n/dictionaries/default.ts +++ b/startos/i18n/dictionaries/default.ts @@ -45,6 +45,7 @@ const dict = { 'Waiting for scan window': 41, 'Reading UTXO set size': 42, '${phase}: ${progress} %': 43, + '${phase}: ${progress} % of data': 44, } as const /** diff --git a/startos/i18n/dictionaries/translations.ts b/startos/i18n/dictionaries/translations.ts index 0ef8aca..e59e38a 100644 --- a/startos/i18n/dictionaries/translations.ts +++ b/startos/i18n/dictionaries/translations.ts @@ -47,6 +47,7 @@ export default { 41: 'Warte auf Scan-Zeitfenster', 42: 'Lese Größe des UTXO-Sets', 43: '${phase}: ${progress} %', + 44: '${phase}: ${progress} % der Daten', }, es_ES: { 0: 'Volver a escanear desde cero', @@ -93,6 +94,7 @@ export default { 41: 'Esperando la ventana de escaneo', 42: 'Leyendo el tamaño del conjunto UTXO', 43: '${phase}: ${progress} %', + 44: '${phase}: ${progress} % de los datos', }, fr_FR: { 0: 'Tout réanalyser depuis le début', @@ -139,6 +141,7 @@ export default { 41: 'En attente de la fenêtre d’analyse', 42: 'Lecture de la taille de l’ensemble UTXO', 43: '${phase} : ${progress} %', + 44: '${phase} : ${progress} % des données', }, pl_PL: { 0: 'Skanuj od nowa', @@ -185,5 +188,6 @@ export default { 41: 'Czekam na okno skanowania', 42: 'Odczytuję rozmiar zbioru UTXO', 43: '${phase}: ${progress} %', + 44: '${phase}: ${progress} % danych', }, } satisfies Record diff --git a/startos/main.ts b/startos/main.ts index c368931..bd9e48b 100644 --- a/startos/main.ts +++ b/startos/main.ts @@ -17,7 +17,8 @@ const STATUS_SCRIPT = [ `r = urllib.request.urlopen("http://127.0.0.1:${uiPort}/api/status", timeout=5)`, 'd = json.load(r)', 'print(json.dumps({"phase": d.get("phase"), "label": d.get("phase_label"),', - ' "progress": d.get("progress"), "detail": d.get("detail")}))', + ' "progress": d.get("progress"), "detail": d.get("detail"),', + ' "by_data": bool(d.get("total_bytes_estimate"))}))', ].join('\n') /** Scan phases of /api/status, named in the package's languages. */ @@ -131,6 +132,7 @@ export const main = sdk.setupMain(async ({ effects }) => { label?: string progress?: number detail?: string + by_data?: boolean } try { st = JSON.parse(String(res.stdout)) @@ -153,6 +155,16 @@ export const main = sdk.setupMain(async ({ effects }) => { if (typeof st.progress !== 'number') { return { result: 'loading', message: name } } + // the full scan measures progress by data volume, as the dashboard says + if (st.phase === 'full' && st.by_data) { + return { + result: 'loading', + message: i18n('${phase}: ${progress} % of data', { + phase: name, + progress: Math.round(st.progress * 100) / 100, + }), + } + } return { result: 'loading', message: i18n('${phase}: ${progress} %', { From f64a59c00fb016aeed0746895cc9a10594253601 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 5 Nov 2026 22:25:24 +0000 Subject: [PATCH 2/2] 0.3.7: release notes; upstream at v0.3.7 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01E7wzJobv8ioFW8hq9u9yGK --- startos/versions/current.ts | 12 ++++++------ upstream | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/startos/versions/current.ts b/startos/versions/current.ts index 2827030..42f78e6 100644 --- a/startos/versions/current.ts +++ b/startos/versions/current.ts @@ -1,18 +1,18 @@ import { IMPOSSIBLE, VersionInfo } from '@start9labs/start-sdk' export const current = VersionInfo.of({ - version: '0.3.6:0', + version: '0.3.7:0', releaseNotes: { en_US: - 'Monetary View 0.3.6: the app now uses one name, Monetary View, everywhere you see it (dashboard, actions, messages, logs). BitcoinMonetaryView remains only the name of its GitHub repository. Requires StartOS 0.4.1 or newer. No change to the figures.', + 'Monetary View 0.3.7: realistic remaining time at the start of the full scan (it showed hundreds of days), progress shown as % of data, clearer latest-block cards (0.3 % instead of 0 %, spam vs. block size), a status bar that fits in every language and on phones, the Scan Progress check now says % of data too, and the technical settings list is folded away. No change to the figures.', de_DE: - 'Monetary View 0.3.6: Die App heißt jetzt überall, wo du sie siehst, einheitlich Monetary View (Dashboard, Aktionen, Meldungen, Logs). BitcoinMonetaryView ist nur noch der Name ihres GitHub-Repositorys. Benötigt StartOS 0.4.1 oder neuer. Keine Änderung an den Zahlen.', + 'Monetary View 0.3.7: realistische Restzeit zu Beginn des vollständigen Scans (sie zeigte Hunderte Tage), Fortschritt als % der Daten, klarere Karten der neuesten Blöcke (0,3 % statt 0 %, Spam vs. Blockgröße), eine Statusleiste, die in jeder Sprache und auf dem Handy passt, die Prüfung Scan-Fortschritt zeigt jetzt ebenfalls % der Daten, und die technische Einstellungsliste ist eingeklappt. Keine Änderung an den Zahlen.', es_ES: - 'Monetary View 0.3.6: la app usa ahora un solo nombre, Monetary View, en todos los lugares donde la ves (panel, acciones, mensajes, registros). BitcoinMonetaryView queda solo como nombre de su repositorio de GitHub. Requiere StartOS 0.4.1 o posterior. Sin cambios en las cifras.', + 'Monetary View 0.3.7: tiempo restante realista al inicio del escaneo completo (mostraba cientos de días), progreso como % de los datos, tarjetas de los últimos bloques más claras (0,3 % en lugar de 0 %, spam frente a tamaño del bloque), una barra de estado que cabe en todos los idiomas y en el móvil, la comprobación Progreso del escaneo ahora también indica % de los datos, y la lista técnica de ajustes aparece plegada. Sin cambios en las cifras.', fr_FR: - 'Monetary View 0.3.6 : l’application porte désormais un seul nom, Monetary View, partout où vous la voyez (tableau de bord, actions, messages, journaux). BitcoinMonetaryView reste seulement le nom de son dépôt GitHub. Nécessite StartOS 0.4.1 ou plus récent. Aucun changement dans les chiffres.', + 'Monetary View 0.3.7 : temps restant réaliste au début de l’analyse complète (il affichait des centaines de jours), progression en % des données, cartes des derniers blocs plus claires (0,3 % au lieu de 0 %, spam par rapport à la taille du bloc), une barre d’état qui tient dans toutes les langues et sur mobile, la vérification Progression de l’analyse indique désormais aussi le % des données, et la liste technique des réglages est repliée. Aucun changement dans les chiffres.', pl_PL: - 'Monetary View 0.3.6: aplikacja ma teraz jedną nazwę, Monetary View, wszędzie tam, gdzie ją widzisz (panel, akcje, komunikaty, logi). BitcoinMonetaryView pozostaje tylko nazwą jej repozytorium na GitHubie. Wymaga StartOS 0.4.1 lub nowszego. Bez zmian w liczbach.', + 'Monetary View 0.3.7: realistyczny pozostały czas na początku pełnego skanowania (pokazywał setki dni), postęp jako % danych, czytelniejsze karty najnowszych bloków (0,3 % zamiast 0 %, spam a rozmiar bloku), pasek stanu, który mieści się w każdym języku i na telefonie, kontrola Postęp skanowania także pokazuje teraz % danych, a techniczna lista ustawień jest zwinięta. Bez zmian w liczbach.', }, migrations: { up: async ({ effects }) => {}, diff --git a/upstream b/upstream index b76b0d9..4d30b81 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit b76b0d9057ba393ba7e553114d1be20eebe4d2ff +Subproject commit 4d30b81910eda7615f5d35f45ae265b2c869d782