CSCfi / metadata-submitter-frontend

Frontend for Metadata Submission Interface.
https://metadata-submitter.rtfd.io
MIT License
5 stars 2 forks source link

Display DOI and discovery link to Etsin for published folders #523

Open blankdots opened 3 years ago

blankdots commented 3 years ago

Description

As a follow-up of #455 we need to be able to display to the users information about the Datacite published DOI.

In the folder there is a key extraInfo with the necessary information:

"extraInfo": {
        "studyIdentifier": {
            "accessionId": "acccessionId",
            "identifier": {
                "identifierType": "DOI",
                "doi": "https://doi.url"
            },
            "url": "https://etsin.url",
            "types": {
                "resourceTypeGeneral": "Collection"
            }
        },
        "datasetIdentifiers": [
            {
                "accessionId": "acccessionId1",
                "identifier": {
                    "identifierType": "DOI",
                    "doi": "https://doi.url"
                },
                "url": "https://etsin.url",
                "types": {
                    "ris": "DATA",
                    "bibtex": "misc",
                    "citeproc": "dataset",
                    "schemaOrg": "Dataset",
                    "resourceTypeGeneral": "Collection"
                }
            },
            {   
                "accessionId": "acccessionId2",
                "identifier": {
                    "identifierType": "DOI",
                    "doi": "https://doi.url"
                },
                "url": "https://etsin.url",
                "types": {
                    "ris": "DATA",
                    "bibtex": "misc",
                    "citeproc": "dataset",
                    "schemaOrg": "Dataset",
                    "resourceTypeGeneral": "Collection"
                }
            }
        ],
        "publicationYear": 2020,
        "publisher": "CSC"
    }

to display:

should be visible when opening a published folder image

Optional: display also information from doiInfo key from folder

DoD (Definition of Done)

DOI info is listed for published folders

Testing

Integration Testing

hannyle commented 2 years ago

This issue will be proceeded as soon as its UI design is ready.