Skip to content

Bug: Campaign interactions "Add a Response" button requires "Script" field #1432

Open
@winterlamon

Description

@winterlamon

Describe the bug
As an admin creating an interaction for a campaign, I expect to see the + ADD A RESPONSE button when I have filled out the Question text field. However, the button only appears if there is a value in the Script field above it. There is no indication that Script is a required field.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the admin dashboard and initiate the creation of a new campaign
  2. Under the interactions section, add a script and question
  3. Click the + ADD A RESPONSE button
  4. Add an answer and a question, but skip the script field
  5. Note that the + ADD A RESPONSE button is not present underneath the response
  6. Add text to the previously skipped script field and note that the button now appears

Expected behavior

As an admin creating an interaction for a campaign, I expect to see the + ADD A RESPONSE button when I have filled out the Question text field.

Screenshots

Screen Shot 2020-02-19 at 8 50 57 PM

Screen Shot 2020-02-19 at 9 05 48 PM

Platform (please complete the following information):

  • OS: macOS Catalina (10.15.2)
  • Browser : Google Chrome v80
  • Desktop or Mobile? Desktop
  • Version v3.1.0

Possible Solutions
If it is intentional that a script is necessary to create branching questions and responses, I think the best solution to this is to disable the question field until there is a value in the script field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Admin UI/UXArea: Admin experience of using SpokeC-bugType: BugS-needs planningStatus: Issue label for those blocked on larger roadmap issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions