Closed bwhm closed 1 year ago
See https://github.com/Joystream/joystream/issues/4333 for the validation
➤ Dmitry Meltsov commented:
Design reqiured
Moving this up a bit. Feel free to suggest designs, might give it a go.
👏 Designs are finished for this issue and its ready for dev @traumschule
This is the progress i have made so far #4351
For validation see this comment and updated runtime code. The restraint per beneficiary has been removed. Also note replacement of MAX_SPENDING_PROPOSAL_VALUE, MAX_VALIDATOR_COUNT, MAX_FUNDING_REQUEST_ACCOUNTS.
The council budget needs to be shown instead of Content WG budget. Discord link>
Context
As can be seen below, the funding request proposal only allows a single recipient + amount. The use case often covers the need to execute bulk funding request paying multiple accounts different sums of money.
Designs
Link to Figma>
Scope
Objective
Create Proposal:
If "next" is clicked on proposal without preview show warning "Please preview and validate the inputs to proceed"
[ ] Use this card to display destination payments but change the label to "Amount to pay", instead of trasnferable balance; and Unknown Member isntead of "Unsaved account"
[ ] Add validation if "Max payment amount is exceeded" as yellow info box
[ ] Add validation if "Incorrect destination account added"
After preview is clicked
Use this pattern for the execution violation case (the generic text is already implemented)
View Proposal
More info
Feel free to use the below for inspiration:
┆Issue is synchronized with this Asana task by Unito