-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Funding request multiple recipient preview #4509
Funding request multiple recipient preview #4509
Conversation
Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything else looks good 👍
if (proposalDetails?.type === 'fundingRequest') { | ||
return [ | ||
{ | ||
renderType: 'Amount', | ||
label: 'Current WG Budget', | ||
value: group?.budget, | ||
}, | ||
] as RenderNode[] | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this works. I'm not sure why but the WG budget that this proposal should show is the content WG.
Here proposalDetails?.group?.id
doesn't exist so the budget remain at 0
.
Check https://dao-git-fork-vrrayz-funding-request-multiple-r-8b2aed-joystream.vercel.app/#/proposals/preview/374 (if the QN let you)
result.push({ | ||
label: '', | ||
value: undefined, | ||
renderType: 'Divider', | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also if the page shows one more "statistic" I think this should be removed
result.push({ | |
label: '', | |
value: undefined, | |
renderType: 'Divider', | |
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed on discord, the design changed: #2365 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
@@ -99,7 +113,7 @@ export const ProposalDetails = ({ proposalDetails }: Props) => { | |||
} | |||
|
|||
return [] | |||
}, [membershipPrice, !group]) | |||
}, [membershipPrice, !group, budget]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one !
You even fixed the Update Working Group Budget council budget preview as a bonus !
E.g https://pioneerapp.xyz/#/proposals/preview/519
Continuation of this PR #4453 for issue:
QA: