-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle pausing of imagery from viewLargeAction - 3647 #5901
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5901 +/- ##
==========================================
- Coverage 54.81% 54.71% -0.11%
==========================================
Files 600 600
Lines 23950 23971 +21
Branches 2117 2117
==========================================
- Hits 13129 13116 -13
- Misses 10219 10255 +36
+ Partials 602 600 -2
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
Really nice, this has turned out super clean, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michaelrogers Dang it, found a last minute bug.
- Expand an image by either clicking on it, or using the view large action
- Dismiss the overlay
- Attempt to expand the image again by clicking on it.
- Observe that the image does not get enlarged and there is an error in the JS console
vue.js?7193:1906 TypeError: viewLargeAction.onItemClicked is not a function
at VueComponent.expand (ImageryView.vue?e345:724:1)
at invokeWithErrorHandling (vue.js?7193:1872:1)
at HTMLDivElement.invoker (vue.js?7193:2197:1)
at original._wrapper (vue.js?7193:7591:1)
Updated to include a fix for the above seen error. The |
@akhenry or @shefalijoshi - this PR is ready for re-review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've found another blocking issue unfortunately.
- From a display containing the image view, click on a thumbnail to select an historical image
- Observe that the main image changes to that of the selected thumbnail
- View large
- Observe that the large image is now showing the latest image, and not the selected one.
The logic was mistakenly hardcoded to use the latest image index when pausing which was an undesired outcome. It has been updated to maintain the |
Closes #3647
Describe your changes:
This is the initial proof of concept for externalizing pause controls and providing context from the imageryView. In the current implementation the viewLargeAction preserves the pre pause/play status of the imagery. This allows the imagery to be enlarged but paused on the selected image; when closing out of the overlay the previous pause/play state will be restored.
All Submissions:
Author Checklist
Reviewer Checklist