Skip to content

[Bug] The Research Output answer should not default to all of the "preferred" repositories #1094

@briri

Description

@briri

Summary:
When a researcher first opens a research output table question, the repository (and I assume the metadata standard would follow this same pattern) section already has all of the "preferred" repositories selected. There should be no repository selections, the user should have to make a conscious selection.

Expected Behavior:
When the researcher first opens a research output table question, the repository (and metadata standard should behave the same way) sections have no selections. When the user clicks to "Add" a repository, the modal window opens and:

  • If there are "preferred" repositories: those preferred repositories are displayed and the user has a filter checkbox (checked by default) with a label of "Preferred Repositories only" (see screenshot below). This should be checked by default whenever this window opens. Unchecking the box (and then hitting "apply filters") allows the user to search/filter against the complete list. The info button says if clicked "These repositories were set by the template creator as preferred repositories to use."
  • If there are no "preferred" repositories: there is no filter shown for preferred repositories; this space is blank.
Image

Steps to reproduce

  1. Find a template that has a Research output question with repository preferences (or add a RO question to an existing template and republish it)
  2. Create a new plan using that template
  3. Navigate to the RO question
  4. You will see the preferred repositories are pre-selected for you

Screenshots of current behavior
View of pre-selected repositories when I first opened the question:
Image

View of repository selection modal when I click to add a repository (its not showing the preferred repositories by default)
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions