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

SPA : Set Curation labels for collections in the UI #519

Open
DS-INRAE opened this issue Oct 8, 2024 · 0 comments
Open

SPA : Set Curation labels for collections in the UI #519

DS-INRAE opened this issue Oct 8, 2024 · 0 comments

Comments

@DS-INRAE
Copy link
Member

DS-INRAE commented Oct 8, 2024

Overview of the Feature Request
Allow collection managers to configure the set of curation labels for their collection from the edit collection form.

What kind of user is the feature intended for?
Dataverse collection administrators

Any brand new behavior do you want to add to Dataverse?
If AllowedCurationLabels is enabled with at least one set of curation labels, then add a section in the edit collection form to configure the collection's allowed set of collection labels curationLabelSet.
Choices should be :

  • Inherit from ROOT (default) (for reverting after another selection curl -H "X-Dataverse-key: $API_TOKEN" -X DELETE http://$SERVER/api/admin/dataverse/$dataverse-alias/curationLabelSet)
  • Selecting a set from the installation (equivalent to curl -H "X-Dataverse-key: $API_TOKEN" -X PUT http://$SERVER/api/admin/dataverse/$dataverse-alias/curationLabelSet?name=$curationLabelSetName), field disabled when "Inherit from ROOT" is ticked
  • Selecting none of the allowed sets, therefore disabling the feature for the collection ( curl -H "X-Dataverse-key: $API_TOKEN" -X PUT http://$SERVER/api/admin/dataverse/$dataverse-alias/curationLabelSet?name=DISABLED

The labels should be internationalized if the installation supports multiple languages.

Example of mockups

  1. Inherit from root
    Image
  2. Selecting a set
    Notes: I did put wrongly a multiple selector.
    The "too long example" is intentional to remember to address it when implementing.
    Image

Any open or closed issues related to this feature request?
None seen

Are you thinking about creating a pull request for this feature?
Not planned, we won't start contributing to the SPA before 2025.

https://guides.dataverse.org/en/latest/admin/dataverses-datasets.html#configure-a-dataverse-collection-to-allow-use-of-a-given-curation-label-set

@DS-INRAE DS-INRAE converted this from a draft issue Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ⚠️ Needed/Important
Development

No branches or pull requests

1 participant