Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Design] Redesign skip logic UI (hide/show questions) #437

Open
nichole-aquino opened this issue Jan 11, 2025 · 0 comments
Open

[Design] Redesign skip logic UI (hide/show questions) #437

nichole-aquino opened this issue Jan 11, 2025 · 0 comments
Assignees
Labels
story User story

Comments

@nichole-aquino
Copy link

nichole-aquino commented Jan 11, 2025

Overview

Form builders can easily add hide/show logic within the edit component screen.

Context

Reference:

Revisit the logic UI to address the following issues:

  • With the addition of the optional help text and information box, the overall height of the edit screen increases, making it cumbersome for builders to set logic. With the UI proposed here, builders must add a rule at the bottom, scroll up to the preview to read instructions, then scroll back down to set the action.
  • The accordion to unfurl the hide/show logic can be mistaken for the accordion of the information box.

Solution:

  • Simplify this experience by allowing builders to add logic within the question/answer option UI
  • To add a rule: Click 'Add rule' next to either answer option to open a modal. Set the rule(s) and save.

Image
Image
Image

  • To edit a rule: Click the link to the right of the answer option to open the modal, where you can edit the rule.
    Image

  • Example of an answer option that takes up 2 lines (middle align with dropdown)
    Image

Acceptance Criteria

The changes should be made to the following question types:

  • Single select (aka radio buttons)
  • Checkbox
  • [Out of scope for MVP] Components with a number field (e.g. date or zipcode)
@nichole-aquino nichole-aquino added the story User story label Jan 11, 2025
@nichole-aquino nichole-aquino changed the title Redesign skip logic UI (hide/show questions) [Design] Redesign skip logic UI (hide/show questions) Jan 11, 2025
@nichole-aquino nichole-aquino self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story User story
Projects
None yet
Development

No branches or pull requests

1 participant