about summary refs log tree commit diff
path: root/src/components/dialogs/GifSelect.tsx
Commit message (Collapse)AuthorAgeFilesLines
* [🐴] Show if user can be messaged in new chat search (#4021)Samuel Newman2024-05-151-0/+1
| | | | | | | | | | | | | * show if user can be messaged * allow 2 lines in handle field due to new text * cannot -> can't * rework canBeMessaged logic and move to new file --------- Co-authored-by: Eric Bailey <git@esb.lol>
* use keyboardDismissMode rather than onScrollBeginDrag (#3767)Samuel Newman2024-04-301-2/+2
|
* [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
* [GIFs] Reset scroll on query change (#3642)Samuel Newman2024-04-221-5/+12
| | | | | | | * 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>
* fix onEndReached issue by forcing flatlist to scroll (#3623)Samuel Newman2024-04-191-1/+5
|
* Throttle gif search by 500ms (#3622)Samuel Newman2024-04-191-8/+3
| | | | | | | | | * 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-191-0/+360
* 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>