Skip to content

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

@Justin-MacIntosh

Description

@Justin-MacIntosh

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.

Metadata

Metadata

Assignees

Labels

quick winSomething with big impact for little effort

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions