diff --git a/public/assets/apps/logos/joinmarket-webui.png b/public/assets/apps/logos/joinmarket-webui.png new file mode 100644 index 00000000..63d41d47 Binary files /dev/null and b/public/assets/apps/logos/joinmarket-webui.png differ diff --git a/src/assets/apps/logos/btcpayserver.png b/src/assets/apps/logos/btcpayserver.png deleted file mode 100644 index bdf97f10..00000000 Binary files a/src/assets/apps/logos/btcpayserver.png and /dev/null differ diff --git a/src/assets/apps/preview/joinmarket-webui/1.png b/src/assets/apps/preview/joinmarket-webui/1.png new file mode 100644 index 00000000..2894b741 Binary files /dev/null and b/src/assets/apps/preview/joinmarket-webui/1.png differ diff --git a/src/assets/apps/preview/joinmarket-webui/2.png b/src/assets/apps/preview/joinmarket-webui/2.png new file mode 100644 index 00000000..b85f01ae Binary files /dev/null and b/src/assets/apps/preview/joinmarket-webui/2.png differ diff --git a/src/assets/apps/preview/joinmarket-webui/3.png b/src/assets/apps/preview/joinmarket-webui/3.png new file mode 100644 index 00000000..ce91aeeb Binary files /dev/null and b/src/assets/apps/preview/joinmarket-webui/3.png differ diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 55eff702..84b7cdac 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -28,6 +28,10 @@ "thunderhub": { "about": "ThunderHub is an open-source LND node manager where you can manage and monitor your node on any device or browser. It allows you to take control of the lightning network with a simple and intuitive UX and the most up-to-date tech stack.", "shortDescription": "LND Lightning Node Manager in your Browser" + }, + "joinmarket-webui": { + "about": "Jam is a web interface for JoinMarket focusing on user-friendliness and ease-of-use. It aims to provide sensible defaults and be easy to use for beginners while still having the features advanced users expect.", + "shortDescription": "Jam - A web interface for JoinMarket" } }, "apps": { diff --git a/src/pages/Apps/__tests__/AppCard.test.tsx b/src/pages/Apps/__tests__/AppCard.test.tsx index e81d05ac..cc26d26d 100644 --- a/src/pages/Apps/__tests__/AppCard.test.tsx +++ b/src/pages/Apps/__tests__/AppCard.test.tsx @@ -8,19 +8,18 @@ const app: App = { author: "Me", name: "someApp", repository: "http://example.com", - version: "1.0.0", }; const appStatus: AppStatus = { id: "123", installed: false, - address: "", authMethod: AuthMethod.NONE, details: "", hiddenService: "", httpsForced: "0", httpsSelfsigned: "0", error: "", + version: "1.0.0", }; const basicProps: Props = { @@ -39,7 +38,15 @@ describe("AppCard", () => { }); test("display open button if installed & address is available", async () => { - render(); + const props = { + ...basicProps, + appStatusInfo: { + ...basicProps.appStatusInfo, + address: "https://bla.com", + }, + }; + console.log(props); + render(); expect(await screen.findByText("apps.open")).toBeDefined(); }); diff --git a/src/utils/availableApps.ts b/src/utils/availableApps.ts index b4103ad5..af306fa8 100644 --- a/src/utils/availableApps.ts +++ b/src/utils/availableApps.ts @@ -65,4 +65,13 @@ export const availableApps: Map = new Map([ repository: "https://github.com/apotdevin/thunderhub", }, ], + [ + "joinmarket-webui", + { + id: "joinmarket-webui", + name: "Jam", + author: "joinmarket-webui Team", + repository: "https://github.com/joinmarket-webui/jam", + }, + ], ]);