diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/constants.ts | 10 | ||||
-rw-r--r-- | src/view/com/util/post-ctrls/PostCtrls.tsx | 7 |
2 files changed, 15 insertions, 2 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts index d2f585256..a105de050 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -23,6 +23,16 @@ export const STARTER_PACK_MAX_SIZE = 150 // -prf export const JOINED_THIS_WEEK = 560000 // estimate as of 12/18/24 +export const DISCOVER_DEBUG_DIDS: Record<string, true> = { + 'did:plc:oisofpd7lj26yvgiivf3lxsi': true, // hailey.at + 'did:plc:p2cp5gopk7mgjegy6wadk3ep': true, // samuel.bsky.team + 'did:plc:ragtjsm2j2vknwkz3zp4oxrd': true, // pfrazee.com + 'did:plc:vpkhqolt662uhesyj6nxm7ys': true, // why.bsky.team + 'did:plc:3jpt2mvvsumj2r7eqk4gzzjz': true, // esb.lol + 'did:plc:vjug55kidv6sye7ykr5faxxn': true, // emilyliu.me + 'did:plc:tgqseeot47ymot4zro244fj3': true, // iwsmith.bsky.social +} + const BASE_FEEDBACK_FORM_URL = `${HELP_DESK_URL}/requests/new` export function FEEDBACK_FORM_URL({ email, diff --git a/src/view/com/util/post-ctrls/PostCtrls.tsx b/src/view/com/util/post-ctrls/PostCtrls.tsx index 9a077d6f2..fe583e801 100644 --- a/src/view/com/util/post-ctrls/PostCtrls.tsx +++ b/src/view/com/util/post-ctrls/PostCtrls.tsx @@ -18,7 +18,7 @@ import {msg, plural} from '@lingui/macro' import {useLingui} from '@lingui/react' import {IS_INTERNAL} from '#/lib/app-info' -import {POST_CTRL_HITSLOP} from '#/lib/constants' +import {DISCOVER_DEBUG_DIDS, POST_CTRL_HITSLOP} from '#/lib/constants' import {CountWheel} from '#/lib/custom-animations/CountWheel' import {AnimatedLikeIcon} from '#/lib/custom-animations/LikeIcon' import {useHaptics} from '#/lib/haptics' @@ -87,7 +87,10 @@ let PostCtrls = ({ const {captureAction} = useProgressGuideControls() const playHaptic = useHaptics() const gate = useGate() - const isDiscoverDebugUser = IS_INTERNAL || gate('debug_show_feedcontext') + const isDiscoverDebugUser = + IS_INTERNAL || + DISCOVER_DEBUG_DIDS[currentAccount?.did || ''] || + gate('debug_show_feedcontext') const isBlocked = Boolean( post.author.viewer?.blocking || post.author.viewer?.blockedBy || |