Skip to content

Questionnaire management #2545

@janno42

Description

@janno42

Currently, questionnaires can have one of three visibilities (HIDDEN: is not shown in the questionnaire selection in evaluation forms and can be hidden via a switch button on the staff questionnaire page, MANAGERS: only managers see them in the questionnaire selection, EDITORS: managers and editors see them in the questionnaire selection).
On the staff questionnaire page, all questionnaire types (DROPOUT, TOP, CONTRIBUTOR, BOTTOM) are shown below each other in one card per type. Navigating a large number of questionnaires (close to 500 on production) is quite tedious.

The following changes should be made to improve the questionnaire page:

  • The four types of questionnaires should be shown in individual tabs (https://getbootstrap.com/docs/5.3/components/navs-tabs/#tabs). In each tab, only questionnaires of one type are shown.
  • An additional visibility ARCHIVED should be added (icon: box-archive)
    • Archived questionnaires should be shown last within the questionnaires of their type.
    • The visibility switch "Hidden questionnaires" on top of the page should be changed to "Show questionnaires" with three options: All (all questionnaires are shown), Non-archived (shows all but archived), Visible (shows only MANAGERS and EDITORS)
    • The current action "Hide and create new version" should become "Archive and create new version" and the old questionnaire should be archived instead of hidden when clicking on the button.

Metadata

Metadata

Assignees

Labels

[C] BackendFocuses on backend implementation[C] FrontendFocuses on frontend implementation[P] MajorMajor priority

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions