CodeForPhilly / CodeForPhilly/benefit-decision-toolkit

Prevent navigating to "Preview" or "Publish" for Screener's without Forms

Open
#319 0 comments 0 reactions 1 assignee Claimed by @joshwanf View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.