-
Notifications
You must be signed in to change notification settings - Fork 75
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
pi: Add additional proposal metadata. #1442
Comments
will do |
@lukebp any min/max values/validations for the amount/date fileds ? |
Min/max for the amount. Maybe $1000 min and $1M max. |
When filling invoices in the CMS the user needs to see only proposals that can be considered "active". I'm not sure the |
Domains are tricky because we have two systems (Pi and CMS) that might handle them differently:
|
End date is only for information purposes to give the stakeholders and idea of the estimated completion date. What you're referring to here are the additional proposal life cycle statuses outlined in the pi proposal. Regarding domains, the domains are a plugin setting that can be configured by the server operator. They default to the domains listed in CMS. |
Summary
The following fields should be required for all proposal submissions.
This will allow for more granular filtering in politeiagui and will also allow other applications such as CMS to query this data in order to help validate contractor invoices.
Implementation
ProposalMetadata
in thepi
plugin and politeiawww API:Amount
StartDate
EndDate
Domain
pi
plugin on proposal submissions and edits.pi
plugin.development
,marketing
,research
, anddesign
.pi
plugin and politeiawww APIPolicyReply
.The text was updated successfully, but these errors were encountered: