:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(dashboards): align subscription nudge content (#100996)
Vasco de Krijger8600d0f42aed
diff --git a/frontend/src/scenes/dashboard/DashboardSubscribeNudgeToast.tsx b/frontend/src/scenes/dashboard/DashboardSubscribeNudgeToast.tsxindex 24bfa479d349..70d93e32a8ed 100644--- a/frontend/src/scenes/dashboard/DashboardSubscribeNudgeToast.tsx+++ b/frontend/src/scenes/dashboard/DashboardSubscribeNudgeToast.tsx@@ -27,26 +27,29 @@ export function DashboardSubscribeNudgeToast({<IconBell className="size-4 shrink-0 text-primary" /><span>You keep coming back to {dashboardName || 'this dashboard'}</span></div>- <div className="text-xs text-secondary leading-snug">- You've viewed it {viewCount7d} times in the last week. Get it delivered to your inbox every Monday- instead.+ <div className="flex flex-col items-start gap-1.5 ml-5.5">+ <div className="text-xs text-secondary leading-snug">+ You've viewed it {viewCount7d} times in the last week. Get it delivered to your inbox every Monday+ instead.+ </div>+ <LemonButton+ type="primary"+ size="small"+ className="!mx-0"+ data-attr="dashboard-subscribe-nudge-toast-cta"+ onClick={() =>+ openSubscriptionFromNudge(+ { dashboardId },+ {+ toastId: dashboardSubscribeNudgeToastId(dashboardId),+ via: SUBSCRIPTION_PREFILL_PARAMS.viaToast,+ }+ )+ }+ >+ Set up subscription+ </LemonButton></div>- <LemonButton- type="primary"- size="small"- data-attr="dashboard-subscribe-nudge-toast-cta"- onClick={() =>- openSubscriptionFromNudge(- { dashboardId },- {- toastId: dashboardSubscribeNudgeToastId(dashboardId),- via: SUBSCRIPTION_PREFILL_PARAMS.viaToast,- }- )- }- >- Set up subscription- </LemonButton></div>)}