opensquare-network / subsquare

https://www.subsquare.io
5 stars 5 forks source link

Improve Referenda generation for Fellowship tracks #4282

Open bkchr opened 1 week ago

bkchr commented 1 week ago

image

It should be quite clear on what kind of proposal I want to open at this track. It should basically ask me for which account I want to open the proposal. Currently it asks me if I want to create a pre-image or already have a pre-image hash.

I would expect that the flow is the following:

wliyongfeng commented 1 week ago

As what we did on polkadot, we can add several proposal templates for collectives fellowship.

vote yes (opening and voting No makes not that much sense? But could maybe be some pre-selected checkbox above) and optionally place the decision deposit.

Yeah, voting yes should be optional, not every proposer want to vote yes for proposal created. Placing the decision deposit is a little different, and it's difficult to put this call in a batch call with submission, cause we won't know the referendum index to be created. We can estimate the index or we can ask another sign from user to submit another call, but the implementation will be more complex.

bkchr commented 1 week ago

Yeah, voting yes should be optional, not every proposer want to vote yes for proposal created.

Discussable. I mean otherwise I would not create a referenda, if I'm not behind it.

wliyongfeng commented 1 week ago

I mean otherwise I would not create a referenda, if I'm not behind it.

I got you, but it's not always the case. An example in gov1, Raul, many times act as a moderator, will create a council motion, but he may vote nay. Creating a proposal is just making it possible for all voters(councilors) to give a decision.

Getting back to fellowship, when a member(A, rank < 3) submit an evidence, I believe another member(B, rank >=3) should create a promote/retain proposal for A, considering A can't create this proposal for himself. In this case, B should create this proposal even, but he may vote nay.