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

Create a page to create and update a Questionnaire #11

Open
mundra-ankur opened this issue Jul 4, 2023 · 0 comments
Open

Create a page to create and update a Questionnaire #11

mundra-ankur opened this issue Jul 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mundra-ankur
Copy link
Member

mundra-ankur commented Jul 4, 2023

This page consists of two parts, Questionnaire metadata, and associated Questions, as part of this page interface creation consider the following points:

For the first part:

  • All the fields should be in a column and not in a row format as is the case in the old UI (Min Score, Max Score, and Private)
  • Min Score, Max Score must be a number
  • Is this Review private field should be a checkbox instead of dropdown

For the second part:
Image

  • Instead of having an Add button and following fields to create a Question, simply have an Add button, this should be at the bottom of available Questions
  • Remove button for a Question should be at the end of that row and not at the start
  • Seq field must be disabled for edit
  • Type field will be a dropdown and the user can select the type while creating the Question
  • Weight field must be numeric
  • Edit/View Advice button should be aligned properly
  • Edit/View Advice page can be as it is.
  • Import and Export buttons at the bottom should display a Modal instead of showing a new page. (reference of Modal can be found in UserEditor.tsx of this repo)
  • Import and Export functionality should get or export the data in a format that is required, you don't have to worry about adding the data to the backend.

Note: Feel free to exercise your creativity when designing the user interface for this page, as long as it remains simple and easy to navigate.

[The "Add question weight" button below is not really useful and should be removed. The "text area size" field should be pre-populated with the default value (80, 1)?]

Image

@mundra-ankur mundra-ankur converted this from a draft issue Jul 4, 2023
@mundra-ankur mundra-ankur added the enhancement New feature or request label Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant