diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/admin/feature-flags/components/FlagEditor.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/admin/feature-flags/components/FlagEditor.tsx
index 8378e7a6f59..b6ece47045c 100644
--- a/src/app/(proper_react)/(redesign)/(authenticated)/admin/feature-flags/components/FlagEditor.tsx
+++ b/src/app/(proper_react)/(redesign)/(authenticated)/admin/feature-flags/components/FlagEditor.tsx
@@ -72,7 +72,11 @@ export const FlagEditor = (props: { flag: FeatureFlagRow }) => {
{(props.flag.allow_list?.length ?? 0) -
unAllowlistedAddresses.length ===
0 && newAllowlistedAddresses.length === 0 ? (
- <>Enabled for everyone>
+ <>
+ {props.flag.is_enabled
+ ? "Enabled for everyone"
+ : "Would be enabled for everyone"}
+ >
) : (
<>Only enable for:>
)}
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 948d6dccfb5..ef2dd034c40 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
@@ -190,7 +190,6 @@ const DashboardWrapper = (props: DashboardWrapperProps) => {
session={mockedSession}
nonce=""
countryCode={props.countryCode}
- howItWorksFlagEnabled
>
{
}
enabledFeatureFlags={[
...(props.enabledFeatureFlags ?? []),
- "HowItWorksPage",
"SetExpectationsForUsers",
]}
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 5040a02dd38..c465fa092fb 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
@@ -264,22 +264,20 @@ export const DashboardTopBannerContent = (props: DashboardTopBannerProps) => {
>
)}
- {enabledFeatureFlags.includes("HowItWorksPage") && (
-
- recordTelemetry("link", "click", {
- link_id: "learn_more",
- })
- }
- >
- {l10n.getString(
- "dashboard-top-banner-monitor-protects-your-even-more-learn-more",
- )}
-
- )}
+
+ recordTelemetry("link", "click", {
+ link_id: "learn_more",
+ })
+ }
+ >
+ {l10n.getString(
+ "dashboard-top-banner-monitor-protects-your-even-more-learn-more",
+ )}
+
>
);
case "UsUserNonPremiumNoExposures":
diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/automatic-remove/AutomaticRemove.stories.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/automatic-remove/AutomaticRemove.stories.tsx
index e9193d5afca..988c7b47056 100644
--- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/automatic-remove/AutomaticRemove.stories.tsx
+++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/automatic-remove/AutomaticRemove.stories.tsx
@@ -50,13 +50,7 @@ export const AutomaticRemoveViewStory: Story = {
name: "1d. Automatically resolve brokers",
render: () => {
return (
-
+
{
return (
-
+
{
return (
-
+
{
const l10n = getL10n();
return (
-
+
{
return (
-
+
{
}}
l10n={l10n}
subscriberEmails={[]}
- enabledFeatureFlags={["HowItWorksPage", "SetExpectationsForUsers"]}
+ enabledFeatureFlags={["SetExpectationsForUsers"]}
/>
);
diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlusView.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlusView.tsx
index 5026134ea3a..409834ca276 100644
--- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlusView.tsx
+++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlusView.tsx
@@ -90,8 +90,7 @@ export function WelcomeToPlusView(props: Props) {
)}
- {hasRelevantScanResults &&
- props.enabledFeatureFlags.includes("HowItWorksPage")
+ {hasRelevantScanResults
? /* c8 ignore next 23 */
// As the `SetExpectationsForUsers` feature flag is removed, the
// branch will be covered again:
diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/page.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/page.tsx
index b41364fd28f..3abe25ac8a2 100644
--- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/page.tsx
+++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/page.tsx
@@ -56,7 +56,8 @@ export default async function WelcomeToPlusPage() {
};
const enabledFeatureFlags = await getEnabledFeatureFlags({
- ignoreAllowlist: true,
+ ignoreAllowlist: false,
+ email: session.user.email,
});
// If the current user is a subscriber and their OneRep profile is not
diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/HighRiskDataBreach.stories.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/HighRiskDataBreach.stories.tsx
index 2d9fd441966..d67b7b04e1d 100644
--- a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/HighRiskDataBreach.stories.tsx
+++ b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/HighRiskDataBreach.stories.tsx
@@ -107,7 +107,6 @@ const HighRiskBreachWrapper = (props: {
session={mockedSession}
nonce=""
countryCode={data.countryCode}
- howItWorksFlagEnabled
>
+
{
return (
-
+
;
@@ -37,7 +32,6 @@ export default async function Layout({ children }: { children: ReactNode }) {
session={session}
nonce={nonce}
countryCode={countryCode}
- howItWorksFlagEnabled={howItWorksFlagEnabled}
>
{children}
diff --git a/src/app/(proper_react)/(redesign)/(public)/PublicShell.tsx b/src/app/(proper_react)/(redesign)/(public)/PublicShell.tsx
index 49602681ffe..6617e7e27aa 100644
--- a/src/app/(proper_react)/(redesign)/(public)/PublicShell.tsx
+++ b/src/app/(proper_react)/(redesign)/(public)/PublicShell.tsx
@@ -35,11 +35,7 @@ export const PublicShell = (props: Props) => {
{props.children}
-
+
);
};
diff --git a/src/app/(proper_react)/(redesign)/(public)/how-it-works/page.tsx b/src/app/(proper_react)/(redesign)/(public)/how-it-works/page.tsx
index 784ba9f8cd8..564b49bf7de 100644
--- a/src/app/(proper_react)/(redesign)/(public)/how-it-works/page.tsx
+++ b/src/app/(proper_react)/(redesign)/(public)/how-it-works/page.tsx
@@ -13,7 +13,6 @@ import {
monthlySubscribersQuota,
} from "../../../../functions/server/onerep";
import { CONST_DAY_MILLISECONDS } from "../../../../../constants";
-import { getEnabledFeatureFlags } from "../../../../../db/tables/featureFlags";
export default async function Page() {
const headersList = headers();
@@ -30,11 +29,7 @@ export default async function Page() {
typeof oneRepActivations === "undefined" ||
oneRepActivations > monthlySubscribersQuota;
- const featureFlags = await getEnabledFeatureFlags({
- ignoreAllowlist: true,
- });
-
- if (countryCode !== "us" || !featureFlags.includes("HowItWorksPage")) {
+ if (countryCode !== "us") {
return redirect("/");
}
diff --git a/src/app/(proper_react)/(redesign)/Footer.tsx b/src/app/(proper_react)/(redesign)/Footer.tsx
index 84f890ab522..e2736fdb2c3 100644
--- a/src/app/(proper_react)/(redesign)/Footer.tsx
+++ b/src/app/(proper_react)/(redesign)/Footer.tsx
@@ -20,12 +20,10 @@ export const Footer = ({
l10n,
session,
countryCode,
- howItWorksFlagEnabled,
}: {
l10n: ExtendedReactLocalization;
session?: Session;
countryCode: string;
- howItWorksFlagEnabled: boolean;
}) => {
return (