about summary refs log tree commit diff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* [Statsig] Slightly block the UI on gates (#3608)dan2024-04-181-0/+26
|
* [Statsig] Prefetch configs for other accounts (#3607)dan2024-04-181-21/+46
| | | | | | | | | | | | | * Poll both current and other accounts * Make createStatsigOptions a function * Pass prefetchUsers with the initial request * Add initializeCalled check * Be resilient to object identity changes * Decrease poll interval to 1 minute
* Add our own cache in front of Statsig (#3604)dan2024-04-181-32/+45
|
* [Statsig] Make gate checks lazily (#3594)dan2024-04-182-16/+20
|
* Cleanup files after upload on native (#3597)Hailey2024-04-171-6/+25
| | | | | | | | | | | | | | | | | | | * cleanup images after uploading from the composer cleanup external embed images as well cleanup files after upload add `expo-file-system` * remove test log * await * Revert "await" This reverts commit 771814b40ce1395cac4f56853d8a9e793ca92c2f. * just log an error if it throws
* Better dist strings for Sentry (#3584)Hailey2024-04-162-12/+6
| | | | | | | * better version codes for sentry * use a `.` to follow the same intended format as before * ignore dist build number
* Make ref_ always strings (#3583)dan2024-04-161-6/+18
| | | | | * Make ref_ always strings * Harden types
* Always send ref_ params (#3582)dan2024-04-161-4/+4
|
* Improve the language behaviors around the PWI (#3545)Paul Frazee2024-04-131-10/+71
| | | | | | | | | * Handle leftnav overflow with longer languages' copy * Update the language dropdown to set ALL language prefs * Add hackfix to language cachebusting on PWI * Reset feeds on language change
* [Statsig] Send ref source (#3531)dan2024-04-131-0/+11
| | | | | | | * [Statsig] Send ref source * Add is web check * Fix types
* [Embeds] "Embed post" post dropdown option (#3513)Samuel Newman2024-04-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * add embed option to post dropdown menu * put embed post button behind a gate * increase line height in dialog * add gate to gate name union * hide embed button if PWI optout * Ungate embed button * Escape HTML, align implementations * Make dialog conditionally rendered * Memoize EmbedDialog * Render dialog lazily --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Remove vertical scrollbars from views on native (#3429)Hailey2024-04-121-0/+1
| | | | | | | | | | | | | * remove vertical scrollbars * add to a few missing lists * gate this change * use `hide_vertical_scroll_indicators` * fix gate lint * fix bool
* Profile card hover preview (#3508)Eric Bailey2024-04-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: initial user card hover * feat: flesh it out some more * fix: initialize middlewares once * chore: remove floating-ui react-native * chore: clean up * Update moderation apis, fix lint * Refactor profile hover card to alf * Clean up * Debounce, fix positioning when loading * Fix going away * Close on all link presses * Tweak styles * Disable on mobile web * cleanup some of the changes pt. 1 * cleanup some of the changes pt. 2 * cleanup some of the changes pt. 3 * cleanup some of the changes pt. 4 * Re-revert files * Fix handle presentation * Don't follow yourself, silly * Collapsed notifications group * ProfileCard * Tree view replies * Suggested follows * Fix hover-back-on-card edge case * Moar --------- Co-authored-by: Mary <git@mary.my.id> Co-authored-by: Hailey <me@haileyok.com>
* Enable updates for `production` behind `receive_updates` gate (#3496)Hailey2024-04-123-34/+38
| | | | | | | | | | | * add gate type * gate the updates * enable updates in `production` * web placeholder for `useOTAUpdates()` * update comment
* Fix stale Notifications after push (#3507)dan2024-04-121-0/+4
|
* Dont apply the content-language filter if it will remove all content (#3492)Paul Frazee2024-04-121-5/+15
| | | | | * Dont apply the content-language filter if it will remove all content * Improve code
* Use getSuggestions endpoint behind the gate (#3499)dan2024-04-122-1/+5
| | | | | | | | | * Move suggested follows out of the component * Add new suggestions implementation * Put new endpoint behind the gate * Make bottom less weird
* Added `new_profile_scroll_component` to `Gate` type (#3487)Hailey2024-04-111-0/+1
| | | | | | | | | * added to the types * alphabetical pls --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Improve Android haptic, offer toggle for haptics in the app (#3482)Hailey2024-04-111-36/+9
| | | | | | | | | | | | | | | * improve android haptics, offer toggle for haptics * update haptics.ts * default to false * simplify to `playHaptic` * just leave them as `feedInfo` * use a hook for `playHaptic` * missed one of them
* [Statsig] Mark Testflight as staging tier (#3470)dan2024-04-101-1/+7
|
* [Statsig] Typecheck gates (#3467)dan2024-04-102-4/+10
| | | | | | | * Typecheck gates * Lint against untyped useGate() * Alphabetic
* Search - extra tabs (#3408)Samuel Newman2024-04-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * add extra tab to search and translate tab names * add feature gate * flatten pager children * Revert "flatten pager children" This reverts commit 0050d42558c2c9b7bc4f2ad2df4ae2908fa26f65. * have pager children as array * move gate to custom hook * bundle titles and pages together * remove comment * Fix a crash * Use Views as children --------- Co-authored-by: dan <dan.abramov@gmail.com>
* [Statsig] Instrument feed display (#3455)dan2024-04-091-0/+6
| | | | | * [Statsig] Instrument feed display * Back out leftover change
* Onboarding tweaks (#3447)Eric Bailey2024-04-081-1/+3
| | | | | * Remove feed * Follow bsky.app
* [Statsig] Track like/follow metadata (#3435)dan2024-04-082-0/+15
| | | | | | | | | | | * Track becoming mutuals * Track poster/liker status * Track post and followee clout * Track follower and liker clout * Extract utility
* [Experiment] Turn off interval polling for Discover (#3431)dan2024-04-081-0/+2
| | | | | * Include feed URL in feed events * [Experiment] Turn off polling interval for Discover
* Auto-expand follow suggestions on web (#3432)dan2024-04-081-0/+4
|
* migrate to 'expo-haptics' (#3418)Hailey2024-04-041-11/+18
| | | | | * migrate to 'expo-haptics' * run yarn install twice if necessary
* migrate to `expo-application` (#3417)Hailey2024-04-043-9/+9
| | | | | * migrate to `expo-application` * replace additional usage
* migrate to `expo-clipboard` (#3419)Hailey2024-04-041-2/+2
| | | | | * replace package * replace usages
* Extract query key roots to constants (#3404)dan2024-04-041-2/+3
| | | | | | | * Extract query key roots to constants * Dedupe labelers-detailed-info * Align naming
* Open share sheet when long pressing link (#3317)Samuel Newman2024-04-041-3/+4
| | | | | | | | | | | | | | | | | | | | | * uitextview use library w/ fixes bump bump multiple uitextview fixes * bump * Open share sheet on link long press * rm package manager field * add link warning to longpress --------- Co-authored-by: Hailey <me@haileyok.com>
* rm 'pornography' label wording (#3402)Hailey2024-04-042-5/+5
| | | | | * rm 'pornography' * add `adult content` to `REASONSEXUAL`
* Simplify list logic further to prevent misuse (#3334)Hailey2024-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simplify list logic further more simplification simplify by removing `isEmpty` use `isFetchingNextPage` everywhere for clarity change `isFetching` to `isFetchingNextPage` for clarity remove some useless `useMemo`s move `renderItem` and `keyExtractor` out of component * clean bundle size check * update deploy * adjust * adjust * one test * try now * test it * done
* Scope query client per DID (#3333)dan2024-04-041-29/+63
| | | | | | | | | * Move QueryProvider inside the key * Pull useQueryClient-dependent code down in App.native * Remove useQueryClient dependency from session provider * Scope query client per DID
* Fix magnify icon (#3292)Minseo Lee2024-04-031-7/+7
| | | | | * Update icons.tsx * Update icons.tsx
* Factor out QueryProvider (#3331)dan2024-04-031-6/+25
|
* Make notifications init reactive to queryClient (#3329)dan2024-04-031-46/+58
|
* Add OTA updates support for `testflight` channel (#3291)Hailey2024-04-032-3/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * some progress another adjustment, testing another adjustment, testing fix again fix again set default runtime version fix test this script test this script test this script add build numbers to the deployment url clean give script access to build number add `useBuildNumberEnv` without a bump new line fix missing async add channel name to deployment url add updates check on launch for testflight users ver bump init updates on launch for native add `testflight` as default in build submit add is_testflight check * disable inline predictions to prevent ios composer jank * temp bump * Revert "temp bump" This reverts commit 44c51134a35d817c73edb1e635495597c95117b3. * adjustments version bump adjust fixes test * cleanup and finalize drop check down to every 15 minutes adjustments change to 15 mins use jq to get version if necessary rm test on push figured it out remove nightly testflight releases test again again again again again AGAIN ONCE MORE test again again again again again AGAIN test again again again again again AGAIN test again again again again again test again again again again test again again again test again again test again test test test run deploy if necessary run deploy if necessary run deploy if necessary run deploy if necessary run deploy if necessary remove test message fix environment oops cleanup merge in changes * remove unnecessary `workflow_call` * remove changes that have been merged into main now * finalize android update git ignore rm test stuff from the bundle action remove test message test message fix test message test message few android fixes few android fixes fix jq add a test message fix slack webhook create android deployments test 2 create android deployments add `testflight-android` profile to eas.json more cleanup some more cleanup simplify some logic remove unnecessary channel rename to `useOTAUpdates` * rm test portion
* Use logger.error instead of rethrow (#3323)dan2024-03-211-4/+2
|
* [Statsig] Protect against early logEvent call crashing (#3315)dan2024-03-211-5/+15
| | | | | * [Statsig] Check if initialized * Never interrupt the caller
* [Statsig] Onboarding and routing events (#3302)dan2024-03-212-3/+44
|
* Merge remote-tracking branch 'origin/main' into samuel/alf-loginSamuel Newman2024-03-207-6/+60
|\
| * [Statsig] Track active time (#3289)dan2024-03-192-2/+13
| |
| * [Statsig] Track login/logout (#3286)dan2024-03-192-2/+13
| | | | | | | | | | * [Statsig] Track login/logout * Fix missing attribution
| * [Statsig] Track feed refresh (#3283)dan2024-03-191-0/+4
| |
| * Various e2e test fixes (#3284)Paul Frazee2024-03-191-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * Just use the first picture every time * Add missing testIDs * Various test fixes * Use simplified link fetcher for e2e * Disable tests for now-n * Update test-env creation
| * use different labels for `porn` and `sexual` (#3282)Hailey2024-03-191-1/+5
| | | | | | | | | | * use different labels for `porn` and `sexual` * newline
| * Merge branch 'web-fix-fonts-and-image-box' of ↵Paul Frazee2024-03-191-0/+2
| |\ | | | | | | | | | https://github.com/alexkuz/social-app into alexkuz-web-fix-fonts-and-image-box
| | * remove scrollbar gutter for Chrome when body scroll is lockedAlexander K2024-03-171-0/+2
| | |