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
Exposure page: Default to show rate img, keep order of radio buttons constant #1111
Exposure page: Default to show rate img, keep order of radio buttons constant #1111
Conversation
@mfixstsci This is ready for review. I've tested on the dev server and everything looks good. rate images are shown upon page loads for all images except darks, where the dark suffix is shown. I've set up some logging that creates a log only if an unknown suffix is encountered. In my testing tonight so far, I haven't run into any instances of that. |
And the radio buttons listing the suffixes now appear in a consistent order from image to image. |
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.
Great comments!
Small adjustments such that the rate image is shown by default when clicking on the page for a given exposure. If there is n rate image, then it looks for a dark suffix.
There are also changes such that we try to keep the order of the radio buttons that list the available suffixes as consistent as possible, with the only changes coming from which suffixes are present.