Skip to content
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

Add right click actions on imagery to allow high resolution download #7371

Merged
merged 5 commits into from
Jan 11, 2024

Conversation

scottbell
Copy link
Contributor

@scottbell scottbell commented Jan 11, 2024

Closes #7356

Describe your changes:

Add some actions ("Open in new tab" & "Save Image As") to the right context menu for the Image Viewer.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Is this change backwards compatible? For example, developers won't need to change how they are calling the API or how they've extended core plugins such as Tables or Plots.

Author Checklist

  • Changes address original issue?
  • Tests included and/or updated with changes?
  • Has this been smoke tested?
  • Have you associated this PR with a type: label? Note: this is not necessarily the same as the original issue.
  • Have you associated a milestone with this PR? Note: leave blank if unsure.
  • Is this a breaking change to be called out in the release notes?
  • Testing instructions included in associated issue OR is this a dependency/testcase change?

Reviewer Checklist

  • Changes appear to address issue?
  • Reviewer has tested changes by following the provided instructions?
  • Changes appear not to be breaking changes?
  • Appropriate automated tests included?
  • Code style and in-line documentation are appropriate?

@scottbell scottbell linked an issue Jan 11, 2024 that may be closed by this pull request
7 tasks
@scottbell scottbell added this to the Target:3.3.0 milestone Jan 11, 2024
Copy link

deploysentinel bot commented Jan 11, 2024

Current Playwright Test Results Summary

✅ 15 Passing - ⚠️ 1 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 01/11/2024 06:50:43pm UTC)

Run Details

Running Workflow e2e-couchdb on Github Actions

Commit: a6bc087

Started: 01/11/2024 06:47:01pm UTC

⚠️ Flakes

📄   functional/couchdb.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
CouchDB Status Indicator with mocked responses @couchdb Shows red if not connected
Retry 1Initial Attempt
6.67% (3) 3 / 45 runs
failed over last 7 days
20% (9) 9 / 45 runs
flaked over last 7 days

View Detailed Build Results


Current Playwright Test Results Summary

✅ 176 Passing - ⚠️ 8 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 01/11/2024 06:50:43pm UTC)

Run Details

Running Job e2e-stable on CircleCI

Commit: a6bc087

Started: 01/11/2024 06:45:10pm UTC

⚠️ Flakes

📄   functional/plugins/plot/logPlot.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Log plot tests Log Plot ticks are functionally correct in regular and log mode and after refresh
Retry 1Initial Attempt
0% (0) 0 / 89 runs
failed over last 7 days
29.21% (26) 26 / 89 runs
flaked over last 7 days

📄   functional/plugins/conditionSet/conditionSet.e2e.spec.js • 3 Flakes

Top 1 Common Error Messages

null

3 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Condition Set CRUD Operations on @localStorage Condition set object properties persist in main view and inspector @localStorage
Retry 1Initial Attempt
2.44% (2) 2 / 82 runs
failed over last 7 days
18.29% (15) 15 / 82 runs
flaked over last 7 days
Condition Set CRUD Operations on @localStorage condition set object can be modified on @localStorage
Retry 1Initial Attempt
-21.54% (-14) -14 / 65 runs
failed over last 7 days
21.54% (14) 14 / 65 runs
flaked over last 7 days
Condition Set CRUD Operations on @localStorage condition set object can be deleted by Search Tree Actions menu on @localStorage
Retry 1Initial Attempt
-21.54% (-14) -14 / 65 runs
failed over last 7 days
21.54% (14) 14 / 65 runs
flaked over last 7 days

📄   functional/plugins/imagery/exampleImagery.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Example Imagery Object Can use Mouse Wheel to zoom in and out of latest image
Retry 1Initial Attempt
0% (0) 0 / 71 runs
failed over last 7 days
26.76% (19) 19 / 71 runs
flaked over last 7 days

📄   functional/plugins/notebook/restrictedNotebook.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Restricted Notebook with a page locked and with an embed @addinit Disallows embeds to be deleted if page locked @addinit
Retry 1Initial Attempt
5.06% (4) 4 / 79 runs
failed over last 7 days
53.16% (42) 42 / 79 runs
flaked over last 7 days

📄   functional/plugins/timeConductor/timeConductor.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Time conductor input fields real-time mode preserve offsets and url params when switching between fixed and real-time mode
Retry 1Initial Attempt
0% (0) 0 / 75 runs
failed over last 7 days
2.67% (2) 2 / 75 runs
flaked over last 7 days

📄   functional/plugins/telemetryTable/telemetryTable.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Telemetry Table unpauses and filters data when paused by button and user changes bounds
Retry 1Initial Attempt
5.13% (4) 4 / 78 runs
failed over last 7 days
19.23% (15) 15 / 78 runs
flaked over last 7 days

View Detailed Build Results


Copy link

codecov bot commented Jan 11, 2024

Codecov Report

Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (3ff2f02) 55.88% compared to head (372cf0a) 55.83%.

❗ Current head 372cf0a differs from pull request most recent head a6bc087. Consider uploading reports for the commit a6bc087 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7371      +/-   ##
==========================================
- Coverage   55.88%   55.83%   -0.05%     
==========================================
  Files         657      659       +2     
  Lines       26198    26245      +47     
  Branches     2548     2549       +1     
==========================================
+ Hits        14640    14654      +14     
- Misses      10852    10884      +32     
- Partials      706      707       +1     
Flag Coverage Δ
e2e-full 41.07% <ø> (ø)
e2e-stable 59.03% <62.50%> (-0.08%) ⬇️
unit 48.83% <51.16%> (-0.06%) ⬇️
Files Coverage Δ
...plugins/imagery/actions/OpenImageInNewTabAction.js 100.00% <100.00%> (ø)
src/plugins/imagery/plugin.js 100.00% <100.00%> (ø)
...c/plugins/imagery/components/AnnotationsCanvas.vue 2.68% <0.00%> (+0.45%) ⬆️
src/plugins/imagery/actions/SaveImageAsAction.js 40.00% <40.00%> (ø)

... and 6 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ff2f02...a6bc087. Read the comment docs.

Copy link
Contributor

@shefalijoshi shefalijoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Please merge after tests are written.

@scottbell
Copy link
Contributor Author

Demo:

Screen.Recording.2024-01-11.at.3.57.28.PM.mov

@rukmini-bose
Copy link
Contributor

The icons look good to me. Nice work!

@scottbell scottbell marked this pull request as ready for review January 11, 2024 18:18
@scottbell scottbell added the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 11, 2024
@charlesh88
Copy link
Contributor

Looks great, thanks.

@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 11, 2024
@scottbell scottbell added the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 11, 2024
Copy link
Contributor

@michaelrogers michaelrogers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look good to me. 💾 🖼️

@scottbell scottbell enabled auto-merge (squash) January 11, 2024 18:47
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 11, 2024
@scottbell scottbell merged commit 6fd7b6f into master Jan 11, 2024
19 checks passed
@scottbell scottbell deleted the 7356-unable-to-save-high-resolution-imagery branch January 11, 2024 18:57
@unlikelyzero unlikelyzero modified the milestones: Target:3.3.0, Target:4.0.0 Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to save high resolution imagery
6 participants