CodeForPhilly / CodeForPhilly/benefit-decision-toolkit
Prevent navigating to "Preview" or "Publish" for Screener's without Forms
Open
quick win
- Dominant language
- Java
- Stars
- 15
- Forks
- 5
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 23
Description
## User Story
As a user of BDT, I would like for the Preview and Publish tabs of the Screener builder to be inaccessible until the Screener has defined a Form using the Form Editor, to avoid confusion.
## Acceptance Criteria
- When the currently selected Screener does not have a Form defined or has an empty Form, the "Preview" and "Publish" tabs are unclickable.
- The "Publish Screener" API endpoint should reject a request to Publish a Screener that does not have a Form defined or has an empty Form.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.