Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Restore hardcoded DIDs for Discover debug (#7977)

authored by

Samuel Newman and committed by
GitHub
c402ae74 b2a6281b

+15 -2
+10
src/lib/constants.ts
··· 23 23 // -prf 24 24 export const JOINED_THIS_WEEK = 560000 // estimate as of 12/18/24 25 25 26 + export const DISCOVER_DEBUG_DIDS: Record<string, true> = { 27 + 'did:plc:oisofpd7lj26yvgiivf3lxsi': true, // hailey.at 28 + 'did:plc:p2cp5gopk7mgjegy6wadk3ep': true, // samuel.bsky.team 29 + 'did:plc:ragtjsm2j2vknwkz3zp4oxrd': true, // pfrazee.com 30 + 'did:plc:vpkhqolt662uhesyj6nxm7ys': true, // why.bsky.team 31 + 'did:plc:3jpt2mvvsumj2r7eqk4gzzjz': true, // esb.lol 32 + 'did:plc:vjug55kidv6sye7ykr5faxxn': true, // emilyliu.me 33 + 'did:plc:tgqseeot47ymot4zro244fj3': true, // iwsmith.bsky.social 34 + } 35 + 26 36 const BASE_FEEDBACK_FORM_URL = `${HELP_DESK_URL}/requests/new` 27 37 export function FEEDBACK_FORM_URL({ 28 38 email,
+5 -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' ··· 87 87 const {captureAction} = useProgressGuideControls() 88 88 const playHaptic = useHaptics() 89 89 const gate = useGate() 90 - const isDiscoverDebugUser = IS_INTERNAL || gate('debug_show_feedcontext') 90 + const isDiscoverDebugUser = 91 + IS_INTERNAL || 92 + DISCOVER_DEBUG_DIDS[currentAccount?.did || ''] || 93 + gate('debug_show_feedcontext') 91 94 const isBlocked = Boolean( 92 95 post.author.viewer?.blocking || 93 96 post.author.viewer?.blockedBy ||