diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-05-31 07:05:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 05:05:52 +0100 |
commit | 8569e2e389e756ec2df6c547e894689500d1c111 (patch) | |
tree | 23891ddb375fd5d9e97e24286ac11fc8bd24914e /src/lib | |
parent | 9879159438b9deec811f30f07f41839321495f73 (diff) | |
download | voidsky-8569e2e389e756ec2df6c547e894689500d1c111.tar.zst |
Add follow button to feed item avatar (#3560)
* add follow button to feed item avatar * remove confirmation * add confirmation (just system alert) * Shrink the avi follow indicator a smidge * gate the follow button * remove from your own posts * add to post thread item * hide the follow button locally to component * Use native dropdown * Add follow btn to notifications and search * UI tweaks * Hide on PWI * Add toast for confirmation * Check gate last * compiler * Rm unused * Use names --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/statsig/events.ts | 2 | ||||
-rw-r--r-- | src/lib/statsig/gates.ts | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts index 42f4737f8..00444c18c 100644 --- a/src/lib/statsig/events.ts +++ b/src/lib/statsig/events.ts @@ -115,6 +115,7 @@ export type LogEvents = { | 'ProfileHeaderSuggestedFollows' | 'ProfileMenu' | 'ProfileHoverCard' + | 'AvatarButton' } 'profile:unfollow': { logContext: @@ -126,6 +127,7 @@ export type LogEvents = { | 'ProfileMenu' | 'ProfileHoverCard' | 'Chat' + | 'AvatarButton' } 'chat:create': { logContext: 'ProfileHeader' | 'NewChatDialog' diff --git a/src/lib/statsig/gates.ts b/src/lib/statsig/gates.ts index 2721871f3..4481935f7 100644 --- a/src/lib/statsig/gates.ts +++ b/src/lib/statsig/gates.ts @@ -1,4 +1,5 @@ export type Gate = // Keep this alphabetic please. | 'request_notifications_permission_after_onboarding_v2' + | 'show_avi_follow_button' | 'show_follow_back_label_v2' |