about summary refs log tree commit diff
path: root/src/components/dialogs/GifSelect.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade `@types/react` to 19 and run codemod (attempt 2) (#8918)Samuel Newman2025-09-091-1/+1
| | | | | | | | | | | | | * update dependencies * rm `import type React from 'react'` * run codemods * patch discord types * update types/react-dom * Update yarn.lock
* move background to the parent and remove unused viewAnastasiya Uraleva2025-08-291-3/+1
|
* Update search on Gif select component to add small padding to match other ↵Anastasiya Uraleva2025-08-271-11/+2
| | | | search experiences
* Fix Gif Select dialog search bar scrolling away (#8874)Samuel Newman2025-08-251-8/+6
| | | | | * fix flatlist dialogs on web * tweak gif select dialog, add style prop to textfield
* feat: use t.gifs cdn for tenor search results (#8574)hailey2025-06-301-4/+5
|
* Fix double padding in `Dialog.InnerFlatList` on web (#5986)Samuel Newman2024-10-291-3/+2
| | | | | * remove extra padding on web * pass prop
* Composer - Self label dialog ALF rewrite (#4354)Samuel Newman2024-10-161-1/+1
|
* GIF dialog is scrollable on web (#5704)Hailey2024-10-101-2/+5
|
* Allow nested sheets without boilerplate (#5660)Samuel Newman2024-10-091-4/+0
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Move Dialogs to Radix (#5648)Samuel Newman2024-10-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use Redix FocusTrap (#5638) * Use Redix FocusTrap * force resolutions on radix libs * add focus guards * use @radix-ui/dismissable-layer for escape handling * fix banner menu keypress by using `Pressable` * add menu in dialog example to storybook --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * use DismissableLayer/FocusScope for composer * fix storybook dialog * thread Portal through Prompt and avatar/banner * fix dialog style regression * remove tamagui --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [Sheets] [Pt. 1] Root PR (#5557)Hailey2024-10-041-9/+66
| | | | | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: dan <dan.abramov@gmail.com> Co-authored-by: Hailey <me@haileyok.com>
* [Neue] Buttons (#5406)Eric Bailey2024-09-201-1/+1
| | | | | | | | | | | * Re-align button sizing (cherry picked from commit bcec243bb59dfe468313d98ba61f464d9750feec) * Use large, small, tiny (cherry picked from commit 1dc333c2993ab7f2e0ac750c0670dcec9a7069d0) * Tweaks
* Improve styles (#4916)Minseo Lee2024-08-111-1/+3
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Fix `occurred` typo (#4919)Shubh Porwal2024-08-111-1/+1
| | | | Co-authored-by: Hailey <hailey@blueskyweb.xyz>
* Native `formSheet` for GIF select on iOS (#4328)Samuel Newman2024-06-041-49/+16
| | | | | | | | | * native formsheet for gif select * trigger confirm discard if have gif * give modal a background color * fix web top bar - unrelated but I cba to make a separate PR
* [🐴] 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>