Open oliverbarnes opened 3 years ago
We can have the delegation selection on the budget projects listing
Voting itself would be overriden for the project level, not the order level:
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:
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).
So far just going for full integration in a single PR. Might change mid-implementation and start splitting into separate issues and PRs.