vocdoni / ui-components

Vocdoni UI components libs
GNU General Public License v3.0
3 stars 2 forks source link

Add optional interval for fetching election information #22

Closed elboletaire closed 1 year ago

elboletaire commented 1 year ago

An interval to fetch the election information from time to time, so in case of changes to its state (like a status change, allowing you to start voting), the user would not need to refresh the page to see changes.

It should be optional, like fetchCensus, so we can enable it only on the desired providers (and its default state should be disabled).

Also, do not add an interval below 20 seconds... checking this once per minute should suffice.