Give users the ability to create proposals on offchain spaces from SX-UI.
Design/UX
We should reuse, to the extent possible, the same UI components used for onchain voting.
We’ll enforce a common voting delay and voting period across the space’s proposals, so there’s no need to show options for that within the proposal editor.
In the case of offchain space proposals, we will need to add a dropdown for selecting voting type (basic, single choice, approval).
If type is not basic, then we will need a way to add choices
Designer’s input will be needed to implement this part (below is just for reference).
You can test here on second step of proposal creation:
I recommend starting with just basic voting (For, Against, Abstain) as that's voting types we support right now -> we will likely need some design input for both editor and voting part).
SX-UI: offchain proposal editor
Framing
Design/UX
You can test here on second step of proposal creation:
https://testnet.snapshot.org/#/testsnap.eth/create
Technical spec
propose
method (remember to change useActions to usegetNetwork
instead ofgetReadWriteNetwork
for propose), similar tovote
and add support topropose
method in sx.js (similar as vote). https://github.com/snapshot-labs/sx-monorepo/blob/737bfe872936f8372490a56aae109075a56c7c9d/apps/ui/src/networks/offchain/actions.ts#L32-L52