feat: Bitcoin IBD sync progress indicator in Bitcoin tile

Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/2c6f8fb7-5361-469b-b12b-ef846ffb669f

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-05 05:33:05 +00:00
committed by GitHub
parent 8ca1ea8e78
commit abaae7f360
4 changed files with 234 additions and 8 deletions

View File

@@ -12,6 +12,7 @@ function statusClass(health) {
if (health === "inactive") return "inactive";
if (health === "failed") return "failed";
if (health === "disabled") return "disabled";
if (health === "syncing") return "syncing";
if (STATUS_LOADING_STATES.has(health)) return "loading";
return "unknown";
}
@@ -23,6 +24,7 @@ function statusText(health, enabled) {
if (health === "active") return "Active";
if (health === "inactive") return "Inactive";
if (health === "failed") return "Failed";
if (health === "syncing") return "Syncing\u2026";
if (!health || health === "unknown") return "Unknown";
if (STATUS_LOADING_STATES.has(health)) return health;
return health;