Summary:
This PR addresses the addition of an optional metadata URL field to the proposal submission process, enabling users to include a link to their project's external page. The feature was initially omitted due to its unclear utility but has since been reassessed and deemed valuable as it is always good to have extra information, but to avoid inconvenience to the proposal creator it is an optional field.
Changes:
Database:
Added a metadata field to the proposals table to store the URL.
Frontend:
Added an input field to the proposal submission form for the metadata URL.
Conditionally display the metadata URL on the project details page if present.
If user does not provide an metadata url we submit, 'NOT_SET' for metadata field in smart contract
Backend API:
Updated the submitProposal function to include the metadata URL if provided, otherwise, it will submit a blank string.
Closes #17
Summary: This PR addresses the addition of an optional metadata URL field to the proposal submission process, enabling users to include a link to their project's external page. The feature was initially omitted due to its unclear utility but has since been reassessed and deemed valuable as it is always good to have extra information, but to avoid inconvenience to the proposal creator it is an optional field.
Changes:
Database:
metadata
field to the proposals table to store the URL.Frontend:
Backend API:
submitProposal
function to include the metadata URL if provided, otherwise, it will submit a blank string.