As an admin user, I need to configure and detail the base proposal template, so that I can collect the information I want from proposers across all categories in my campaign.
GIVEN an admin user logged in with API key
WHEN create a new campaign OR select existing campaign
THEN allow admin user to input JSON to configure base proposal template, including data validations
AND THEN render proposal segments and sections in UI
AND THEN allow admin user to edit field names and descriptions from editor
AC
If user selects "Setup Base Proposal" in left nav menu, then view jumps to component and selects it
If user clicks "config" then display JSON editor
If user clicks cancel from within JSON editor, then close without saving
If user clicks save from within JSON editor, then save and close (refresh)
Component renders saved JSON as sections and segments
If user clicks "Detail Question" then launch question editor
User can edit title and description for base proposal question in editor including
Title
Problem Statement
Solution Statement
Estimated project time in months
Is open source?
Budget
User can see input type and data validations for each field, but not edit them directly
User can see timestamp and user of latest updates
Integration
GIVEN admin key GET brand
GIVEN brand GET campaigns
GIVEN admin key UPDATE campaign
Summary
Implement UI to setup base proposal
Description
Child of #1002
As an admin user, I need to configure and detail the base proposal template, so that I can collect the information I want from proposers across all categories in my campaign.
GIVEN an admin user logged in with API key WHEN create a new campaign OR select existing campaign THEN allow admin user to input JSON to configure base proposal template, including data validations AND THEN render proposal segments and sections in UI AND THEN allow admin user to edit field names and descriptions from editor
AC
Integration GIVEN admin key GET brand GIVEN brand GET campaigns GIVEN admin key UPDATE campaign
Designs