-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add dedicated field for ELIXIR node #230
base: main
Are you sure you want to change the base?
Conversation
@unode Thanks a lot for your contribution! I was wondering making the node look visually different than the Affiliation instead of adding a break line would be nice? In its current shape the card gets higher by default when a node is added. Second though: is for non ELIXIR people clear what the word "node" means? The theme is also used in for example Australian BioComons |
I initially named the field As for style, I played around with the badges like currently used for author/editor role but didn't really find a visual that I liked. Ended up going with the simplest option that could be further modified if necessary. Do any visuals come to mind straight away? I also played with the idea of having a built-in link to the node or a flag but not all nodes are countries (e.g. Hub and EMBL-EBI). Also went back and forth between full node name and short code. The last seems to be most frequently used and some nodes (e.g. UK) don't use a long version at all. |
I have been looking at this from a distance and I have to admit that I am not sure whether this is an improvement. As seen in https://rdmkit.elixir-europe.org/contributors it would really make almost all rows taller. Not putting a new line does not add much besides consistency IMO. Could the consistent use of delimiters not be enforced by the editors of a repo? This way it is more versatile because many of theme have besides a department and elixir node, also a university/institute affiliation and they all better get delimited consistently anyway. |
The problem is not the consistent use of a delimiter but that using it (more than using it inconsistently) causes some issues - See for instance Renato Alves that shows up multiple times. Looking for ways to make progress here, if the issue is simply one of style, can we explore other visuals that allow displaying the information without the concern that the rows become taller? |
The problem you describe is not related to the affiliation? This person just described himself 2 times with different names. It is not only a style thing, but more that the problems are caused by not having a "style guide" that is enforced onto the repo. The fact that Renato Alves put his node in his name should never have been merged in the first place. That is just wrong .... |
The fact that Renato Alves did not use the affiliation in the first place, means that having an elixir_node attribute would not solve this particular problem. Sorry I just try to understand the reasoning here :) |
I see now the problem. The # reference maintainers/contributors by their name used in contributors metadata section on the pages.
# Extra metadata that is possible to add:
# Full Name:
# git: github id
# email: email adress
# orcid: ocrid id
# role: the role of the contributor
# affiliation: affiliation
# image_url: absolute path to image (default image from github)
And make sure you always use the same name in the metadata of the page (the list of contributors) and in the CONTRIBUTORS file. This explains the doubles. https://elixir-belgium.github.io/elixir-toolkit-theme/page_mechanics#possible-metadata-attributes-of-a-page also describes:
|
Hi Bert, there are a few different assumptions and points or diagnostics that are perhaps worth mentioning or clarifying:
Given the above, the focus of this pull-request was merely to introduce a field While some of the points have to do with how the template is being used, correctly or incorrectly, the inconsistency is something that the template could try to protect from. One solution here could be to fail to build if contributors in individual pages are not present in the global So trying to be pragmatic: PS: There's a minor typo in the |
Thanks a lot for your extensive insight. I do have some remarks:
This is also related to the other points you mention. I do not believe that without a style guide that is enforced by editors, the problem will be solved. People can still have affiliations in any form or shape, since it is free text. for example
Let me have a look in a way of adding the node in a less space taking way. But this does not take my opinion away that the biggest problem is the lack of decision in the community how the contributors should describe their affiliation and enforcing it, hence the creation of this issue ;) |
Thanks for spotting the type, will correct it now! |
Thanks Bert, I'll keep an eye on this PR/issue and modify the upstream PR once there's a final decision and implementation here. Let me know as well what you think about the idea to fail to build if fields (or other content) are not used in the intended way. |
Include a dedicated field to specify the ELIXIR node affiliation.
This is being proposed as a follow up of elixir-europe-training/ELIXIR-Training-SPLASH#132 where node affiliation was being specified with an arbitrary (and inconsistent) style across different contribution sections.