Skip to content

add contributor to coversheet and add plan title to csv export - #3178

Merged
briri merged 5 commits into
DMPRoadmap:developmentfrom
pengyin-shan:development
Jun 3, 2022
Merged

add contributor to coversheet and add plan title to csv export#3178
briri merged 5 commits into
DMPRoadmap:developmentfrom
pengyin-shan:development

Conversation

@pengyin-shan

Copy link
Copy Markdown
Contributor

A user of DMP Assistant asks us to add contributors to coverage since they are the ones to be more valuable to DMP than creators. This PR achieves this function, also adds 'Title' to csv DMPs.

Changes proposed in this PR:

  • Added contributors to coverage of plans. Users will see both roles and contributor names if the role is filled ('Other' is replaced by 'Contributor' as the role name). A role can have many contributors and the same contributor can have more than one role:

Screen Shot 2022-05-19 at 17 25 54

  • For JSON export, it will show as part of JSON object with the whole contributor information:

"contributor":[{"name":"Wendy Shan Both","mbox":"test@test.com","role":["http://credit.niso.org/contributor-roles//data-curation","http://credit.niso.org/contributor-roles//investigation"],"affiliation":{"name":"University of British Columbia","abbreviation":"UBC","region":null}},{"name":"Wendy Shan","mbox":"test@test.com","role":["http://credit.niso.org/contributor-roles//investigation","other"],"affiliation":{"name":"University of British Columbia","abbreviation":"UBC","region":null}}]

  • Added plan title to csv file
@pengyin-shan
pengyin-shan requested a review from briri May 20, 2022 16:17
@pengyin-shan
pengyin-shan marked this pull request as draft May 20, 2022 17:20
@pengyin-shan

pengyin-shan commented May 20, 2022

Copy link
Copy Markdown
Contributor Author

Ready for review

@pengyin-shan
pengyin-shan marked this pull request as ready for review May 20, 2022 21:05

@briri briri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good to me @pengyin-shan

@briri
briri merged commit c700ad5 into DMPRoadmap:development Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants