liquidvotingio / decidim-module-liquidvoting

GNU Affero General Public License v3.0
4 stars 0 forks source link

Participatory budgets integration #45

Open oliverbarnes opened 3 years ago

oliverbarnes commented 3 years ago

So far just going for full integration in a single PR. Might change mid-implementation and start splitting into separate issues and PRs.

oliverbarnes commented 3 years ago

We can have the delegation selection on the budget projects listing

Screen Shot 2021-04-14 at 4 51 47 PM
oliverbarnes commented 3 years ago

Voting itself would be overriden for the project level, not the order level:

Screen Shot 2021-04-14 at 6 27 17 PM

oliverbarnes commented 3 years ago

And then the delegate's order creation needs to be incremented by their number of delegations. So if three people delegated to them, there should be three orders created, one for each delegator.

Reporting then will just work, because they are based off of the project votes on the budget admin:

Screen Shot 2021-04-14 at 6 30 03 PM

oliverbarnes commented 3 years ago

This increment of orders, and the submittal of votes to the API itself, should happen on order checkout, which confirms the individual project selections. We override the Checkout command to:

Open question: the delegation will be given within the scope of the budget - so neither globally, nor individually for each project/proposal. How do we solve that? We have the idea of delegations by category in the horizon, but I'm not sure that's a fitting abstraction for what is in the end a custom selection of projects. This scenario might come up again where there's multiple choices involved (the scope of a question, for instance, for multiple answers).