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

Improve overwrite warning behavior in export #3094

Merged
merged 5 commits into from
Jul 18, 2024

Conversation

rosteen
Copy link
Collaborator

@rosteen rosteen commented Jul 16, 2024

This adds the overwrite warning when exporting plugin plots, and generally does some minor consistency improvements across the file types. This also fixes the bug where the overwrite confirmation overlay did not disappear after confirming that you want to overwrite.

@rosteen rosteen added bug Something isn't working plugin Label for plugins common to multiple configurations labels Jul 16, 2024
@rosteen rosteen added this to the 3.10.3 milestone Jul 16, 2024
Copy link

codecov bot commented Jul 16, 2024

Codecov Report

Attention: Patch coverage is 42.85714% with 4 lines in your changes missing coverage. Please review.

Project coverage is 88.72%. Comparing base (23b3edd) to head (de935cd).
Report is 150 commits behind head on main.

Files with missing lines Patch % Lines
jdaviz/configs/default/plugins/export/export.py 42.85% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3094      +/-   ##
==========================================
- Coverage   88.73%   88.72%   -0.01%     
==========================================
  Files         111      111              
  Lines       17262    17258       -4     
==========================================
- Hits        15317    15313       -4     
  Misses       1945     1945              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pllim pllim added the 💤backport-v3.10.x on-merge: backport to v3.10.x label Jul 17, 2024
Copy link
Contributor

@cshanahan1 cshanahan1 left a comment

Choose a reason for hiding this comment

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

tested this vs main to confirm this fixes the bug with the overlay, looks good to me

Copy link
Contributor

@pllim pllim left a comment

Choose a reason for hiding this comment

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

Thanks!

@pllim pllim merged commit df59fd7 into spacetelescope:main Jul 18, 2024
22 of 25 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/jdaviz that referenced this pull request Jul 18, 2024
rosteen added a commit that referenced this pull request Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin Label for plugins common to multiple configurations Ready for final review 💤backport-v3.10.x on-merge: backport to v3.10.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants