about summary refs log tree commit diff
path: root/src/view/com/composer/GifAltText.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Port post embeds to new arch (#7408)Eric Bailey2025-06-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Direct port of embeds to new arch (cherry picked from commit cc3fa1f6cea396dd9222486c633a508bfee1ecd6) * Re-org * Split out ListEmbed and FeedEmbed * Split out ImageEmbed * DRY up a bit * Port over ExternalLinkEmbed * Port over Player and Gif embeds * Migrate ComposerReplyTo * Replace other usages of old post-embeds * Migrate view contexts * Copy pasta VideoEmbed * Copy pasta GifEmbed * Swap in new file location * Clean up * Fix up native * Add back in correct moderation on List and Feed embeds * Format * Prettier * delete old video utils * move bandwidth-estimate.ts * Remove log * Add LazyQuoteEmbed for composer use * Clean up unused things * Remove remaining items * Prettier * Fix imports * Handle nested quotes same as prod * Add back silenced error handling * Fix lint --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Add plural formatting for alt text truncated string (#7994)surfdude292025-04-011-3/+6
| | | | | | | | | * add plural formatting in GifAltText.tsx * add plural formatting in ImageAltTextDialog.tsx * import Plural * format
* Leverage jsx transform to remove unnecessary react imports and update eslint ↵Paul Coroneos2024-11-191-1/+1
| | | | | | | | | config (#6516) * update eslint config with jsx runtime * leverage jsx transform to remove unnecessary react imports and update eslint config * run yarn lint --fix to remove eslint disables related to react/prop-types that is now disabled
* fix alt position (#5985)Samuel Newman2024-10-281-1/+1
|
* Link cards (#5677)Eric Bailey2024-10-141-2/+2
| | | | | | | | | | | | | | | * New link card styles * Cleanup of consituent parts, add hover state * Fix gif alt text view * Fix alt text view more * Remove dupe * Update remove button * Remove added margin on gif
* Fix keyboard hiding alt text input after viewing DMs on iOS (#5739)Hailey2024-10-141-5/+4
|
* Remove autofocus from alt text input (#5727)Hailey2024-10-111-4/+5
| | | | | * remove autofocus from alt text input * open to full height
* Allow nested sheets without boilerplate (#5660)Samuel Newman2024-10-091-8/+1
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Fetch link previews from RQ (#5608)dan2024-10-071-39/+56
| | | | | Co-authored-by: Mary <git@mary.my.id> Co-authored-by: Hailey <me@haileyok.com>
* Add alt text limit to image dialog (#5611)Eric Bailey2024-10-051-57/+80
| | | | | | | | | | | | | | | | | | | * Add alt text limit to image dialog * GIF alt text too * Fix * tweaks, save alt on dialog dismiss * simplify close behavior * use state in gif alt * state --------- Co-authored-by: Hailey <me@haileyok.com>
* [Sheets] [Pt. 1] Root PR (#5557)Hailey2024-10-041-3/+6
| | | | | | | 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>
* MobX removal take 2 (#5381)Mary2024-09-251-1/+1
| | | | | | | | | * mobx removal take 2 * Actually rm mobx --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.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
* Fix alt text for GIFs (#4766)Hailey2024-07-101-2/+7
| | | | | * fix alt text dialog for gifs * only apply to native
* Only enable keyboard controller when necessary (#4483)Samuel Newman2024-06-111-2/+0
| | | | | | | | | | | | | | | | | | | * Only enable keyboard controller when necessary * make it screen only * rm keyboard padding * rm keyboardpadding file * revert using keyboard controller in composer * remove styles.outer (unnecessary for revert) * continue to use keyboard padding in the report dialog for dms --------- Co-authored-by: Hailey <me@haileyok.com>
* Add padding to dialogs when keyboard is open on Android (#4182)Hailey2024-05-231-0/+2
| | | | | | | | | * add keyboard padding to android dialogs * missing `keyboardDismissMode` for `ScrollableInner` * add to `MutedWords` * add to `LabelsOnMe`
* lowcase ALT text (#3934)Samuel Newman2024-05-091-1/+1
|
* [GIFs] Restore default alt text (#3893)Samuel Newman2024-05-071-4/+12
| | | | | | | | | | | | | | | | | | | | | | | * restore default alt text * factor out gif alt logic + enable require alt text setting * rm console.log * don't prefill input + esc handling * typo * Nits * shorten user alt prefix * Remove unnecessary condition, rename for clarity * Add comment --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Alt text for gifs (#3876)Samuel Newman2024-05-061-0/+177
* add alt text dialog * multiline alt text input * add pressable alt text badge * rename `ALT: ` to `Alt text: ` to avoid including old bad ones * reuse alt text reminder * reuse alt text reminder in gallery * add alt text reminder in the dialog itself * autofocus text input * reorder components to fix tab order * fix close btn position