Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add dids for discover debug (#6063)

* add dids

* keep is_internal

authored by

Hailey and committed by
GitHub
fb4210b3 8d5b551e

+12 -2
+8
src/lib/constants.ts
··· 23 23 // -prf 24 24 export const JOINED_THIS_WEEK = 650000 // estimate as of 10/28/24 25 25 26 + export const DISCOVER_DEBUG_DIDS: Record<string, true> = { 27 + 'did:plc:oisofpd7lj26yvgiivf3lxsi': true, // hailey.at 28 + 'did:plc:fpruhuo22xkm5o7ttr2ktxdo': true, // danabra.mov 29 + 'did:plc:p2cp5gopk7mgjegy6wadk3ep': true, // samuel.bsky.team 30 + 'did:plc:ragtjsm2j2vknwkz3zp4oxrd': true, // pfrazee.com 31 + 'did:plc:vpkhqolt662uhesyj6nxm7ys': true, // why.bsky.team 32 + } 33 + 26 34 const BASE_FEEDBACK_FORM_URL = `${HELP_DESK_URL}/requests/new` 27 35 export function FEEDBACK_FORM_URL({ 28 36 email,
+4 -2
src/view/com/util/post-ctrls/PostCtrls.tsx
··· 18 18 import {useLingui} from '@lingui/react' 19 19 20 20 import {IS_INTERNAL} from '#/lib/app-info' 21 - import {POST_CTRL_HITSLOP} from '#/lib/constants' 21 + import {DISCOVER_DEBUG_DIDS, POST_CTRL_HITSLOP} from '#/lib/constants' 22 22 import {CountWheel} from '#/lib/custom-animations/CountWheel' 23 23 import {AnimatedLikeIcon} from '#/lib/custom-animations/LikeIcon' 24 24 import {useHaptics} from '#/lib/haptics' ··· 85 85 const {sendInteraction} = useFeedFeedbackContext() 86 86 const {captureAction} = useProgressGuideControls() 87 87 const playHaptic = useHaptics() 88 + const isDiscoverDebugUser = 89 + IS_INTERNAL || DISCOVER_DEBUG_DIDS[currentAccount?.did ?? ''] 88 90 const isBlocked = Boolean( 89 91 post.author.viewer?.blocking || 90 92 post.author.viewer?.blockedBy || ··· 363 365 threadgateRecord={threadgateRecord} 364 366 /> 365 367 </View> 366 - {IS_INTERNAL && feedContext && ( 368 + {isDiscoverDebugUser && feedContext && ( 367 369 <Pressable 368 370 accessible={false} 369 371 style={{