From 846480b71ea80fce6d8c6c38822899ca4a6524dd Mon Sep 17 00:00:00 2001 From: Coracle-Bot Date: Mon, 14 Sep 2026 19:29:05 +0000 Subject: [PATCH] Render a goal progress bar and its fixtures in the same units as its label --- e2e/specs/community.spec.ts | 4 ++-- src/app/components/GoalSummary.svelte | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/e2e/specs/community.spec.ts b/e2e/specs/community.spec.ts index bd2dbc40..da073e03 100644 --- a/e2e/specs/community.spec.ts +++ b/e2e/specs/community.spec.ts @@ -479,7 +479,7 @@ test("US-050 create a funding goal and track its progress", async ({seed, as}) = .writer() .setTitle("New PA system") .setSummary("The old one hums through every song.") - .setAmount(50000) + .setAmount(toMsats(50000)) .setUrls([space.url]) .renderTemplate(), at(60, HOUR), @@ -493,7 +493,7 @@ test("US-050 create a funding goal and track its progress", async ({seed, as}) = .writer() .setTitle("Soundproofing") .setSummary("The neighbours have opinions about band practice.") - .setAmount(20000) + .setAmount(toMsats(20000)) .setUrls([space.url]) .renderTemplate(), at(30, HOUR), diff --git a/src/app/components/GoalSummary.svelte b/src/app/components/GoalSummary.svelte index 3eafb10f..94123b58 100644 --- a/src/app/components/GoalSummary.svelte +++ b/src/app/components/GoalSummary.svelte @@ -38,7 +38,8 @@

{daysOld === 1 ? "day" : "days"} old

- + Contribute to this goal