From 3ac5e9dabc6f6776e210c334a6cb7c599f07fca2 Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Fri, 24 Apr 2026 17:27:26 -0400 Subject: [PATCH] update manage subscription --- .../p/[didOrHandle]/PubListing.tsx | 1 + .../[publication]/PublicationContent.tsx | 1 + .../[rkey]/LinearDocumentPage.tsx | 1 + components/Subscribe/ManageSubscribe.tsx | 42 +++++++++++++------ components/Subscribe/SubscribeButton.tsx | 3 ++ 5 files changed, 35 insertions(+), 13 deletions(-) diff --git a/app/(home-pages)/p/[didOrHandle]/PubListing.tsx b/app/(home-pages)/p/[didOrHandle]/PubListing.tsx index e45814f1..e95e215e 100644 --- a/app/(home-pages)/p/[didOrHandle]/PubListing.tsx +++ b/app/(home-pages)/p/[didOrHandle]/PubListing.tsx @@ -67,6 +67,7 @@ export const PubListing = (props: PublicationSubscription) => { { @@ -115,7 +119,11 @@ export const ManageSubscription = (props: { return ( + Preferences + + } className="w-md max-w-full" trigger={
@@ -131,9 +139,7 @@ export const ManageSubscription = (props: {

Linked Email

-

- {user.email} -

+

{user.email}

) : null} @@ -141,19 +147,29 @@ export const ManageSubscription = (props: {
Linked Handle -

- {user.handle} -

+

{user.handle}

)} -
- Get RSS Feed -
-
- Pin Custom Bluesky Feed + {props.publicationUrl && ( + + RSS Feed + + )} + + Bluesky Feed -
+ {props.newsletterMode && !user.email ? (
diff --git a/components/Subscribe/SubscribeButton.tsx b/components/Subscribe/SubscribeButton.tsx index 314c3b59..ce83f951 100644 --- a/components/Subscribe/SubscribeButton.tsx +++ b/components/Subscribe/SubscribeButton.tsx @@ -18,6 +18,7 @@ import { useViewerSubscription } from "./viewerSubscription"; export type SubscribeProps = { autoFocus?: boolean; publicationUri: string; + publicationUrl?: string; publicationName: string; publicationDescription?: string; newsletterMode: boolean; @@ -52,6 +53,7 @@ export const SubscribeButton = (props: SubscribeProps) => { user.subscribed ? ( @@ -86,6 +88,7 @@ export const SubscribeInput = (props: SubscribeProps) => { {isSubscribed ? ( -- 2.51.2