-
Notifications
You must be signed in to change notification settings - Fork 1
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
adjust representation of different output products #110
Comments
Shouldn't this issue be in the frontend repo? Also, I'm not sure I have enough experience with frontend js code to be the only one assigned |
I thought you'd make changes to methods like here? Or you meant some other adjustments to the frontend? The title of this issue is pointing to frontend, I will change. |
There are three different representations in the frontend depending on the dispatcher response structure (and there is also a dependence from dataproduct name in some cases afair) -- image, lightcurve, spectrum. Anyway, it's better to start from defining API changes/extension. Maybe accompanying issue in the dispatcher to track it is needed. |
Light curve and Images are displayed, only spectrum is missing, we could exploit the oda_api plot_tools implementation here |
This issue is a bit broader, the initial concern is about the overall API response structure, which is always "image-like" in the plugin. |
Following the discussion there, from the comment of @dsavchenko .
The output as produced by the plugin is in most cases structured like the one for the image. I chose this way so that every product type is ingestible by the frontend without additional changes there.
But this leads to misunderstandings, as we see. From showing products list as a table of "Images" to almost useless "download" button for simple text output etc.
We may want to adapt the frontend to better represent different products. Using it then will require rather small changes in the plugin.
The text was updated successfully, but these errors were encountered: