vocdoni / ui-scaffold

Vocdoni's protocol UI
https://app.vocdoni.io
GNU Affero General Public License v3.0
5 stars 2 forks source link

Review census participants counting #752

Open elboletaire opened 2 months ago

elboletaire commented 2 months ago

Processes with failing censuses are using maxCensusSize either as a fallback or as the actual census count, which is wrong.

See this process for example, if you open the console you'll see there are census errors popping. If we don't have a census we cannot know the actual number of participants, and using the maxCensusSize is erroneous.

We should be showing an error in this case, or some kind of notice to let the users know we actually don't know that info right now. Another option would be to simply not show the census information when we don't have it.