about summary refs log tree commit diff
path: root/src/screens
Commit message (Collapse)AuthorAgeFilesLines
...
* remove precacheThreadPostProfiles (#3729)Hailey2024-04-271-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove `precacheThreadPostProfiles` * add `displayName` to `PreviewableUserAvatar` * memo * use `precacheProfile` * pass `profile` directly to `PreviewableUserAvatar` * update the `UserAvatar`'s props * remove feed cache * one more spot * rm unused queryClient * Don't call fn unnecessarily * Preload for display name too * try notification item * add to feeditem * and finally, precache for post threads * timestamp * Fix * onBeforePress --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [Clipclops] New routes with placeholder screens (#3725)Samuel Newman2024-04-274-0/+307
| | | | | | | | | | | * add new routes with placeholder screens * gate content * add filled envelope style * swap filled state * switch to `useAgent`
* [Session] Add `useAgent` hook and replace (#3706)Eric Bailey2024-04-254-14/+25
| | | | | | | | | | | * Hook it up * Memoize getAgent method * Use one shared reference --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [Session] Drill `getAgent` into `Onboarding/util` (#3704)Eric Bailey2024-04-252-4/+16
| | | | | | | | | | | * Drill agent into Onboarding/util (cherry picked from commit 2ba68eb5e446a694730b720f2a5b3307eb0914ef) * Thread getAgent instead --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* remove use of `pointerEvents` on iOS profile header (#3694)Hailey2024-04-253-8/+16
|
* Email auth factor (#3602)Paul Frazee2024-04-221-2/+50
| | | | | | | | | | | | | | | * Add email 2fa toggle * Add UI elements needed for 2fa codes in login * Wire up to the server * Give a better failure message for bad 2fa code * Handle enter key in login form 2fa field * Trim spaces * Improve error message
* Top/Latest for hashtags (#3625)dan2024-04-191-59/+139
| | | | | | | * Split HashtagScreen into two components * Hashtag tabs * Visual fixes
* [Statsig] Update experiments (#3617)dan2024-04-191-1/+1
|
* [Statsig] Make gate checks lazily (#3594)dan2024-04-181-4/+2
|
* Fix error getting through by primary feed sort (#3562)Paul Frazee2024-04-151-9/+3
|
* Release 1.77.0 (#3549)Paul Frazee2024-04-133-0/+4
| | | | | * A couple test fixes * Intl extract
* Profile card hover preview (#3508)Eric Bailey2024-04-121-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* PWI improvements (#3489)Paul Frazee2024-04-123-27/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable home and feeds on the PWI * Add global SigninDialog to drive useRequireAuth() * Tweak desktop styles * Make the logo in leftnav PWI a clickable home link * Add label * Improve dialog on web * Fix query key * Go to home after signout from settings screen * Filter out feeds from the discover listing for logged out users which are known to break without auth * Update profile header follow/subscribe to give signin prompt * Show profile feeds tabs on pwi * Add language selector to account creation footer and pwi left nav desktop --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Make bio area scrollable on iOS (#2931)Hailey2024-04-112-10/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix dampen logic prevent ghost presses handle refreshes, animations, and clamps handle most cases for cancelling the scroll animation handle animations save point simplify remove unnecessary context readme apply offset on pan find the RCTScrollView send props, add native gesture recognizer get the react tag wrap the profile in context create module * fix swiping to go back * remove debug * use `findNodeHandle` * create an expo module view * port most of it to expo modules * finish most of expomodules impl * experiments * remove refresh ability for now * remove rn module * changes * cleanup a few issues allow swipe back gesture clean up types always run animation if the final offset is < 0 separate logic update patch readme get the `RCTRefreshControl` working nicely * gate new header * organize
* Improve Android haptic, offer toggle for haptics in the app (#3482)Hailey2024-04-111-3/+4
| | | | | | | | | | | | | | | * 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
* 1.76 release preparations (#3459)Paul Frazee2024-04-091-0/+1
| | | | | | | * Run intl:extract * Update dev-env to 0.3.4 * Test fixes
* Onboarding tweaks (#3447)Eric Bailey2024-04-082-16/+4
| | | | | * Remove feed * Follow bsky.app
* Auto-expand follow suggestions on web (#3432)dan2024-04-081-0/+8
|
* Enforce that text is wrapped in <Text>, remaining cases (#3421)dan2024-04-053-5/+7
| | | | | | | | | | | | | | | | | | | | | * Toggle.Button -> Toggle.ButtonWithText * Simplify Prompt.Cancel/Action * Move lines down for better diff * Remove ButtonWithText * Simplify types * Enforce Button/ButtonText nesting * Add suggested wrapper in linter error * Check <Trans> ancestry too * Also check literals * Rm ts-ignore
* Remove special cases for some buttons with text (#3412)dan2024-04-051-7/+7
| | | | | | | | | | | * Toggle.Button -> Toggle.ButtonWithText * Simplify Prompt.Cancel/Action * Move lines down for better diff * Remove ButtonWithText * Simplify types
* properly import linear gradient (#3423)Hailey2024-04-051-1/+1
|
* migrate to `expo-linear-gradient` (#3420)Hailey2024-04-041-8/+7
| | | | | | | | | * replace packages * rm useless alias from webpack config * fix accidental double commit * replace all usages
* Bump some Expo package, remove unused packages to prepare for migration (#3415)Hailey2024-04-041-14/+11
| | | | | | | | | * bump some package versions * remove completely unused packages * remove blurview * update yarn.lock
* Enforce Text suffix for Text-rendering components (#3407)dan2024-04-0420-114/+111
| | | | | | | | | | | * Rm unused * Add Text suffix to Title/Description * Add Text suffix to text components * Add Text suffix to props * Validate Text components returns
* Enable tags on profile descriptions (close #3081) (#3397)Paul Frazee2024-04-042-19/+22
|
* Simplify list logic further to prevent misuse (#3334)Hailey2024-04-032-47/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Use ALF for the account quick switch dialog (#3327)Samuel Newman2024-04-031-111/+7
| | | | | | | | | | | * Use ALF for account quick switch * clean up modal type * add haptics to dialog opening * move account list to it's own component and share * make tick slightly darker
* Add OTA updates support for `testflight` channel (#3291)Hailey2024-04-032-45/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Mark `under13` and `Next` and `Back` buttons in signup for localisation (#3341)surfdude292024-03-222-7/+13
| | | | | | | | | | | | | * Mark under13 string for translation * Mark buttons for localisation * tweak label * wrap in `ButtonText` * lint * try to fix lint again
* Fix crash during onboarding (#3338)Eric Bailey2024-03-222-32/+30
| | | | | * Fix crash during onboarding * Fix other usage
* move auth flows scrollview to loggedin layoutSamuel Newman2024-03-224-73/+48
|
* Release fixes (#3318)Eric Bailey2024-03-211-2/+2
| | | | | | | | | | | * Fix error overflow * await setSavedFeeds before setting birth date * await birth date first instead of feeds --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Mods UI fixes (#3296)Eric Bailey2024-03-212-9/+9
| | | | | * Fix report dialog buttons on Android by adjusting styles * Dry up label pref comp
* [Statsig] Onboarding and routing events (#3302)dan2024-03-218-94/+123
|
* Fix key error on choose accountEric Bailey2024-03-201-3/+2
|
* Move some things aroundEric Bailey2024-03-205-2/+247
|
* Bump button size on choose accountEric Bailey2024-03-201-1/+1
|
* Password flow tweaksEric Bailey2024-03-203-18/+21
|
* Login form tweaksEric Bailey2024-03-201-74/+75
|
* Remove logEric Bailey2024-03-201-1/+0
|
* StepInfo tweaksEric Bailey2024-03-201-8/+9
|
* Signup shell tweaksEric Bailey2024-03-201-32/+17
|
* sort imports for files related to this PRSamuel Newman2024-03-2011-95/+99
|
* skip initial entering animation for loginSamuel Newman2024-03-201-1/+4
|
* login form back button goes to chooseaccount conditionallySamuel Newman2024-03-201-1/+3
|
* rm extra atomSamuel Newman2024-03-201-1/+0
|
* remove unnecessary group componentSamuel Newman2024-03-201-33/+17
|
* add logEvent that got lost in merge from mainSamuel Newman2024-03-201-0/+5
|
* Merge remote-tracking branch 'origin/main' into samuel/alf-loginSamuel Newman2024-03-202-7/+10
|\
| * [Statsig] Track login/logout (#3286)dan2024-03-191-2/+2
| | | | | | | | | | * [Statsig] Track login/logout * Fix missing attribution