-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Expose spectrum-viewer bounds in UI #2604
Merged
rosteen
merged 21 commits into
spacetelescope:main
from
rosteen:specviz-viewer-bounds-ui
Jan 8, 2024
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
6deaad2
Working on section for bounds editing
rosteen e6d6f56
More work
rosteen 6fcab6e
Now works to update from UI for spectrum-viewer
rosteen 670efa3
Fix codestyle
rosteen c84f999
Update jdaviz/configs/default/plugins/plot_options/plot_options.vue
rosteen 07942e1
Add changelog
rosteen a7adb7e
Working on handling multiselect
rosteen 438a3c1
More work on multi
rosteen 12bf23b
Converting these to PlotOptionSynchedState objects with multiselect h…
rosteen 25cb824
Re-add unit suffix
rosteen b074a29
Dynamic viewer bounds based on max when viewer selected
rosteen a1fffcd
Codestyle
rosteen 5fb8806
Lost this in rebase
rosteen abb7ccc
Use FloatHandleEmpty
rosteen 5968634
Resolve test failures
rosteen 5018d1b
Also round displayed min/max values
rosteen dc1a3ee
Round on home zoom click as well
rosteen de39bc1
Fix empty field handling
rosteen e95c620
Change to diff based steps
rosteen edc1e88
Handle negative bounds diff and 0 diff
rosteen b31e268
Handle non-spectrum non-image viewers, fix decimal rounding for large…
rosteen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
this also limits the ability to zoom in to small wavelength ranges... I'm not sure that is worth it
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.
maybe
decimals
can be based on the current range instead?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.
Changing this to depend on the difference between min and max rather than just max makes sense to me.
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.
That also prevents decreasing
v_max
to be less thanv_min
, which is nice.