USGCRP / gcis

Global Change Information System
https://data.globalchange.gov
Other
20 stars 16 forks source link

Add a flag or check mark for authors that are corresponding authors #528

Closed amruelama closed 7 years ago

amruelama commented 7 years ago

In GCIS, corresponding authors are 'the point of contact' authors. Currently, we relate them seperately, i.e., relate a person as author for an article and relate a person as point of contact for the same article. Going forward, we should be able to flag these authors to indicate two roles (author as primary role and point of contact as secondary role)

Things to do:

amruelama commented 7 years ago

@lomky Could you prioritize this, please? Looks like there are so many author POCs that we've been adding recently. Just adding the feature should be fine for now.

lomky commented 7 years ago

@amruelama an easy way to make this happen is let the PoC continue to be a separate contributor relationship, but allow you to create it via a checkbox when assigning another role.

Pros:

Cons:

Question: How often do you need to add a single person with more than one role other than PoC? Another way we could implement this is allow you to choose as many roles as you like during creation, and it makes all the relationships. That is a more general solution, but a bit more work.

amruelama commented 7 years ago

@lomky I wouldn't worry about deleting two lines if I need to delete them. Since we are adding hundreds of contributors per week and we have around 90% of articles with authors that are POCs, anything that simplifies the process of adding multiple roles for contributors would be great. For now, we only have examples for author-POC multiple roles.

lomky commented 7 years ago

We're going to move forward with making the role field a multiselect option, and letting the controller beneath handle creating the multiple relationships.