From b5257c557f38e2fe03fb733998407f6a1b20e487 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 8 Apr 2024 12:39:15 -0500 Subject: [PATCH 1/2] Remove feed --- src/screens/Onboarding/StepAlgoFeeds/index.tsx | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/screens/Onboarding/StepAlgoFeeds/index.tsx b/src/screens/Onboarding/StepAlgoFeeds/index.tsx index 4ba61696f8..19bb401046 100644 --- a/src/screens/Onboarding/StepAlgoFeeds/index.tsx +++ b/src/screens/Onboarding/StepAlgoFeeds/index.tsx @@ -34,11 +34,6 @@ export const PRIMARY_FEEDS: FeedConfig[] = [ uri: 'at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/whats-hot', gradient: tokens.gradients.midnight, }, - { - default: IS_PROD, // these feeds are only available in prod - uri: 'at://did:plc:wqowuobffl66jv3kpsvo7ak4/app.bsky.feed.generator/the-algorithm', - gradient: tokens.gradients.midnight, - }, ] const SECONDARY_FEEDS: FeedConfig[] = [ @@ -130,16 +125,6 @@ export function StepAlgoFeeds() { We recommend our "Discover" feed: - - We also think you'll like "For You" by Skygaze: - - Date: Mon, 8 Apr 2024 12:42:46 -0500 Subject: [PATCH 2/2] Follow bsky.app --- src/lib/constants.ts | 4 +++- src/screens/Onboarding/StepFinished.tsx | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/constants.ts b/src/lib/constants.ts index f5a72669a9..401c39362b 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -80,8 +80,10 @@ export const HITSLOP_30 = createHitslop(30) export const BACK_HITSLOP = HITSLOP_30 export const MAX_POST_LINES = 25 +export const BSKY_APP_ACCOUNT_DID = 'did:plc:z72i7hdynmk6r22z27h6tvur' + export const BSKY_FEED_OWNER_DIDS = [ - 'did:plc:z72i7hdynmk6r22z27h6tvur', + BSKY_APP_ACCOUNT_DID, 'did:plc:vpkhqolt662uhesyj6nxm7ys', 'did:plc:q6gjnaw2blty4crticxkmujt', ] diff --git a/src/screens/Onboarding/StepFinished.tsx b/src/screens/Onboarding/StepFinished.tsx index ced80f3914..56635c672d 100644 --- a/src/screens/Onboarding/StepFinished.tsx +++ b/src/screens/Onboarding/StepFinished.tsx @@ -4,6 +4,7 @@ import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import {useAnalytics} from '#/lib/analytics/analytics' +import {BSKY_APP_ACCOUNT_DID} from '#/lib/constants' import {logEvent} from '#/lib/statsig/statsig' import {logger} from '#/logger' import {useSetSaveFeedsMutation} from '#/state/queries/preferences' @@ -55,7 +56,9 @@ export function StepFinished() { try { await Promise.all([ - bulkWriteFollows(suggestedAccountsStepResults.accountDids), + bulkWriteFollows( + suggestedAccountsStepResults.accountDids.concat(BSKY_APP_ACCOUNT_DID), + ), // these must be serial (async () => { await getAgent().setInterestsPref({tags: selectedInterests})