about summary refs log tree commit diff
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* [GIFs] Remove consent flow (#3652)dan2024-04-231-89/+4
| | | | | * Remove tenor from settings * Remove consent flow
* [GIFs] Replace GIPHY with Tenor (#3651)Samuel Newman2024-04-221-38/+27
| | | | | | | | | * replace GIPHY with Tenor * remove "directly" wording * replace GIPHY wording * remove log
* properly close the switch account dialog (#3558)Hailey2024-04-221-8/+9
| | | | | | | | | | | | | | | | | | | * properly close the switch account dialog * use it for switch account as well * ensure dialog is closed on unmount Revert "properly check if the ref is null" This reverts commit 8f563808a5d39389b0bc47a31e73cd147d1e7e8b. properly check if the ref is null ensure dialog is closed on unmount * Revert "ensure dialog is closed on unmount" This reverts commit a48548fd8ed53ae3eb08a0e05bb89f641c112b95.
* [GIFs] Reset scroll on query change (#3642)Samuel Newman2024-04-222-11/+18
| | | | | | | * scroll list to top on query change * dismiss keyboard on swipe list * don't need an effect
* [GIFs] Add error boundary to GIF picker (#3643)Samuel Newman2024-04-221-1/+36
| | | | | | | | | | | | | * error boundary on gif picker * add dialog.close for web users * fix size of dialog on web * Safer coercion --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* only open tag menu on long press (#3553)Samuel Newman2024-04-221-3/+13
|
* add maxwidth to app language dropdown (#3635)Samuel Newman2024-04-221-0/+1
|
* fix onEndReached issue by forcing flatlist to scroll (#3623)Samuel Newman2024-04-192-3/+19
|
* Throttle gif search by 500ms (#3622)Samuel Newman2024-04-192-8/+30
| | | | | | | | | * debounce gif search by 300ms * Throttle it instead --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Add GIF select to composer (#3600)Samuel Newman2024-04-197-12/+453
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * create dialog with flatlist in it * use alf for composer photos/camera/gif buttons * add gif icons * focus textinput on gif dialog close * add giphy API + gif grid * web support * add consent confirmation * track gif select * desktop web consent styles * use InlineLinkText instead of Link * add error/loading state * hide sideborders on web * disable composer buttons where necessary * skip cardyb and set thumbnail directly * switch legacy analytics to statsig * remove autoplay prop * disable photo/gif buttons if external media is present * memoize listmaybeplaceholder * fix pagination * don't set `value` of TextInput, clear via ref * remove console.log * close modal if press escape * pass alt text in the description * Fix typo * Rm dialog --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Fix splash screen language picker appearance on Chrome (#2952)Mary2024-04-181-16/+20
| | | | | * fix: correct language picker appearance on Chrome * fix: prevent chevron shrink on long language names
* properly animate the profile hover card (#3590)Hailey2024-04-171-6/+6
| | | | | | | * properly implement with `isOpen` and `isPositioned` * well, this works just as well * add `willChange`
* Add hovercards to "Reply To" (#3587)dan2024-04-161-3/+3
| | | | | * Add hovercard for Reply To * Tweak durations
* Scrolling while target is hovered and card is visible should hide the card ↵dan2024-04-161-36/+78
| | | | | | | | | | | | | | | | | | | (#3586) * Don't remove the effect, it's not needed here (and wrong) * Differentiate between hovering target and card * Group related code closer * Hide on scroll away * Use named arguments * Inline defaults * Track reason we're showing * Only hide on scroll away while hovering target
* Restructure feed hover state machine code (#3550)dan2024-04-161-57/+77
|
* Add icons for onboarding (#3571)Eric Bailey2024-04-1620-0/+102
|
* Release 1.77.0 (#3549)Paul Frazee2024-04-131-1/+1
| | | | | * A couple test fixes * Intl extract
* Improve the language behaviors around the PWI (#3545)Paul Frazee2024-04-132-2/+18
| | | | | | | | | * 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
* Fix hover card animation with a reducer (#3547)dan2024-04-141-85/+138
|
* Increase hit slop for web's app language picker (#3535)Mary2024-04-131-1/+10
| | | | | | | | | * fix: make app language picker tap region larger * fix: add right padding on drawer signup card noticeable on portuguese language * fix: mimic hitSlop
* Fix oopsie (#3538)dan2024-04-131-0/+1
|
* Fade in animation for card (#3521)Hailey2024-04-131-59/+107
| | | | | | | | | | | | | | | | | | | | | | | | | * fade in and out the card one more fix dont leave an invisible card behind okay just about there move styles glitch clear hide timeouts on card enter about there * Tweak timings * Rewrite with explicit states --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* add ref_src (#3532)Samuel Newman2024-04-131-2/+6
|
* Profile hovers (#3518)Eric Bailey2024-04-133-11/+17
| | | | | | | | | * Add hover card for mentions * Reposted by * Fix key * Add to composer reply to
* [Embeds] "Embed post" post dropdown option (#3513)Samuel Newman2024-04-132-0/+196
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* wait a sec before showing card (#3516)Hailey2024-04-121-9/+13
|
* Zhuzh sign in dialog (#3512)Eric Bailey2024-04-121-2/+13
|
* Profile card hover preview (#3508)Eric Bailey2024-04-126-3/+401
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-124-2/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* 1.76 release preparations (#3459)Paul Frazee2024-04-093-11/+12
| | | | | | | * Run intl:extract * Update dev-env to 0.3.4 * Test fixes
* Small logic cleanups (#3449)Eric Bailey2024-04-094-50/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Small logic cleanups * Small logic cleanups (#3451) * remove a few things * oops * stop swallowing the error * queue callbacks * oops * log error if caught * no need to be nullable * move isClosing=true up * reset `isClosing` and `closeCallbacks` on close completion and open * run queued callbacks on `open` if there are any pending * rm unnecessary ref and check * ensure order of calls is always correct * call `snapToIndex()` on open * add tester to storybook --------- Co-authored-by: Hailey <me@haileyok.com>
* Use ALF for the embed consent modal (#3336)Samuel Newman2024-04-091-0/+119
|
* Implement back button fix for all places in the app (#3434)Hailey2024-04-081-1/+2
|
* fix dialog back button for android (#3428)Hailey2024-04-052-17/+37
| | | | | | | * fix types * remove unused async * add try/catch
* Enforce that text is wrapped in <Text>, remaining cases (#3421)dan2024-04-053-18/+13
| | | | | | | | | | | | | | | | | | | | | * 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-053-72/+78
| | | | | | | | | | | * 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-052-2/+2
|
* migrate to `expo-linear-gradient` (#3420)Hailey2024-04-042-2/+2
| | | | | | | | | * replace packages * rm useless alias from webpack config * fix accidental double commit * replace all usages
* Use CSS keyframe animation for spinner on web (#3411)Samuel Newman2024-04-042-2/+36
| | | | | * Use css keyframe animation for spinner on web * duplicate css to index.html
* Enforce Text suffix for Text-rendering components (#3407)dan2024-04-0412-63/+60
| | | | | | | | | | | * Rm unused * Add Text suffix to Title/Description * Add Text suffix to text components * Add Text suffix to props * Validate Text components returns
* Open share sheet when long pressing link (#3317)Samuel Newman2024-04-042-17/+52
| | | | | | | | | | | | | | | | | | | | | * 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>
* Simplify list logic further to prevent misuse (#3334)Hailey2024-04-033-82/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-033-10/+212
| | | | | | | | | | | * 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
* Upgrade `UITextView` to latest (#3090)Hailey2024-04-031-14/+6
| | | | | | | | | | | | | | | * uitextview use library w/ fixes bump bump multiple uitextview fixes * bump * update to latest * cleanup
* Add cursor to 'learn more' on screenhider (close #2871) (#3395)Paul Frazee2024-04-031-8/+15
|
* Add OTA updates support for `testflight` channel (#3291)Hailey2024-04-033-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove Button error boundary (#3372)dan2024-04-031-41/+9
|
* Add share warning to big share button in post ctrl (#3367)Samuel Newman2024-04-031-4/+3
|
* Mark `Retry` and `Go Back` buttons in Error.tsx for localisation (#3352)surfdude292024-03-291-9/+16
| | | | | | | * Mark `Retry` and `Go Back` buttons in Error.tsx for localisation * add and sort imports * sort imports better
* Wrap Button children in an error boundary (#3340)Eric Bailey2024-03-221-14/+49
| | | | | * Wrap Button children in an error boundary * Check for Trans component