about summary refs log tree commit diff
path: root/src/view/com/modals/AltImage.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Revamp edit image alt text dialog (#5461)Mary2024-09-251-189/+0
| | | | | | | | | | | | | | | * revamp alt dialog * readd the limit check don't trim with enforceLen, it ruins copy-pasting long text and it's overall annoying behavior * Update src/view/com/composer/photos/ImageAltTextDialog.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* MobX removal take 2 (#5381)Mary2024-09-251-13/+16
| | | | | | | | | * mobx removal take 2 * Actually rm mobx --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* disable alt text auto focus on Android (#4198)Hailey2024-05-231-1/+2
| | | | | * disable alt text auto focus on Android * revert timeout change
* properly import linear gradient (#3423)Hailey2024-04-051-1/+1
|
* migrate to `expo-linear-gradient` (#3420)Hailey2024-04-041-13/+14
| | | | | | | | | * replace packages * rm useless alias from webpack config * fix accidental double commit * replace all usages
* use ios live text interaction in alt text modal and image viewer (#2752)Hailey2024-02-061-0/+1
|
* Autofocus the alt text input on all platforms, improve dismissability on ↵Hailey2024-01-301-1/+24
| | | | | | | | | native (#2690) * sneak in a eslint fix * autofocus the alt text input whenever we open the modal * properly use the hook
* Rework alt-text input to use bottom sheet (#2355)Paul Frazee2024-01-021-82/+65
| | | | | * Rework alt-text input to use bottom sheet * Add translations
* Fix image is cropped in alt text modal (#1963)Kev2023-12-201-0/+1
|
* Internationalization & localization (#1822)Ansh2023-11-091-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | * install and setup lingui * setup dynamic locale activation and async loading * first pass of automated replacement of text messages * add some more documentaton * fix nits * add `es` and `hi`locales for testing purposes * make accessibilityLabel localized * compile and extract new messages * fix merge conflicts * fix eslint warning * change instructions from sending email to opening PR * fix comments
* Add modal state provider, replace usage except methods (#1833)Eric Bailey2023-11-081-5/+5
| | | | | | | | | | | | | * Add modal state provider, replace usage except methods * Replace easy spots * Fix sticky spots * Replace final usages * Memorize context objects * Add more warnings
* Updates to use dynamic/responsive styles on web (#1351)Paul Frazee2023-09-051-4/+4
| | | | | | | | | | | | | | | | | | | * Move most responsive queries to the hook * Fix invalid CSS value * Fixes to tablet render of post thread * Fix overflow issues on web * Fix search header on tablet * Fix QP margin in web composer * Fix: only apply double gutter once to flatlist (close #1368) * Fix styles on discover feeds header * Fix double discover links in multifeed
* Improvements to the alt text behaviors in the composer (#910)Paul Frazee2023-06-271-57/+110
| | | | | | | | | | | | | | | | | | | | | * Add an image preview in the alt modal * Composer: add info about alt text and a green checkmark when done * Shrink the alt visual indicator a bit so it doesnt obscure the image * Fix typo * Fix: avoid requiring multiple tabs to save alt text * update react-native-screens * Improve the alt text help tip * Remove redundant hints --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* Update web image editor (#588)Ollie H2023-05-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | * Update web image editor * Delete type-assertions.ts * Re-add getKeys * Uncomment rotation code * Revert "Uncomment rotation code" This reverts commit 6269f3b928c2e5cacaf5d0ff5323fe975ee48eab. * Shuffle dependencies and update mobile resolution * Update ImageEditor modal layout for mobile * Avoid accidental closes of the EditImage modal --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Rework alt image modal to be fullscreen due to android bugs with the ↵Paul Frazee2023-05-041-4/+2
| | | | bottomsheet and keyboard (#577)
* Pre-web image changes refactor (#560)Ollie H2023-05-021-6/+7
| | | | | * Pre-web image changes refactor * Remove unneeded async behavior
* React Native accessibility (#539)Ollie H2023-05-011-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * React Native accessibility * First round of changes * Latest update * Checkpoint * Wrap up * Lint * Remove unhelpful image hints * Fix navigation * Fix rebase and lint * Mitigate an known issue with the password entry in login * Fix composer dismiss * Remove focus on input elements for web * Remove i and npm * pls work * Remove stray declaration * Regenerate yarn.lock --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Load previous state in alt text modal (#546)Ollie Hsieh2023-04-271-2/+3
|
* Prevent keyboard from blocking alt image modal (#531)Ollie Hsieh2023-04-251-4/+6
| | | | | | | | | * Prevent keyboard from blocking alt image modal * Tune padding of altimage modal on desktop web --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add alt text support and rework image layout (#503)Ollie Hsieh2023-04-211-0/+106
* Add alt text support and rework image layout * Add additional BottomSheet implementation to account for nested Composer modal * Use mobile gallery layout on mobile web * Missing key * Fix lint * Move altimage modal into the standard modal system * Fix overflow wrapping of images * Fixes to the alt-image modal * Remove unnecessary switch * Restore old imagelayoutgrid code --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>