diff --git a/locales-pending/premium.ftl b/locales-pending/premium.ftl index 62198bb7094..801fdd893fc 100644 --- a/locales-pending/premium.ftl +++ b/locales-pending/premium.ftl @@ -39,6 +39,8 @@ exposure-chart-legend-heading-nr = Number # $nr (number) - Number of a particular type of exposure found for the user exposure-chart-legend-value-nr = { $nr }× exposure-chart-caption = This chart shows how many times your info is actively exposed. +exposure-chart-returning-user-upgrade-prompt = Home address, family members and more are not yet included. +exposure-chart-returning-user-upgrade-prompt-cta = Start a free scan modal-active-number-of-exposures-title = About your number of active exposures # Variables: diff --git a/src/app/(proper_react)/redesign/(authenticated)/user/dashboard/Dashboard.stories.tsx b/src/app/(proper_react)/redesign/(authenticated)/user/dashboard/Dashboard.stories.tsx index 1949ef0999f..2d537193498 100644 --- a/src/app/(proper_react)/redesign/(authenticated)/user/dashboard/Dashboard.stories.tsx +++ b/src/app/(proper_react)/redesign/(authenticated)/user/dashboard/Dashboard.stories.tsx @@ -27,6 +27,7 @@ const BreachMockItem1: HibpLikeDbBreach = { Domain: "", Id: 0, IsFabricated: false, + IsResolved: false, IsMalware: false, IsRetired: false, IsSensitive: false, @@ -44,6 +45,7 @@ const BreachMockItem2: HibpLikeDbBreach = { BreachDate: "11/09/23", DataClasses: [], Description: "", + IsResolved: false, Domain: "", Id: 0, IsFabricated: false, @@ -64,6 +66,7 @@ const BreachMockItem3: HibpLikeDbBreach = { BreachDate: "11/09/23", DataClasses: [], Description: "", + IsResolved: false, Domain: "", Id: 0, IsFabricated: false, @@ -84,6 +87,7 @@ const BreachMockItem4: HibpLikeDbBreach = { BreachDate: "11/09/23", DataClasses: [], Description: "", + IsResolved: false, Domain: "", Id: 0, IsFabricated: false, diff --git a/src/app/(proper_react)/redesign/(authenticated)/user/dashboard/DashboardTopBanner.tsx b/src/app/(proper_react)/redesign/(authenticated)/user/dashboard/DashboardTopBanner.tsx index cc2dffecf67..f608dd84456 100644 --- a/src/app/(proper_react)/redesign/(authenticated)/user/dashboard/DashboardTopBanner.tsx +++ b/src/app/(proper_react)/redesign/(authenticated)/user/dashboard/DashboardTopBanner.tsx @@ -16,6 +16,7 @@ export type DashboardTopBannerProps = { | "ResumeBreachResolutionContent" | "YourDataIsProtectedContent"; bannerData: DashboardSummary; + hasRunScan: boolean; }; export const DashboardTopBanner = (props: DashboardTopBannerProps) => { @@ -61,7 +62,7 @@ export const DashboardTopBanner = (props: DashboardTopBannerProps) => { "dashboard-top-banner-monitor-protects-your-even-more-cta" ), onClick: () => { - // do something + window.location.href = "/redesign/user/welcome"; }, }, }, @@ -140,7 +141,7 @@ export const DashboardTopBanner = (props: DashboardTopBannerProps) => { )}
{l10n.getString("exposure-chart-returning-user-upgrade-prompt")}
+ + {l10n.getString("exposure-chart-returning-user-upgrade-prompt-cta")} + +