Skip to content

Allow the creation of multiple surveys within the same Survey component #13152

@carolromero

Description

@carolromero

Is your new feature request related to a problem?

As an admin, if I want to publish multiple surveys within the same space, I have to create a survey component for each one, unlike other components where each one can have more than one resource.

Describe the solution you want

As an admin, I want the survey component to allow me to create more than one resource within the same component and allow me to display the published surveys based on whether they are open (can receive responses) or closed. On the other hand, if there is only one open survey, I want the frontend to redirect directly to the view of the survey that has responses enabled.

Mockups
Component table
Image

Configure
Image

Edit
Image

Manage questions
Image

Participant view
Image

Could this problem affect the private data of participants?

No

Acceptance Criteria

  • Given that I am an admin who wants to create more than one survey within a space, when I click on the “Create survey” component, then I can create more than one survey within the same component.
  • Given that I am an admin managing multiple surveys within the Survey component, when I access the table in the admin panel, then I see the following columns: Title, Questions, Responses, Actions.
  • Given that there are multiple resources within the Survey component, when I review the available actions, then I see the following: Edit, Manage questions, Preview, Permissions, and Delete.
  • Given that I am an admin, when I click on the Edit action of a specific resource, then I see a form with the following fields:
    • Title
    • Description
    • Terms of services
    • Allow responses
    • Allow non-registered users to respond to the survey
    • Responses accepted from / until
    • Delete responses when the survey is published (?)
    • Announcement
  • Given that I am an admin, when I click on the Manage questions action of a specific resource, then I see a form to add the survey questions and an option to preview the survey.
  • Given that I am a participant, when I access a space with a single open survey, then I directly see the form with the questions of that survey.
  • Given that I am a participant, when I access a space with more than one survey, then I see the list of surveys with a filter of “Open” and “Closed,” with the “Open” filter activated by default.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Merged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions