Closed andreslucena closed 1 year ago
I've been able to perform the whole process
🥳
I've encountered this strange thing having to add the url of the vocdoni api to be able to vote.
I understand that's related to the bug that we were talking last week where there's a first request that gives 400 when checking with the Census (but then it seems to work well after that)? Or is that you can't make any vote if you don't set up the URL?
Also I see the results in Decidim but looks that the vocdoni explorer does not show the results.
I've seen this kind of behavior from the Vote Explorer to. I think it's just a random bug on their side.
Maybe we need to tell the api to publish the results?
At least with our current setup, we don't need to tell them to publish the results, as that's done automatically on their side when the "end time" has arrived.
I understand that's related to the bug that we were talking last week where there's a first request that gives 400 when checking with the Census (but then it seems to work well after that)? Or is that you can't make any vote if you don't set up the URL?
Yes, the same, the bug is that the object "client" does not sets up the property "url" according to the env variable.
This PR introduces multiple changes mostly related to #35 and copies (from #32 and #33).
Most notably:
There area also a couple refactors of the code to make it easier to maintain.
As I said, there are lots of changes on little details, texts, and (mostly) mini-improvements on the flow. Most of them come from feedback given by @ferranrego and @carolromero.