about summary refs log tree commit diff
path: root/src/lib/statsig
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-08-08 01:01:01 +0300
committerGitHub <noreply@github.com>2025-08-07 17:01:01 -0500
commit93c4719a2140070b33f69dd0f12b4de2619a25a6 (patch)
tree0396daa890b1023097385748f2194b16d1fa6fa4 /src/lib/statsig
parentf708e884107c75559759b22901c87e57d5b979da (diff)
downloadvoidsky-93c4719a2140070b33f69dd0f12b4de2619a25a6.tar.zst
Check handle as you type (#8601)
* check handle as you type

* metrics

* add metric types

* fix overflow

* only check reserved handles for bsky.social, fix test

* change validation check name

* tweak input

* move ghosttext component to textfield

* tweak styles to try and match latest

* add suggestions

* improvements, metrics

* share logic between typeahead and next button

* Apply suggestions from code review

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* update checks, disable button if unavailable

* convert to lowercase

* fix bug with checkHandleAvailability

* add gate

* move files around to make clearer

* fix bad import

* Fix flashing next button

* Enable for TF

---------

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
Co-authored-by: Hailey <me@haileyok.com>
Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/lib/statsig')
-rw-r--r--src/lib/statsig/gates.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/statsig/gates.ts b/src/lib/statsig/gates.ts
index c3bd1a7cb..66134a462 100644
--- a/src/lib/statsig/gates.ts
+++ b/src/lib/statsig/gates.ts
@@ -5,6 +5,7 @@ export type Gate =
   | 'debug_subscriptions'
   | 'disable_onboarding_policy_update_notice'
   | 'explore_show_suggested_feeds'
+  | 'handle_suggestions'
   | 'old_postonboarding'
   | 'onboarding_add_video_feed'
   | 'post_threads_v2_unspecced'