about summary refs log tree commit diff
path: root/src/lib/statsig
Commit message (Collapse)AuthorAgeFilesLines
* Gate bitdrift integration (#7088)dan2024-12-131-3/+2
| | | | | | | | | * Move Statsig init call earlier * Gate Bitdrift init call * Remove IS_TEST env constant * Mock statsig
* Add link-click metrics (#6934)Paul Frazee2024-12-031-0/+4
| | | | | * Add link-click metrics * Fix conditional
* [Nicer Tabs] Fork TabBar, simplify Pager (#6762)dan2024-12-031-6/+0
| | | | | | | | | | | | | | | | | | | | | * Fork TabBar.web.tsx * Trim dead code from both forks * Remove onPageSelecting event It's difficult to tell what exactly it's supposed to represent, and in practice it's not really used aside from logging. Let's rip it out for now to keep other changes simpler. * Remove early onPageSelected call It was added to try to do some work eagerly when we're sure which way the scroll is snapping. This is not necessarily a good idea though. It schedules a potentially expensive re-render right during the deceleration animation, which is not great. Whatever we're optimizing there, we should optimize smarter (e.g. prewarm just the network call). The other thing it used to help with is triggering the pager header autoscroll earlier. But we're going to rewrite that part differently anyway so that's not relevant either. * Prune more dead code from the native version We'll have to revisit this when adding tablet support but for now I'd prefer to remove a codepath that is not being tested or ever run. * Use regular ScrollView on native The Draggable thing was needed for web-only behavior so we can drop it in the native fork.
* Remove indirection, insert between slices (#6645)dan2024-11-221-1/+0
|
* [Statsig] Remove client downsampling (#6153)Hailey2024-11-152-54/+18
|
* [Statsig] Track threads (#6057)dan2024-11-011-0/+5
| | | | | * [Statsig] Send thread length * Split events
* tweak downsample rate to 1% (#5836)Hailey2024-10-181-2/+2
| | | | Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Disable feed debug gate due to EME (#5815)Hailey2024-10-171-2/+2
|
* 🪵📌 (#5594)Samuel Newman2024-10-031-0/+2
|
* Add gate to increase post-feed page size (#5473)Eric Bailey2024-09-251-1/+3
| | | | | | | | | | | * Add gate to increase post-feed page size * Exclude Discover * Remove exception * Clarify intent * Let gate cache
* Milly tweaks (#5365)Eric Bailey2024-09-161-3/+1
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Add eventsEric Bailey2024-09-131-0/+4
|
* Merge branch 'ten-milly' into mainPaul Frazee2024-09-131-1/+3
|\
| * Add gateEric Bailey2024-09-121-1/+4
| |
* | Enable video_upload gate (#5311)dan2024-09-121-1/+1
|/
* Verify Identical Domains Emit Origin (#5255)Hailey2024-09-101-4/+1
|
* [Video] Open the floodgates (partially) (#5208)Samuel Newman2024-09-071-1/+0
|
* Set onboarding_minimum_interests to false (#5204)dan2024-09-071-1/+0
| | | Co-authored-by: Hailey <me@haileyok.com>
* Set show_follow_suggestions_in_profile to true (#5205)dan2024-09-071-1/+0
|
* Set fixed_bottom_bar to true (#5203)dan2024-09-071-1/+0
|
* [Statsig] Add more events to downsample, increase downsample rate (#5198)Hailey2024-09-072-10/+21
| | | | | | | | | * add some events for sampling * include downsample rate in metadata * fix metadata logic * uncomment debug
* Don't log extra background events (#5134)dan2024-09-041-4/+4
|
* [Video] Split 'videos' gate in two (#5037)Samuel Newman2024-08-301-2/+3
|
* [Experiment] Suggest profiles in profile (#5030)dan2024-08-301-0/+1
| | | | | | | | | | | | | | | * Rename variable to disambiguate with parent scope * More variables where they are used * Inline variables * Add suggestions in profile * Gate it * rm space * Remove header suggestions under gate
* Enable show_follow_back_label_v2 (#5022)dan2024-08-291-1/+0
|
* Remove logging of following prefs (#5021)dan2024-08-291-6/+0
|
* Remove new_user_guided_tour and tour code (#5023)dan2024-08-291-1/+0
|
* [Experiment] Always show bottom bar (#4946)dan2024-08-161-0/+1
|
* Move global "Sign out" out of the current account row (#4941)dan2024-08-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * Rename logout to logoutEveryAccount * Add logoutCurrentAccount() * Make all "Log out" buttons refer to current account Each of these usages is completely contextual and refers to a specific account. * Add Sign out of all accounts to Settings * Move single account Sign Out below as well * Prompt on account removal * Add Other Accounts header to reduce ambiguity * Spacing fix --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Remove .withProxy() calls (#4929)dan2024-08-131-1/+0
|
* Remove show_avi_follow_button (#4900)Eric Bailey2024-08-081-1/+0
|
* Remove native_pwi_disabled (#4896)Eric Bailey2024-08-081-1/+0
| | | | | * Remove native_pwi_disabled * Remove search button
* Remove new_user_progress_guide (#4895)Eric Bailey2024-08-081-1/+0
|
* Remove explore_page_profile_card_social_proof (#4894)Eric Bailey2024-08-081-1/+0
|
* Remove ungroup_follow_backs gate (#4893)Eric Bailey2024-08-081-1/+0
|
* Cleanup flags (#4891)dan2024-08-081-3/+0
| | | | | * Remove launched gates * Remove disabled gates
* ALF suggested follows in profile header (#4828)Eric Bailey2024-08-081-0/+4
| | | | | | | | | * Refactor ProfileHeaderSuggestedFollows * Load fresh data every time * Oops, missed a file * Update ProfileCard.Link usage, tweak copy
* Add logging of selected feed preference when displaying the following feed ↵Hailey2024-08-071-0/+6
| | | | (#4789)
* [Video] Visibility detection view (#4741)Hailey2024-08-071-0/+1
| | | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Hack-modify avi path to use smaller thumbs behind gate (#4816)Paul Frazee2024-07-231-0/+1
| | | | | * Hack-modify avi path to use smaller thumbs behind gate * Only use small thumbs on smaller rendering
* referrers for all platforms (#4514)Hailey2024-07-112-21/+5
|
* [Session] Experiment: Don't use withProxy (#4762)dan2024-07-101-0/+1
| | | | | * Reorder statements * Remove withProxy() usage behind a gate
* Add social proof to suggested follows (#4602)Samuel Newman2024-07-091-0/+1
| | | | | | | | | | | | | * replace unused `followers` prop with social proof * Introduce 'minimal' version * Gate social proof one explore page, fix space if no desc * Use smaller avis for minimal --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Video compression in composer (#4638)Samuel Newman2024-07-051-0/+1
| | | | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* [D1X] Pull out follow-backs for higher signal (#4719)Eric Bailey2024-07-041-2/+3
| | | | | | | | | | | * Pull out follow-backs for higher signal * Gate it * Fix early gate check --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* New user progress guides (#4716)Paul Frazee2024-07-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add the animated checkmark svg * Add progress guide list and task components * Add ProgressGuide Toast component * Implement progress-guide controller * Add 7 follows to the progress guide * Wire up action captures * Wire up progress-guide persistence * Trigger progress guide on account creation * Clear the progress guide from storage on complete * Add progress guide interstitial, put behind gate * Fix: read progress guide state from prefs * Some defensive type checks * Create separate toast for completion * List tweaks * Only show on Discover * Spacing and progress tweaks * Completely hide when complete * Capture the progress guide in local state, and only render toasts while guide is active * Fix: ensure persisted hydrates into local state * Gate --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Guided tour for new users (#4690)Paul Frazee2024-07-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add home guided tour (WIP) * Add web handling of the tour * Switch to our fork of rn-tourguide * Bump guided-tour * Fix alignment on android * Implement home page tour trigger after account creation * Add new_user_guided_tour gate * Add a title line to the tour tooltips * A11y improvements: proper labels, focus capture, scroll capture * Silence type error * Native a11y * Use FocusScope * Switch to useWebBodyScrollLock() --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [D1X] Integrate interstitials (#4698)Eric Bailey2024-07-031-0/+2
| | | | | | | | | | | | | | | * Use discriminated union * Integrate interstitials * Add gates and handling for variants * Only show interstitials for logged in accounts since flags are based on user ID * Nit --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [D1X] Add interstitials, component tweaks, placeholders (#4697)Eric Bailey2024-07-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add interstitials, component tweaks, placeholders * Tweak feed card styles * Port over same fix to ProfileCard * Add browse more link on desktop * Rm Gemfile * Update logContext * Update logContext * Add click metric to cards * Pass through props to ProfileCard.Link * 2-up grid for profile cards on desktop web * Add secondary_inverted button color * Use inverted button color * Adjust follow button layout * Update skeleton * Use round button * Translate
* [D1X] Minimum interest experiment (#4653)Eric Bailey2024-07-021-0/+1
| | | | | | | | | | | | | | | | | | | * Change up copy * Add min # prompt * Improve style * Add gate * Tweak padding * Translate * Revert string change --------- Co-authored-by: dan <dan.abramov@gmail.com>