From ba1c4834ab23726c065aff31ef09e3578210ff01 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 19 Apr 2024 03:42:26 +0100 Subject: Add GIF select to composer (#3600) * 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 --- assets/icons/arrowLeft_stroke2_corner0_rounded.svg | 1 + assets/icons/gifSquare_stroke2_corner0_rounded.svg | 1 + assets/icons/gif_stroke2_corner0_rounded.svg | 1 + 3 files changed, 3 insertions(+) create mode 100644 assets/icons/arrowLeft_stroke2_corner0_rounded.svg create mode 100644 assets/icons/gifSquare_stroke2_corner0_rounded.svg create mode 100644 assets/icons/gif_stroke2_corner0_rounded.svg (limited to 'assets') diff --git a/assets/icons/arrowLeft_stroke2_corner0_rounded.svg b/assets/icons/arrowLeft_stroke2_corner0_rounded.svg new file mode 100644 index 000000000..96b5c16f5 --- /dev/null +++ b/assets/icons/arrowLeft_stroke2_corner0_rounded.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/gifSquare_stroke2_corner0_rounded.svg b/assets/icons/gifSquare_stroke2_corner0_rounded.svg new file mode 100644 index 000000000..47b9df984 --- /dev/null +++ b/assets/icons/gifSquare_stroke2_corner0_rounded.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/gif_stroke2_corner0_rounded.svg b/assets/icons/gif_stroke2_corner0_rounded.svg new file mode 100644 index 000000000..519acfd4d --- /dev/null +++ b/assets/icons/gif_stroke2_corner0_rounded.svg @@ -0,0 +1 @@ + -- cgit 1.4.1