-
Notifications
You must be signed in to change notification settings - Fork 76
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
Imviz astrowidgets API to work on tiled viewers #741
Comments
@eteq suggested maybe we should move the API from jdaviz/jdaviz/configs/imviz/helper.py Line 27 in d0c2ce0
to
I think that makes sense, but do we have enough time left to do this? I think it needs at least half a sprint, uninterrupted. But then again, it is better to get this done before the first release. |
Before I forget, we might need to keep markers API in |
See #827 for a compromise. I think this is the
|
@pllim and I discussed this a bit out-of-band after thinking a bit more about #827. So with that in mind I wanted to make a case for option 3 from above: The My main issue with 2 is that it leads to workflows more or less like this:
that is, the user has to mentally keep track of what the "code" and "UI" are doing separately. Whereas in case 3 they do:
there's no way to get confused, because you have to choose the right viewer explicitly. |
Oh, and @pllim pointed out there's some rough edges option 3 has to work around, most notably the fact that some of the astrowidget API choices add marker data to glue which then would be visible in the other viewers. But I personally think that's ok because the individual viewers can still keep track of which are "their" markers. And it's ok if users can see those in the UI, just so long as that doesn't "leak" into astrowidgets code. |
Thanks for a nice summary, @eteq ! I also want to make it clear that I have strong opinion that we should decide on Option 2 or Option 3 before MVP release. I am very much against Option 2 first and then Option 3 refactor, because that introduces maintenance and user experience nightmares. |
Currently
viewer-1
is hardcoded everywhere. Now that #722 is merged, user should be able to useastrowidgets
API on tiled viewers.This should only be worked on after the following remaining astrowidgets API are implemented:
🐱
The text was updated successfully, but these errors were encountered: