Closed arunavabasucom closed 2 years ago
Values | molecule | Image |
---|---|---|
5 mm slit 2000-2300 | co |
|
15 mm slit 2000-2300 | co |
I think the UI behavior of enabling the button can be a little confusing to the user if we fail to plot a spectrum for a given input. If the user inputs something that fails to plot, the download button still becomes enabled and you can still download something.
Maybe we could disable the download button if something isn't plotted OR if the user changes the input form after something gets plotted. Thoughts @erwanp and @arunavabasu-03 ?
I had suggested this, is it possible ? IT would fix your problem
Just turn it gray whenever you press Calculate. Then visible when the spectrum is calculated and shown. Then gray again when Calculate is pressed again.
https://github.com/suzil/radis-app/pull/619#discussion_r950433123
Ahh @erwanp !! @suzil is saying that based on the graph plotted or not disable or enable the download button.
Disabling download after something gets plotted is good; but it's going to take time, and we need to have these changes Merged and tested before Wednesday. Just do Disable download during a calculation and until the graph is plotted for the moment
Fixes #211 Fixes #626 Fixes #571
New features :
co
co