{l10n.getString("data-broker-removal-guide-header")} @@ -301,55 +315,66 @@ export const RemovalUnderMaintenanceView = (props: Props) => {
{l10n.getString("data-broker-removal-guide-top-section-para-2")}
{l10n.getString("settings-tab-notifications-marketing-text")}
- + > ); diff --git a/src/app/api/v1/user/welcome-scan/progress/route.ts b/src/app/api/v1/user/welcome-scan/progress/route.ts index 5e0e2ee3428..fab84f32994 100644 --- a/src/app/api/v1/user/welcome-scan/progress/route.ts +++ b/src/app/api/v1/user/welcome-scan/progress/route.ts @@ -13,8 +13,8 @@ import { } from "../../../../../../db/tables/subscribers"; import { - getLatestOnerepScanResults, addOnerepScanResults, + getScanResultsWithBroker, } from "../../../../../../db/tables/onerep_scans"; import { ListScanResultsResponse, @@ -22,6 +22,7 @@ import { getScanDetails, getAllScanResults, } from "../../../../../functions/server/onerep"; +import { hasPremium } from "../../../../../functions/universal/user"; export interface ScanProgressBody { success: boolean; @@ -46,7 +47,10 @@ export async function GET( } const profileId = await getOnerepProfileId(subscriber.id); - const latestScan = await getLatestOnerepScanResults(profileId); + const latestScan = await getScanResultsWithBroker( + profileId, + hasPremium(session.user), + ); const latestScanId = latestScan.scan?.onerep_scan_id; if ( diff --git a/src/app/api/v1/user/welcome-scan/result/route.ts b/src/app/api/v1/user/welcome-scan/result/route.ts index 2c0d469129d..2c9ee411ebe 100644 --- a/src/app/api/v1/user/welcome-scan/result/route.ts +++ b/src/app/api/v1/user/welcome-scan/result/route.ts @@ -13,7 +13,8 @@ import { getSubscriberByFxaUid, } from "../../../../../../db/tables/subscribers"; -import { getLatestOnerepScanResults } from "../../../../../../db/tables/onerep_scans"; +import { getScanResultsWithBroker } from "../../../../../../db/tables/onerep_scans"; +import { hasPremium } from "../../../../../functions/universal/user"; export type WelcomeScanResultResponse = | { @@ -34,7 +35,10 @@ export async function GET() { } const profileId = await getOnerepProfileId(subscriber.id); - const scanResults = await getLatestOnerepScanResults(profileId); + const scanResults = await getScanResultsWithBroker( + profileId, + hasPremium(session.user), + ); return NextResponse.json( { success: true, scan_results: scanResults }, { status: 200 }, diff --git a/src/app/components/client/Button.module.scss b/src/app/components/client/Button.module.scss index 02c93e1d75b..54b92667c2d 100644 --- a/src/app/components/client/Button.module.scss +++ b/src/app/components/client/Button.module.scss @@ -33,8 +33,8 @@ } &.secondary { - border: 4px solid $color-blue-50; - border-color: $color-blue-50 transparent transparent transparent; + border: 4px solid $color-purple-70; + border-color: $color-purple-70 transparent transparent transparent; } } .ldsRing div:nth-child(1) { diff --git a/src/app/components/client/ExposuresFilterExplainer.tsx b/src/app/components/client/ExposuresFilterExplainer.tsx index d7a5a5bec37..d20b7bea072 100644 --- a/src/app/components/client/ExposuresFilterExplainer.tsx +++ b/src/app/components/client/ExposuresFilterExplainer.tsx @@ -12,7 +12,7 @@ import { ModalOverlay } from "./dialog/ModalOverlay"; import { Dialog } from "./dialog/Dialog"; import { Button } from "../client/Button"; import { CONST_ONEREP_DATA_BROKER_COUNT } from "../../../constants"; -import { StatusPill } from "../server/StatusPill"; +import { StatusPill, StatusPillTypeMap } from "../server/StatusPill"; import { FeatureFlagName } from "../../../db/tables/featureFlags"; type ExposuresFilterTypeExplainerProps = { @@ -138,28 +138,28 @@ export const ExposuresFilterStatusExplainer = ( "AdditionalRemovalStatuses", ) && (