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

[Questions] Provide a more intuitive happy path for adding questions #71

Open
samyipsh opened this issue Oct 18, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working [LOW] Low priority/severity

Comments

@samyipsh
Copy link
Contributor

Possible fixes

  • Make happy path explicit: on add question focus title and have toast message to add question details and click save change
  • Simplify happy path: user flow for add requires 2 clicks (add question and save change), make the addition of question more intuitive by having add question open a modal of fields and having a confirm button on that modal. This ensures that there isnt an addition of an empty question which is unintuitive.

Recreate problematic scenario

-> Add Question
-> fill in info but dont click "Save 1 Change"
-> Then click Add Question

It'll throw error cos the Add Question adds an empty question into the DB.
The changes have yet to be be saved. Hence on adding another question (which is by default an empty question) an error is thrown as there is already a empty question (question of title empty string), and cant add another question with empty string

image image
@samyipsh samyipsh added bug Something isn't working [LOW] Low priority/severity labels Oct 18, 2023
@samyipsh samyipsh self-assigned this Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working [LOW] Low priority/severity
Projects
None yet
Development

No branches or pull requests

1 participant