diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-01-23 22:33:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-23 22:33:28 +0000 |
commit | f1d120d416bc262b5fd63e3407f9e0b09b13cd74 (patch) | |
tree | 5191aec11ef4367e7be299e3711cad2dcad29697 /src/lib | |
parent | 084d11c63aebd0afc516931a11bddac9b24b3b18 (diff) | |
download | voidsky-f1d120d416bc262b5fd63e3407f9e0b09b13cd74.tar.zst |
Takendown state + in-app takedown appeals (#7566)
* takendown screen * add form, move button inline * expect type error * display error * disable submit if too long * move around all the ctas * typos, rm layoutanimation, fix link * use REASONAPPEAL
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/constants.ts | 2 | ||||
-rw-r--r-- | src/lib/statsig/events.ts | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts index aa7ff2928..c03439f56 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -52,6 +52,8 @@ export const MAX_DM_GRAPHEME_LENGTH = 1000 // but increasing limit per user feedback export const MAX_ALT_TEXT = 2000 +export const MAX_REPORT_REASON_GRAPHEME_LENGTH = 2000 + export function IS_TEST_USER(handle?: string) { return handle && handle?.endsWith('.test') } diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts index af759e94e..189153a10 100644 --- a/src/lib/statsig/events.ts +++ b/src/lib/statsig/events.ts @@ -13,7 +13,12 @@ export type LogEvents = { withPassword: boolean } 'account:loggedOut': { - logContext: 'SwitchAccount' | 'Settings' | 'SignupQueued' | 'Deactivated' + logContext: + | 'SwitchAccount' + | 'Settings' + | 'SignupQueued' + | 'Deactivated' + | 'Takendown' scope: 'current' | 'every' } 'notifications:openApp': {} |