diff --git a/jest.config.cjs b/jest.config.cjs
index 54193a9cf84..d8279168e39 100644
--- a/jest.config.cjs
+++ b/jest.config.cjs
@@ -193,9 +193,7 @@ const customJestConfig = {
// ],
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
- // testPathIgnorePatterns: [
- // "/node_modules/"
- // ],
+ testPathIgnorePatterns: ["/node_modules/", "/dist/"],
// The regexp pattern or array of patterns that Jest uses to detect test files
// testRegex: [],
diff --git a/locales-pending/dashboard-premium.ftl b/locales-pending/dashboard-premium.ftl
index 1a278670034..f371281d31b 100644
--- a/locales-pending/dashboard-premium.ftl
+++ b/locales-pending/dashboard-premium.ftl
@@ -33,10 +33,12 @@ modal-heres-what-we-fixed-description-part-one = Manually fixed includes
to be fixed manually, even if you’ve subscribed to { -brand-monitor-plus }.
modal-heres-what-we-fixed-description-part-two = Auto-removed includes any exposures from data broker profiles that we’ve removed for you. This is available only for
{ -brand-monitor-plus } subscribers.
-modal-heres-what-we-fixed-description-part-three = In Progress includes anything that we are currently
+# Deprecated (once feature flag `SetExpectationsForUsers` is enabled):
+modal-heres-what-we-fixed-description-part-three-deprecated = In Progress includes anything that we are currently
working on fixing. Removals typically take 7–14 days but the most
difficult sites could take longer. You may also start to see removals
happening within the same day.
+modal-heres-what-we-fixed-description-part-three = In Progress includes anything that we are currently working on fixing.
dashboard-exposures-filter-exposure-type = Exposure type
dashboard-exposures-filter-exposure-type-info-for-sale = Your info for sale
@@ -55,8 +57,10 @@ modal-exposure-type-data-breach = Data breach means your information has
Resolving these typically requires accessing your accounts, so you’ll need to take manual steps to resolve each breach even if you’ve subscribed to { -brand-monitor-plus }.
modal-exposure-type-data-broker-part-one = Info for sale means a data broker site is publicly publishing and selling your personal info.
You’ll need to manually request removal from each site.
-modal-exposure-type-data-broker-part-two = For { -brand-monitor-plus } subscribers, we auto-remove these profiles on your behalf and make sure they don’t re-add you.
+# Deprecated (once feature flag `SetExpectationsForUsers` is enabled):
+modal-exposure-type-data-broker-part-two-deprecated = For { -brand-monitor-plus } subscribers, we auto-remove these profiles on your behalf and make sure they don’t re-add you.
In both cases, removals typically take 7–14 days. Some can take longer, while others can happen within the hour.
+modal-exposure-type-data-broker-part-two = But if you’re a { -brand-monitor-plus } subscriber, we auto-remove the profiles for you.
# About Exposure Statuses Modal
diff --git a/locales-pending/fix-premium.ftl b/locales-pending/fix-premium.ftl
index 3ca1204f4c2..452b32562a1 100644
--- a/locales-pending/fix-premium.ftl
+++ b/locales-pending/fix-premium.ftl
@@ -110,19 +110,32 @@ data-broker-profiles-exposure-reduction = Exposure reduction: { $exposure_reduct
# Variables:
# $nr (number) - % of exposures reduced for the user
exposure-reduction-chart-heading = { $nr }%
-exposure-reduction-chart-explanation = exposures willbe reduced
+# Deprecated (once feature flag `SetExpectationsForUsers` is enabled):
+exposure-reduction-chart-explanation-deprecated = exposures willbe reduced
+exposure-reduction-chart-explanation = exposures maybe reduced
welcome-to-premium-data-broker-profiles-title-part-one = Welcome to { -brand-monitor-plus }.
welcome-to-premium-data-broker-profiles-title-part-two = We’ll remove those profiles ASAP.
+# Deprecated (once feature flag `SetExpectationsForUsers` is enabled):
# Variables:
# $profile_total_num is the number of exposures came back from user data broker scans.
# $exposure_reduction_percentage is the percent by which exposures are reduced
-welcome-to-premium-data-broker-profiles-description-part-one =
+welcome-to-premium-data-broker-profiles-description-part-one-deprecated =
{ $profile_total_num ->
[one] We’ve already started our auto-removal process of 1 profile — which will reduce your exposures by { $exposure_reduction_percentage }%.
*[other] We’ve already started our auto-removal process of { $profile_total_num } profiles — which will reduce your exposures by { $exposure_reduction_percentage }%.
}
+# Variables:
+# $profile_total_num is the number of exposures came back from user data broker scans.
+# $exposure_reduction_percentage is the percent by which exposures are reduced
+welcome-to-premium-data-broker-profiles-description-part-one =
+ { $profile_total_num ->
+ [one] We’ve already started our auto-removal process of 1 profile — which may reduce your exposures up to { $exposure_reduction_percentage }%.
+ *[other] We’ve already started our auto-removal process of { $profile_total_num } profiles — which may reduce your exposures up to { $exposure_reduction_percentage }%.
+ }
+# Deprecated
welcome-to-premium-data-broker-profiles-description-part-two = Removals typically take 7-14 days, but some may happen within the hour. No matter how long it takes, we’ll keep working on it.
+# There used to be a "part two", but we removed that
welcome-to-premium-data-broker-profiles-description-part-three = Next we’ll guide you through high risk data breaches that require manual steps.
# Variables:
# $data_broker_count is the number of data brokers scanned monthly
diff --git a/locales-pending/landing-premium.ftl b/locales-pending/landing-premium.ftl
index 398d4b7f1c5..dc30076eeb8 100644
--- a/locales-pending/landing-premium.ftl
+++ b/locales-pending/landing-premium.ftl
@@ -130,11 +130,17 @@ landing-premium-quote = There’s a $240 billion industry of data
landing-premium-what-websites-sell-info-qn = What kinds of websites sell my personal information?
landing-premium-what-websites-sell-info-ans = Certain websites are in the business of collecting and selling people’s personal information without their consent, which is unfortunately legal in the US. These sites are called data brokers and they make up a $240 billion dollar industry. They use sophisticated methods to collect personal, financial, location, and even health information, often without your consent or even your knowledge. They’ll sell what they’ve collected to third parties, profiting from your information and leaving you open to violations of your privacy and security.
landing-premium-continuous-data-removal-qn = How does continuous data removal work?
+# Deprecated (once feature flag `SetExpectationsForUsers` is enabled):
# Variables:
# $data_broker_sites_total_num is the total number of data broker sites available to scan. It will always be plural.
-landing-premium-continuous-data-removal-ans = { $data_broker_sites_total_num ->
+landing-premium-continuous-data-removal-ans-deprecated = { $data_broker_sites_total_num ->
*[other] Every month, we use the information you provided about yourself (name, location and birthdate) to search across { $data_broker_sites_total_num } data broker sites that sell people’s private information. If we find your data on any of these sites, we initiate the request for removal. Data removal can take anywhere from a day to a month. This feature is available for { -brand-monitor-plus } users only. Learn more here.
}
+# Variables:
+# $data_broker_sites_total_num is the total number of data broker sites available to scan. It will always be plural.
+landing-premium-continuous-data-removal-ans = { $data_broker_sites_total_num ->
+ *[other] Every month, we use the information you provided about yourself (name, location and birthdate) to search across { $data_broker_sites_total_num } data broker sites that sell people’s private information. If we find your data on any of these sites, we initiate the request for removal. This feature is available for { -brand-monitor-plus } users only. Learn more here.
+}
# Scan Limit
diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/Dashboard.stories.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/Dashboard.stories.tsx
index c4cfcf2a229..948d6dccfb5 100644
--- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/Dashboard.stories.tsx
+++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/Dashboard.stories.tsx
@@ -215,6 +215,7 @@ const DashboardWrapper = (props: DashboardWrapperProps) => {
enabledFeatureFlags={[
...(props.enabledFeatureFlags ?? []),
"HowItWorksPage",
+ "SetExpectationsForUsers",
]}
experimentData={
props.experimentData ?? {
diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/DashboardTopBannerContent.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/DashboardTopBannerContent.tsx
index a4e2b24ef2c..5040a02dd38 100644
--- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/DashboardTopBannerContent.tsx
+++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/DashboardTopBannerContent.tsx
@@ -57,7 +57,7 @@ export const DashboardTopBannerContent = (props: DashboardTopBannerProps) => {
monthlySubscriptionUrl,
yearlySubscriptionUrl,
subscriptionBillingAmount,
- howItWorksFlagEnabled,
+ enabledFeatureFlags,
} = props;
const waitlistDialogState = useOverlayTriggerState({});
@@ -77,6 +77,7 @@ export const DashboardTopBannerContent = (props: DashboardTopBannerProps) => {
}
autoRemoved={bannerData.dataBrokerAutoFixedDataPointsNum}
inProgress={bannerData.dataBrokerInProgressDataPointsNum}
+ enabledFeatureFlags={enabledFeatureFlags}
/>
);
}
@@ -263,7 +264,7 @@ export const DashboardTopBannerContent = (props: DashboardTopBannerProps) => {
>
)}
- {howItWorksFlagEnabled && (
+ {enabledFeatureFlags.includes("HowItWorksPage") && (
{
@@ -50,24 +51,7 @@ export const DashboardTopBanner = (props: DashboardTopBannerProps) => {
return (
<>