From a4f1a59cd346cb89bf5086e9fd6c460e9a876ba6 Mon Sep 17 00:00:00 2001 From: Roland Bewick Date: Tue, 21 Jan 2025 12:44:41 +0700 Subject: [PATCH 1/5] feat: show hub interactions on app store detail pages --- frontend/src/components/SuggestedAppData.tsx | 151 +++++++++------ .../src/screens/appstore/AppStoreDetail.tsx | 180 ++++++++++-------- 2 files changed, 191 insertions(+), 140 deletions(-) diff --git a/frontend/src/components/SuggestedAppData.tsx b/frontend/src/components/SuggestedAppData.tsx index a2ba6e7a..e017836a 100644 --- a/frontend/src/components/SuggestedAppData.tsx +++ b/frontend/src/components/SuggestedAppData.tsx @@ -9,7 +9,6 @@ import clams from "src/assets/suggested-apps/clams.png"; import coracle from "src/assets/suggested-apps/coracle.png"; import damus from "src/assets/suggested-apps/damus.png"; import hablanews from "src/assets/suggested-apps/habla-news.png"; -import kiwi from "src/assets/suggested-apps/kiwi.png"; import lnbits from "src/assets/suggested-apps/lnbits.png"; import lume from "src/assets/suggested-apps/lume.png"; import nostrcheckserver from "src/assets/suggested-apps/nostrcheck-server.png"; @@ -51,6 +50,7 @@ export type SuggestedApp = { chromeLink?: string; firefoxLink?: string; + interactions?: string; guide?: React.ReactNode; internal?: boolean; }; @@ -86,6 +86,7 @@ export const suggestedApps: SuggestedApp[] = [ "https://chromewebstore.google.com/detail/iokeahhehimjnekafflcihljlcjccdbe", firefoxLink: "https://addons.mozilla.org/en-US/firefox/addon/alby/", logo: alby, + interactions: "Seamlessly connects your hub to lightning-enabled websites", guide: ( <>
@@ -149,6 +150,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://damus.io/?utm_source=getalby", appleLink: "https://apps.apple.com/ca/app/damus/id1628663131", logo: damus, + interactions: "Tip nostr posts and profiles and pay invoices seamlessly", guide: ( <>
@@ -199,6 +201,7 @@ export const suggestedApps: SuggestedApp[] = [ playLink: "https://play.google.com/store/apps/details?id=com.vitorpamplona.amethyst", logo: amethyst, + interactions: "Tip nostr posts and profiles and pay invoices seamlessly", guide: ( <>
@@ -257,6 +260,7 @@ export const suggestedApps: SuggestedApp[] = [ // NWC is not supported on iOS // appleLink: "https://apps.apple.com/us/app/primal/id1673134518", logo: primal, + interactions: "Tip nostr posts and profiles and pay invoices seamlessly", guide: ( <>
@@ -315,6 +319,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Stream and stack sats", webLink: "https://zap.stream/", logo: zapstream, + interactions: + "Tip streamers, zap comments and pay for streaming time seamlessly", guide: ( <>
@@ -372,6 +378,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Bitcoin payment processor", webLink: "https://btcpayserver.org/", logo: btcpay, + interactions: + "Receive payments directly to your hub for products you sell online", guide: ( <>
@@ -448,6 +456,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Wallet accounts system with extensions", webLink: "https://lnbits.com/", logo: lnbits, + interactions: + "Connect your Alby Hub to LNbits to give extra functionality through plugins such as BOLT cards and lightning vouchers", guide: ( <>
@@ -527,6 +537,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Desktop Nostr client", webLink: "https://coracle.social/", logo: coracle, + interactions: "Tip nostr posts and profiles and pay invoices seamlessly", guide: ( <>

@@ -608,6 +619,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Minimalistic, desktop Nostr client", webLink: "https://nostter.app/", logo: nostter, + interactions: "Tip nostr posts and profiles and pay invoices seamlessly", guide: ( <>

@@ -691,6 +703,7 @@ export const suggestedApps: SuggestedApp[] = [ "https://play.google.com/store/apps/details?id=com.wavlake.mobile", appleLink: "https://testflight.apple.com/join/eWnqECG4", logo: wavlake, + interactions: "Pay to upvote music you enjoy seamlessly", guide: ( <>

@@ -740,6 +753,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Web Nostr client", webLink: "https://snort.social/", logo: snort, + interactions: "Tip nostr posts and profiles and pay invoices seamlessly", guide: ( <>
@@ -798,6 +812,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Blogging platform", webLink: "https://habla.news/", logo: hablanews, + interactions: "Tip nostr posts and profiles and pay invoices seamlessly", guide: ( <>
@@ -858,6 +873,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Multi wallet accounting tool", webLink: "https://clams.tech/", logo: clams, + interactions: + "Reads your transaction list to provide insights and accounting tools", guide: ( <>
@@ -908,6 +925,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Sovereign Nostr services", webLink: "https://github.com/quentintaranpino/nostrcheck-server", logo: nostrcheckserver, + interactions: + "Enable payments to your hub from users who register or upload and download files", guide: ( <>
@@ -956,6 +975,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Web Nostr client", webLink: "https://nostrudel.ninja/", logo: nostrudel, + interactions: "Tip nostr posts and profiles and pay invoices seamlessly", guide: ( <>
@@ -1020,6 +1040,7 @@ export const suggestedApps: SuggestedApp[] = [ "https://play.google.com/store/apps/details?id=com.yakihonne.yakihonne", appleLink: "https://apps.apple.com/us/app/yakihonne/id6472556189", logo: yakihonne, + interactions: "Tip nostr posts and profiles and pay invoices seamlessly", guide: ( <>
@@ -1085,6 +1106,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Zap from any client", webLink: "https://www.zapplepay.com/", logo: zapplepay, + interactions: + "ZapplePay will make payments from your hub to zap posts when you react to them", guide: ( <>
@@ -1139,6 +1162,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "macOS Nostr client", webLink: "https://lume.nu/", logo: lume, + interactions: "Tip nostr posts and profiles and pay invoices seamlessly", guide: ( <>
@@ -1194,69 +1218,72 @@ export const suggestedApps: SuggestedApp[] = [ ), }, - { - id: "kiwi", - title: "Kiwi", - description: "Nostr communities", - webLink: "https://nostr.kiwi/", - logo: kiwi, - guide: ( - <> -
-

In Kiwi

-
    -
  • - 1. Open{" "} - - nostr.kiwi - {" "} - in your browser -
  • -
  • - 2. Click on {" "} - → Settings -
  • -
  • - 3. Choose{" "} - - Custom Nostr Wallet Connect - -
  • -
-
-
-

In Alby Hub

-
    -
  • - 4. Click{" "} - - Connect to Kiwi - -
  • -
  • 5. Set app's wallet permissions (full access recommended)
  • -
-
-
-

In Kiwi

-
    -
  • 6. Paste the connection secret from Alby Hub
  • -
-
- - ), - }, + // { + // id: "kiwi", + // title: "Kiwi", + // description: "Nostr communities", + // webLink: "https://nostr.kiwi/", + // logo: kiwi, + // interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + // guide: ( + // <> + //
+ //

In Kiwi

+ //
    + //
  • + // 1. Open{" "} + // + // nostr.kiwi + // {" "} + // in your browser + //
  • + //
  • + // 2. Click on {" "} + // → Settings + //
  • + //
  • + // 3. Choose{" "} + // + // Custom Nostr Wallet Connect + // + //
  • + //
+ //
+ //
+ //

In Alby Hub

+ //
    + //
  • + // 4. Click{" "} + // + // Connect to Kiwi + // + //
  • + //
  • 5. Set app's wallet permissions (full access recommended)
  • + //
+ //
+ //
+ //

In Kiwi

+ //
    + //
  • 6. Paste the connection secret from Alby Hub
  • + //
+ //
+ // + // ), + // }, { id: "zappy-bird", title: "Zappy Bird", description: "Lose sats quickly", webLink: "https://rolznz.github.io/zappy-bird/", logo: zappybird, + interactions: + "Makes a payment from your hub each time your bird flaps its wings", guide: ( <>
@@ -1318,6 +1345,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://nostur.com/", appleLink: "https://apps.apple.com/us/app/nostur-nostr-client/id1672780508", logo: nostur, + interactions: "Tip nostr posts and profiles and pay invoices seamlessly", guide: ( <>
@@ -1372,6 +1400,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Map of notes", webLink: "https://wherostr.social/", logo: wherostr, + interactions: "Tip nostr posts and profiles and pay invoices seamlessly", guide: ( <>
@@ -1430,6 +1459,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Like Hacker News but with Bitcoin", webLink: "https://stacker.news/", logo: stackernews, + interactions: "Uses your hub to pay to upvote posts", guide: ( <>
@@ -1528,6 +1558,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Paper Scissors Rock with bitcoin at stake", webLink: "https://paper-scissors-hodl.fly.dev", logo: paperScissorsHodl, + interactions: + "Uses your hub to pay to play a round, and receive the reward if you win", guide: ( <>
@@ -1586,6 +1618,7 @@ export const suggestedApps: SuggestedApp[] = [ appleLink: "https://apps.apple.com/us/app/alby-go/id6471335774", zapStoreLink: "https://zapstore.dev/download/", logo: albyGo, + interactions: "Sends and receives payments seamlessly from your hub", guide: ( <>
@@ -1634,6 +1667,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Instantly pull up anything with private web search + AI", webLink: "https://www.pullthatupjamie.ai/", logo: pullthatupjamie, + interactions: "Pay from your hub to do private AI-powered searches", guide: ( <>
@@ -1690,6 +1724,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Discover great apps through your social connections", webLink: "https://zapstore.dev/", logo: zapstore, + interactions: "Pay to zap apps and support their creators", guide: ( <>
diff --git a/frontend/src/screens/appstore/AppStoreDetail.tsx b/frontend/src/screens/appstore/AppStoreDetail.tsx index 132f5d62..40db8b5e 100644 --- a/frontend/src/screens/appstore/AppStoreDetail.tsx +++ b/frontend/src/screens/appstore/AppStoreDetail.tsx @@ -55,98 +55,114 @@ export function AppStoreDetail() { } />
- {(app.appleLink || - app.playLink || - app.zapStoreLink || - app.chromeLink || - app.firefoxLink) && ( +
- Get This App + Alby Hub Interactions - - {app.playLink && ( - - - - )} - {app.appleLink && ( - - - - )} - {app.zapStoreLink && ( - - - - )} - {app.chromeLink && ( - - - - )} - {app.firefoxLink && ( - - - - )} - + {app.interactions && ( + +

{app.interactions}

+
+ )}
- )} - {app.webLink && ( - Links + How to Connect - - {app.webLink && ( - - - + + {app.guide || ( +
    +
  • Install the app
  • +
  • + Click{" "} + + + +
  • +
  • + Open the Alby Go app on your mobile and scan the QR code +
  • +
)} -
+
- )} -
- - - How to Connect - - - {app.guide || ( -
    -
  • Install the app
  • -
  • - Click{" "} - - - -
  • -
  • Open the Alby Go app on your mobile and scan the QR code
  • -
+
+
+ {(app.appleLink || + app.playLink || + app.zapStoreLink || + app.chromeLink || + app.firefoxLink) && ( + + + Get This App + + + {app.playLink && ( + + + + )} + {app.appleLink && ( + + + + )} + {app.zapStoreLink && ( + + + + )} + {app.chromeLink && ( + + + + )} + {app.firefoxLink && ( + + + + )} + + )} - - + {app.webLink && ( + + + Links + + + {app.webLink && ( + + + + )} + + + )} +
+
); } From f61e52eb2dc521cc9cc13ba3bcad7407a37f8180 Mon Sep 17 00:00:00 2001 From: Moritz Kaminski Date: Tue, 21 Jan 2025 14:06:50 +0100 Subject: [PATCH 2/5] Updates app descriptions/interactions with Alby Hub --- frontend/src/components/SuggestedAppData.tsx | 50 ++++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/frontend/src/components/SuggestedAppData.tsx b/frontend/src/components/SuggestedAppData.tsx index e017836a..6b4174ef 100644 --- a/frontend/src/components/SuggestedAppData.tsx +++ b/frontend/src/components/SuggestedAppData.tsx @@ -86,7 +86,7 @@ export const suggestedApps: SuggestedApp[] = [ "https://chromewebstore.google.com/detail/iokeahhehimjnekafflcihljlcjccdbe", firefoxLink: "https://addons.mozilla.org/en-US/firefox/addon/alby/", logo: alby, - interactions: "Seamlessly connects your hub to lightning-enabled websites", + interactions: "Connect your Hub to lightning-enabled websites and lets you pay seamlessly on the web", guide: ( <>
@@ -150,7 +150,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://damus.io/?utm_source=getalby", appleLink: "https://apps.apple.com/ca/app/damus/id1628663131", logo: damus, - interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -201,7 +201,7 @@ export const suggestedApps: SuggestedApp[] = [ playLink: "https://play.google.com/store/apps/details?id=com.vitorpamplona.amethyst", logo: amethyst, - interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -260,7 +260,7 @@ export const suggestedApps: SuggestedApp[] = [ // NWC is not supported on iOS // appleLink: "https://apps.apple.com/us/app/primal/id1673134518", logo: primal, - interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -320,7 +320,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://zap.stream/", logo: zapstream, interactions: - "Tip streamers, zap comments and pay for streaming time seamlessly", + "Tip streamers, zap comments and pay or receive sats for streaming time with your Hub", guide: ( <>
@@ -379,7 +379,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://btcpayserver.org/", logo: btcpay, interactions: - "Receive payments directly to your hub for products you sell online", + "Receive payments directly to your Hub for products you sell online", guide: ( <>
@@ -537,7 +537,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Desktop Nostr client", webLink: "https://coracle.social/", logo: coracle, - interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>

@@ -619,7 +619,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Minimalistic, desktop Nostr client", webLink: "https://nostter.app/", logo: nostter, - interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>

@@ -703,7 +703,7 @@ export const suggestedApps: SuggestedApp[] = [ "https://play.google.com/store/apps/details?id=com.wavlake.mobile", appleLink: "https://testflight.apple.com/join/eWnqECG4", logo: wavlake, - interactions: "Pay to upvote music you enjoy seamlessly", + interactions: "Support artists by paying to upvote music you enjoy with your Hub", guide: ( <>

@@ -753,7 +753,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Web Nostr client", webLink: "https://snort.social/", logo: snort, - interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -812,7 +812,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Blogging platform", webLink: "https://habla.news/", logo: hablanews, - interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -874,7 +874,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://clams.tech/", logo: clams, interactions: - "Reads your transaction list to provide insights and accounting tools", + "Get insights into your transaction history and accounting tools by connecting your Hub", guide: ( <>
@@ -926,7 +926,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://github.com/quentintaranpino/nostrcheck-server", logo: nostrcheckserver, interactions: - "Enable payments to your hub from users who register or upload and download files", + "Enable payments to your Hub from users who register or upload and download files", guide: ( <>
@@ -975,7 +975,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Web Nostr client", webLink: "https://nostrudel.ninja/", logo: nostrudel, - interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -1040,7 +1040,7 @@ export const suggestedApps: SuggestedApp[] = [ "https://play.google.com/store/apps/details?id=com.yakihonne.yakihonne", appleLink: "https://apps.apple.com/us/app/yakihonne/id6472556189", logo: yakihonne, - interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -1107,7 +1107,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://www.zapplepay.com/", logo: zapplepay, interactions: - "ZapplePay will make payments from your hub to zap posts when you react to them", + "ZapplePay will make payments from your Hub to zap posts when you react to them", guide: ( <>
@@ -1162,7 +1162,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "macOS Nostr client", webLink: "https://lume.nu/", logo: lume, - interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -1283,7 +1283,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://rolznz.github.io/zappy-bird/", logo: zappybird, interactions: - "Makes a payment from your hub each time your bird flaps its wings", + "Makes a payment from your Hub each time your bird flaps its wings", guide: ( <>
@@ -1345,7 +1345,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://nostur.com/", appleLink: "https://apps.apple.com/us/app/nostur-nostr-client/id1672780508", logo: nostur, - interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -1400,7 +1400,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Map of notes", webLink: "https://wherostr.social/", logo: wherostr, - interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -1459,7 +1459,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Like Hacker News but with Bitcoin", webLink: "https://stacker.news/", logo: stackernews, - interactions: "Uses your hub to pay to upvote posts", + interactions: "Upvote posts with sats and receive sats for your own posts directly in your Hub", guide: ( <>
@@ -1559,7 +1559,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://paper-scissors-hodl.fly.dev", logo: paperScissorsHodl, interactions: - "Uses your hub to pay to play a round, and receive the reward if you win", + "Uses your Hub to pay to play a round, and receive the reward if you win", guide: ( <>
@@ -1618,7 +1618,7 @@ export const suggestedApps: SuggestedApp[] = [ appleLink: "https://apps.apple.com/us/app/alby-go/id6471335774", zapStoreLink: "https://zapstore.dev/download/", logo: albyGo, - interactions: "Sends and receives payments seamlessly from your hub", + interactions: "Sends and receives payments seamlessly from your Hub", guide: ( <>
@@ -1667,7 +1667,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Instantly pull up anything with private web search + AI", webLink: "https://www.pullthatupjamie.ai/", logo: pullthatupjamie, - interactions: "Pay from your hub to do private AI-powered searches", + interactions: "Pay from your Hub to do private AI-powered searches", guide: ( <>
@@ -1724,7 +1724,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Discover great apps through your social connections", webLink: "https://zapstore.dev/", logo: zapstore, - interactions: "Pay to zap apps and support their creators", + interactions: "Pay to zap apps and support their creators seamlessly with your Hub", guide: ( <>
From b2340d7f92bce61098814a3fc07ec2384e21df37 Mon Sep 17 00:00:00 2001 From: Moritz Kaminski Date: Tue, 21 Jan 2025 14:12:00 +0100 Subject: [PATCH 3/5] Update AppStoreDetail.tsx I'd emphasize on what you can do with the app together with Alby Hub. The technical interaction details are maybe less important at this point when it is about discovery of an app. --- frontend/src/screens/appstore/AppStoreDetail.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/screens/appstore/AppStoreDetail.tsx b/frontend/src/screens/appstore/AppStoreDetail.tsx index 40db8b5e..b0321418 100644 --- a/frontend/src/screens/appstore/AppStoreDetail.tsx +++ b/frontend/src/screens/appstore/AppStoreDetail.tsx @@ -58,7 +58,7 @@ export function AppStoreDetail() {
- Alby Hub Interactions + About the App {app.interactions && ( From be49050a0241d839829775715733548e049a0d92 Mon Sep 17 00:00:00 2001 From: Roland Bewick Date: Wed, 22 Jan 2025 14:38:05 +0700 Subject: [PATCH 4/5] fix: formatting --- frontend/src/components/SuggestedAppData.tsx | 48 +++++++++++++------- 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/frontend/src/components/SuggestedAppData.tsx b/frontend/src/components/SuggestedAppData.tsx index 6b4174ef..cfe4200a 100644 --- a/frontend/src/components/SuggestedAppData.tsx +++ b/frontend/src/components/SuggestedAppData.tsx @@ -86,7 +86,8 @@ export const suggestedApps: SuggestedApp[] = [ "https://chromewebstore.google.com/detail/iokeahhehimjnekafflcihljlcjccdbe", firefoxLink: "https://addons.mozilla.org/en-US/firefox/addon/alby/", logo: alby, - interactions: "Connect your Hub to lightning-enabled websites and lets you pay seamlessly on the web", + interactions: + "Connect your Hub to lightning-enabled websites and lets you pay seamlessly on the web", guide: ( <>
@@ -150,7 +151,8 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://damus.io/?utm_source=getalby", appleLink: "https://apps.apple.com/ca/app/damus/id1628663131", logo: damus, - interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", + interactions: + "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -201,7 +203,8 @@ export const suggestedApps: SuggestedApp[] = [ playLink: "https://play.google.com/store/apps/details?id=com.vitorpamplona.amethyst", logo: amethyst, - interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", + interactions: + "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -260,7 +263,8 @@ export const suggestedApps: SuggestedApp[] = [ // NWC is not supported on iOS // appleLink: "https://apps.apple.com/us/app/primal/id1673134518", logo: primal, - interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", + interactions: + "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -537,7 +541,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Desktop Nostr client", webLink: "https://coracle.social/", logo: coracle, - interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", + interactions: + "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>

@@ -619,7 +624,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Minimalistic, desktop Nostr client", webLink: "https://nostter.app/", logo: nostter, - interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", + interactions: + "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>

@@ -703,7 +709,8 @@ export const suggestedApps: SuggestedApp[] = [ "https://play.google.com/store/apps/details?id=com.wavlake.mobile", appleLink: "https://testflight.apple.com/join/eWnqECG4", logo: wavlake, - interactions: "Support artists by paying to upvote music you enjoy with your Hub", + interactions: + "Support artists by paying to upvote music you enjoy with your Hub", guide: ( <>

@@ -753,7 +760,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Web Nostr client", webLink: "https://snort.social/", logo: snort, - interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", + interactions: + "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -812,7 +820,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Blogging platform", webLink: "https://habla.news/", logo: hablanews, - interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", + interactions: + "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -975,7 +984,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Web Nostr client", webLink: "https://nostrudel.ninja/", logo: nostrudel, - interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", + interactions: + "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -1040,7 +1050,8 @@ export const suggestedApps: SuggestedApp[] = [ "https://play.google.com/store/apps/details?id=com.yakihonne.yakihonne", appleLink: "https://apps.apple.com/us/app/yakihonne/id6472556189", logo: yakihonne, - interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", + interactions: + "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -1162,7 +1173,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "macOS Nostr client", webLink: "https://lume.nu/", logo: lume, - interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", + interactions: + "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -1345,7 +1357,8 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://nostur.com/", appleLink: "https://apps.apple.com/us/app/nostur-nostr-client/id1672780508", logo: nostur, - interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", + interactions: + "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -1400,7 +1413,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Map of notes", webLink: "https://wherostr.social/", logo: wherostr, - interactions: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", + interactions: + "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <>
@@ -1459,7 +1473,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Like Hacker News but with Bitcoin", webLink: "https://stacker.news/", logo: stackernews, - interactions: "Upvote posts with sats and receive sats for your own posts directly in your Hub", + interactions: + "Upvote posts with sats and receive sats for your own posts directly in your Hub", guide: ( <>
@@ -1724,7 +1739,8 @@ export const suggestedApps: SuggestedApp[] = [ description: "Discover great apps through your social connections", webLink: "https://zapstore.dev/", logo: zapstore, - interactions: "Pay to zap apps and support their creators seamlessly with your Hub", + interactions: + "Pay to zap apps and support their creators seamlessly with your Hub", guide: ( <>
From 3f690f9104077eb1f172414c90efff9be17e9293 Mon Sep 17 00:00:00 2001 From: Roland Bewick Date: Wed, 22 Jan 2025 14:40:19 +0700 Subject: [PATCH 5/5] chore: rename field --- frontend/src/components/SuggestedAppData.tsx | 56 +++++++++---------- .../src/screens/appstore/AppStoreDetail.tsx | 6 +- 2 files changed, 32 insertions(+), 30 deletions(-) diff --git a/frontend/src/components/SuggestedAppData.tsx b/frontend/src/components/SuggestedAppData.tsx index cfe4200a..acdc9394 100644 --- a/frontend/src/components/SuggestedAppData.tsx +++ b/frontend/src/components/SuggestedAppData.tsx @@ -50,7 +50,7 @@ export type SuggestedApp = { chromeLink?: string; firefoxLink?: string; - interactions?: string; + extendedDescription?: string; guide?: React.ReactNode; internal?: boolean; }; @@ -86,7 +86,7 @@ export const suggestedApps: SuggestedApp[] = [ "https://chromewebstore.google.com/detail/iokeahhehimjnekafflcihljlcjccdbe", firefoxLink: "https://addons.mozilla.org/en-US/firefox/addon/alby/", logo: alby, - interactions: + extendedDescription: "Connect your Hub to lightning-enabled websites and lets you pay seamlessly on the web", guide: ( <> @@ -151,7 +151,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://damus.io/?utm_source=getalby", appleLink: "https://apps.apple.com/ca/app/damus/id1628663131", logo: damus, - interactions: + extendedDescription: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <> @@ -203,7 +203,7 @@ export const suggestedApps: SuggestedApp[] = [ playLink: "https://play.google.com/store/apps/details?id=com.vitorpamplona.amethyst", logo: amethyst, - interactions: + extendedDescription: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <> @@ -263,7 +263,7 @@ export const suggestedApps: SuggestedApp[] = [ // NWC is not supported on iOS // appleLink: "https://apps.apple.com/us/app/primal/id1673134518", logo: primal, - interactions: + extendedDescription: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <> @@ -323,7 +323,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Stream and stack sats", webLink: "https://zap.stream/", logo: zapstream, - interactions: + extendedDescription: "Tip streamers, zap comments and pay or receive sats for streaming time with your Hub", guide: ( <> @@ -382,7 +382,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Bitcoin payment processor", webLink: "https://btcpayserver.org/", logo: btcpay, - interactions: + extendedDescription: "Receive payments directly to your Hub for products you sell online", guide: ( <> @@ -460,7 +460,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Wallet accounts system with extensions", webLink: "https://lnbits.com/", logo: lnbits, - interactions: + extendedDescription: "Connect your Alby Hub to LNbits to give extra functionality through plugins such as BOLT cards and lightning vouchers", guide: ( <> @@ -541,7 +541,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Desktop Nostr client", webLink: "https://coracle.social/", logo: coracle, - interactions: + extendedDescription: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <> @@ -624,7 +624,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Minimalistic, desktop Nostr client", webLink: "https://nostter.app/", logo: nostter, - interactions: + extendedDescription: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <> @@ -709,7 +709,7 @@ export const suggestedApps: SuggestedApp[] = [ "https://play.google.com/store/apps/details?id=com.wavlake.mobile", appleLink: "https://testflight.apple.com/join/eWnqECG4", logo: wavlake, - interactions: + extendedDescription: "Support artists by paying to upvote music you enjoy with your Hub", guide: ( <> @@ -760,7 +760,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Web Nostr client", webLink: "https://snort.social/", logo: snort, - interactions: + extendedDescription: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <> @@ -820,7 +820,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Blogging platform", webLink: "https://habla.news/", logo: hablanews, - interactions: + extendedDescription: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <> @@ -882,7 +882,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Multi wallet accounting tool", webLink: "https://clams.tech/", logo: clams, - interactions: + extendedDescription: "Get insights into your transaction history and accounting tools by connecting your Hub", guide: ( <> @@ -934,7 +934,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Sovereign Nostr services", webLink: "https://github.com/quentintaranpino/nostrcheck-server", logo: nostrcheckserver, - interactions: + extendedDescription: "Enable payments to your Hub from users who register or upload and download files", guide: ( <> @@ -984,7 +984,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Web Nostr client", webLink: "https://nostrudel.ninja/", logo: nostrudel, - interactions: + extendedDescription: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <> @@ -1050,7 +1050,7 @@ export const suggestedApps: SuggestedApp[] = [ "https://play.google.com/store/apps/details?id=com.yakihonne.yakihonne", appleLink: "https://apps.apple.com/us/app/yakihonne/id6472556189", logo: yakihonne, - interactions: + extendedDescription: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <> @@ -1117,7 +1117,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Zap from any client", webLink: "https://www.zapplepay.com/", logo: zapplepay, - interactions: + extendedDescription: "ZapplePay will make payments from your Hub to zap posts when you react to them", guide: ( <> @@ -1173,7 +1173,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "macOS Nostr client", webLink: "https://lume.nu/", logo: lume, - interactions: + extendedDescription: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <> @@ -1236,7 +1236,7 @@ export const suggestedApps: SuggestedApp[] = [ // description: "Nostr communities", // webLink: "https://nostr.kiwi/", // logo: kiwi, - // interactions: "Tip nostr posts and profiles and pay invoices seamlessly", + // extendedDescription: "Tip nostr posts and profiles and pay invoices seamlessly", // guide: ( // <> //
@@ -1294,7 +1294,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Lose sats quickly", webLink: "https://rolznz.github.io/zappy-bird/", logo: zappybird, - interactions: + extendedDescription: "Makes a payment from your Hub each time your bird flaps its wings", guide: ( <> @@ -1357,7 +1357,7 @@ export const suggestedApps: SuggestedApp[] = [ webLink: "https://nostur.com/", appleLink: "https://apps.apple.com/us/app/nostur-nostr-client/id1672780508", logo: nostur, - interactions: + extendedDescription: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <> @@ -1413,7 +1413,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Map of notes", webLink: "https://wherostr.social/", logo: wherostr, - interactions: + extendedDescription: "Tip nostr posts and profiles and receive zaps seamlessly with your Hub", guide: ( <> @@ -1473,7 +1473,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Like Hacker News but with Bitcoin", webLink: "https://stacker.news/", logo: stackernews, - interactions: + extendedDescription: "Upvote posts with sats and receive sats for your own posts directly in your Hub", guide: ( <> @@ -1573,7 +1573,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Paper Scissors Rock with bitcoin at stake", webLink: "https://paper-scissors-hodl.fly.dev", logo: paperScissorsHodl, - interactions: + extendedDescription: "Uses your Hub to pay to play a round, and receive the reward if you win", guide: ( <> @@ -1633,7 +1633,7 @@ export const suggestedApps: SuggestedApp[] = [ appleLink: "https://apps.apple.com/us/app/alby-go/id6471335774", zapStoreLink: "https://zapstore.dev/download/", logo: albyGo, - interactions: "Sends and receives payments seamlessly from your Hub", + extendedDescription: "Sends and receives payments seamlessly from your Hub", guide: ( <>
@@ -1682,7 +1682,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Instantly pull up anything with private web search + AI", webLink: "https://www.pullthatupjamie.ai/", logo: pullthatupjamie, - interactions: "Pay from your Hub to do private AI-powered searches", + extendedDescription: "Pay from your Hub to do private AI-powered searches", guide: ( <>
@@ -1739,7 +1739,7 @@ export const suggestedApps: SuggestedApp[] = [ description: "Discover great apps through your social connections", webLink: "https://zapstore.dev/", logo: zapstore, - interactions: + extendedDescription: "Pay to zap apps and support their creators seamlessly with your Hub", guide: ( <> diff --git a/frontend/src/screens/appstore/AppStoreDetail.tsx b/frontend/src/screens/appstore/AppStoreDetail.tsx index b0321418..16fbbf0f 100644 --- a/frontend/src/screens/appstore/AppStoreDetail.tsx +++ b/frontend/src/screens/appstore/AppStoreDetail.tsx @@ -60,9 +60,11 @@ export function AppStoreDetail() { About the App - {app.interactions && ( + {app.extendedDescription && ( -

{app.interactions}

+

+ {app.extendedDescription} +

)}