rivm-syso / Analyse-Together

A tool for analysis of air quality data, measured by low cost sensors
GNU General Public License v3.0
1 stars 0 forks source link

Show data availability in cache dbs #351

Closed elma13 closed 3 months ago

elma13 commented 3 months ago

When pressing the "get data" btn, show a visualisation of the data available in the cache dbs (calenderplot). Add 2 buttons: use this data and get rest of the data. For the use this data, just load the data to the tool and continue to start. For the get rest of data, show pop up with estimated waiting time, add footer to show this time. And check every minute the queu in the job to give a status update.

elma13 commented 3 months ago

if a dataset is loaded from cache and the next selection is available too, then it immediately runs in the use data button and load to tool. Could be practical, but not intended

elma13 commented 3 months ago

Also the other way, if there is no data the button goes crazy and the visualisation calendar doesn't update.

elma13 commented 3 months ago

oke, it did update, you first have to click on start...

elma13 commented 3 months ago

aybe we like to cut the Start button, and with a delay if you change some of the input, the show_data_cache will run. Only the buttons for missing data or use available data are visible.

elma13 commented 3 months ago

if a dataset is loaded from cache and the next selection is available too, then it immediately runs in the use data button and load to tool. Could be practical, but not intended

Thi is a bug in Rshiny when you use an OberveEvent inside a nested module. Now work-around added

elma13 commented 3 months ago

Add also the English translation

elma13 commented 3 months ago

aybe we like to cut the Start button, and with a delay if you change some of the input, the show_data_cache will run. Only the buttons for missing data or use available data are visible.

Not necessarily, useful to update the check to the available data in cache database

elma13 commented 3 months ago

When pressing the "get data" btn, show a visualisation of the data available in the cache dbs (calenderplot). Add 2 buttons: use this data and get rest of the data. For the use this data, just load the data to the tool and continue to start. For the get rest of data, show pop up with estimated waiting time, add footer to show this time. And check every minute the queu in the job to give a status update.

See last part in #353