Update team handles and fetch more data in discovery

zio/stable
Paul Frazee 2023-03-15 17:29:38 -05:00
parent 53fc5bf336
commit 64c8689a29
2 changed files with 9 additions and 9 deletions

View File

@ -6,10 +6,10 @@ export const MAX_DESCRIPTION = 256
export const PROD_TEAM_HANDLES = [
'jay.bsky.social',
'paul.bsky.social',
'dan.bsky.social',
'divy.bsky.social',
'why.bsky.social',
'pfrazee.com',
'divy.zone',
'dholms.xyz',
'why.bsky.world',
'iamrosewang.bsky.social',
]
export const STAGING_TEAM_HANDLES = [
@ -141,12 +141,10 @@ export const PROD_SUGGESTED_FOLLOWS = [
'pwang',
'martin',
'jack',
'dan',
'why',
'divy',
'jay',
'paul',
].map(handle => `${handle}.bsky.social`)
]
.map(handle => `${handle}.bsky.social`)
.concat(['pfrazee.com', 'divy.zone', 'dholms.xyz', 'why.bsky.world'])
export const STAGING_SUGGESTED_FOLLOWS = ['arcalinea', 'paul', 'paul2'].map(
handle => `${handle}.staging.bsky.dev`,
)

View File

@ -48,6 +48,8 @@ export class SuggestedPostsView {
const responses = await getMultipleAuthorsPosts(
this.rootStore,
TEAM_HANDLES(String(this.rootStore.agent.service)),
undefined,
30,
)
runInAction(() => {
const finalPosts = mergePosts(responses, {repostsOnly: true})