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

Disallow selecting mag in tiff export modal in case there is only one mag #8002

Open
1 task
MichaelBuessemeyer opened this issue Aug 15, 2024 · 1 comment · May be fixed by #8297
Open
1 task

Disallow selecting mag in tiff export modal in case there is only one mag #8002

MichaelBuessemeyer opened this issue Aug 15, 2024 · 1 comment · May be fixed by #8297
Assignees

Comments

@MichaelBuessemeyer
Copy link
Contributor

Context

When exporting a layer as tiff one can select the mag to export. However, when there is only one mag, a draggable slider is still rendered but the user cannot slide it. Therefore I suggest to hide this slider setting in case the current selected layer only has one mag.

Expected Behavior

IT should either be possible to interact with the slider when it is rendered or when its not don't render it.

Current Behavior

The slider is also rendered when a layer is selected that only has a single mag.

Steps to Reproduce the bug

  • Cannot reproduce the bug anymore / needs deeper investigation.
  1. Create a dataset with a layer with only one mag
  2. Opent the download modal and go to the tiff export tab
  3. Try to mode the mag slider. This should not work
@knollengewaechs
Copy link
Contributor

knollengewaechs commented Dec 23, 2024

does this look okay to you? if there is only one mag, only the mag is displayed and the slider is omitted.
I also noticed that maybe be part about additional coordinates can be updated, as the section was displayed, but there were no additional coordinates (fixed in the picture)
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants