Closed vanbremer closed 9 months ago
please check if the same applies to other query buttons
I added some code (branch https://github.com/glowabio/geofresh/tree/dev_notifications_wrong_sequence) that checks (1) whether points are uploaded+snapped and (2) whether a box is checked. If not, it does not continue, and it shows a notification to user. Making the button grey in addition would be good, I think, but I didn't find out how to do that yet :)
I'll check more buttons and make a PR then.
Ok, closing this was unintended! Reopening. Sorry!
Here, there is an example to disable a button after clicking https://stackoverflow.com/questions/40621393/disabling-buttons-in-shiny I am testing this solution with the snapping button , but not working yet
Now the "snap" button is active only after clicking the "load test data" button and become inactive again when snapping starts.
Users should not be able to start the query if data upload and snapping not finished