-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* build the skeleton ImageViwerModal.vue / make sure it open/close * add blurry bg / add modal-btn / implement onLoad handler * calculation logic to determine the minimum zoom value * update the min zoom calc logic again (incomplete) * fix the initial render logic * add zoom slider UI to the modal * fix typo in slider component * custom UI/UX for the slider / dynamic zoom update to the image * extract PointerEventsMixin.js and add it to the image viewer * allow moving around the image * add some helper comments for auto-translation logic * fix the broken blurry-bg and work on Greg's feedback * make sure ImageViwerModal.vue is triggered by various call-to-actions * implement zoom in/out triggered by wheel event * pass image meta-data to ImageViewerModal.vue * image metadata UI on the modal * implement zoom/move by touch events * fix/optimize zoom action by pinch gesture * fix linter err * make sure the color looks good in both themes * use css transform() instead of updating width and height * fix the slider bug / fix cypress failure * typo in name / fix pinned-msg issue * Fix for Greg CR 1. * pass the zoom action point * simplify auto-translation logic for when zoom without center-point * zooming into a certain point * percent x,y while pointed zoom action should be fixed * fix the buggy zoom-into-certain-point * fix linter err * fix all bugs related to 'zoom-into-ceertain-point' * uncomment the err handling logic * resolve TODO: debouncing the resize handler * Greg's CR / fix the bug where zoom-slider value is string * fix the bug where pinch-out -> in is not seamless * uncomment SW err handling * comments update * comment update again * remove console.log * cursor style * implement instant zoom in/out upon single click * fix the linter error * make sure the logic is not executed in touch-devices * update resizehandler * minor consistency fix --------- Co-authored-by: Greg Slepak <contact@taoeffect.com>
- Loading branch information
Showing
15 changed files
with
960 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 0 additions & 81 deletions
81
frontend/views/components/avatar-editor/avatar-editor-pointer-events-setup.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.