Update team handles and fetch more data in discovery
parent
53fc5bf336
commit
64c8689a29
|
@ -6,10 +6,10 @@ export const MAX_DESCRIPTION = 256
|
||||||
|
|
||||||
export const PROD_TEAM_HANDLES = [
|
export const PROD_TEAM_HANDLES = [
|
||||||
'jay.bsky.social',
|
'jay.bsky.social',
|
||||||
'paul.bsky.social',
|
'pfrazee.com',
|
||||||
'dan.bsky.social',
|
'divy.zone',
|
||||||
'divy.bsky.social',
|
'dholms.xyz',
|
||||||
'why.bsky.social',
|
'why.bsky.world',
|
||||||
'iamrosewang.bsky.social',
|
'iamrosewang.bsky.social',
|
||||||
]
|
]
|
||||||
export const STAGING_TEAM_HANDLES = [
|
export const STAGING_TEAM_HANDLES = [
|
||||||
|
@ -141,12 +141,10 @@ export const PROD_SUGGESTED_FOLLOWS = [
|
||||||
'pwang',
|
'pwang',
|
||||||
'martin',
|
'martin',
|
||||||
'jack',
|
'jack',
|
||||||
'dan',
|
|
||||||
'why',
|
|
||||||
'divy',
|
|
||||||
'jay',
|
'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(
|
export const STAGING_SUGGESTED_FOLLOWS = ['arcalinea', 'paul', 'paul2'].map(
|
||||||
handle => `${handle}.staging.bsky.dev`,
|
handle => `${handle}.staging.bsky.dev`,
|
||||||
)
|
)
|
||||||
|
|
|
@ -48,6 +48,8 @@ export class SuggestedPostsView {
|
||||||
const responses = await getMultipleAuthorsPosts(
|
const responses = await getMultipleAuthorsPosts(
|
||||||
this.rootStore,
|
this.rootStore,
|
||||||
TEAM_HANDLES(String(this.rootStore.agent.service)),
|
TEAM_HANDLES(String(this.rootStore.agent.service)),
|
||||||
|
undefined,
|
||||||
|
30,
|
||||||
)
|
)
|
||||||
runInAction(() => {
|
runInAction(() => {
|
||||||
const finalPosts = mergePosts(responses, {repostsOnly: true})
|
const finalPosts = mergePosts(responses, {repostsOnly: true})
|
||||||
|
|
Loading…
Reference in New Issue