about summary refs log tree commit diff
path: root/src/lib/media/picker.web.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Improve e2e tests (#8927)Samuel Newman2025-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * get e2e image picker working * verify create account actually reaches onboarding * wait for image to actually be attached before posting * wait until login finishes before moving on * sign out before switch accounts then wait until logged in * disable onboarding experiments in e2e * add testId to handle availability checkmark * fix too long username * update thread muting test to reflect current behaviour * hackfix for the british english translation * unflake the onboarding tests * fix curate list flow * admit defeat on the most list one
* New Edit Profile dialog on web, use new Edit Image dialog everywhere (#8220)Samuel Newman2025-05-061-23/+6
|
* swap out cropper library (#8327)hailey2025-05-061-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mostly implement * type errors * unused import * rm comment * stop accidentally deleting the image while compressing * upgrade * type fixes * upgrade, remove timeout * bump * rm mock * bump --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Revamp image editor (#5462)Mary2024-09-251-1/+3
| | | | | | | | | * new image editor * Rm react-avatar-editor --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Dont leave promise unresolvedPaul Frazee2024-05-061-1/+3
|
* allow for custom cropper aspect ration based on imagePiotr P2024-04-271-0/+4
|
* Fix cropper crashing after clicking cancelPiotr P2024-04-271-3/+1
|
* eslint autofixesPiotr P2024-04-271-1/+2
|
* Composer update (react-query refactor) (#1899)Paul Frazee2023-11-141-9/+2
| | | | | | | | | * Move composer state to a context * Rework composer to use RQ --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Add modal state provider, replace usage except methods (#1833)Eric Bailey2023-11-081-2/+3
| | | | | | | | | | | | | * Add modal state provider, replace usage except methods * Replace easy spots * Fix sticky spots * Replace final usages * Memorize context objects * Add more warnings
* Use expo-image-picker on Web (#847)Logan Rosen2023-06-061-68/+2
|
* Fix user avatar and banner selector on web (#490)Paul Frazee2023-04-181-3/+3
|
* Split image cropping into secondary step (#473)Ollie Hsieh2023-04-171-61/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Split image cropping into secondary step * Use ImageModel and GalleryModel * Add fix for pasting image URLs * Move models to state folder * Fix things that broke after rebase * Latest -- has image display bug * Remove contentFit * Fix iOS display in gallery * Tuneup the api signatures and implement compress/resize on web * Fix await * Lint fix and remove unused function * Fix android image pathing * Fix external embed x button on android * Remove min-height from composer (no longer useful and was mispositioning the composer on android) * Fix e2e picker --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fixes profile edit image selection not prompting users on web (#309) (#321)John Fawcett2023-03-191-0/+12
| | | | | * Fixes profile edit image selection not prompting users on web (#309) * Fixes linting erros
* Move to expo and react-navigation (#288)Paul Frazee2023-03-131-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP - adding expo * WIP - adding expo 2 * Fix tsc * Finish adding expo * Disable the 'require cycle' warning * Tweak plist * Modify some dependency versions to make expo happy * Fix icon fill * Get Web compiling for expo * 1.7 * Switch to react-navigation in expo2 (#287) * WIP Switch to react-navigation * WIP Switch to react-navigation 2 * WIP Switch to react-navigation 3 * Convert all screens to react navigation * Update BottomBar for react navigation * Update mobile menu to be react-native drawer * Fixes to drawer and bottombar * Factor out some helpers * Replace the navigation model with react-navigation * Restructure the shell folder and fix the header positioning * Restore the error boundary * Fix tsc * Implement not-found page * Remove react-native-gesture-handler (no longer used) * Handle notifee card presses * Handle all navigations from the state layer * Fix drawer behaviors * Fix two linking issues * Switch to our react-native-progress fork to fix an svg rendering issue * Get Web working with react-navigation * Refactor routes and navigation for a bit more clarity * Remove dead code * Rework Web shell to left/right nav to make this easier * Fix ViewHeader for desktop web * Hide profileheader back btn on desktop web * Move the compose button to the left nav * Implement reply prompt in threads for desktop web * Composer refactors * Factor out all platform-specific text input behaviors from the composer * Small fix * Update the web build to use tiptap for the composer * Tune up the mention autocomplete dropdown * Simplify the default avatar and banner * Fixes to link cards in web composer * Fix dropdowns on web * Tweak load latest on desktop * Add web beta message and feedback link * Fix up links in desktop web
* Rework modals to support multiple activePaul Frazee2023-02-231-5/+6
|
* Implement image uploading in the web composerPaul Frazee2023-02-231-0/+143