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

Rename maintainers as editorial board #4273

Merged
merged 6 commits into from
Jul 19, 2023
Merged

Rename maintainers as editorial board #4273

merged 6 commits into from
Jul 19, 2023

Conversation

hexylena
Copy link
Member

It's closer to their functional role and it's a bit more of a recognisable in this sort of context, so hopefully encourages people to take on this role when possible. (I.e. a more CV-compatible title)

Additionally this recognises those contributors for going above and beyond, on their contributor profile page.

@lldelisle
Copy link
Collaborator

Thanks

@@ -103,6 +103,11 @@ def generate(site)
page2.data['news_count'] = news_by_author[contributor].length
page2.data['learning_pathways_count'] = learning_pathways_by_author[contributor].length

page2.data['editors'] = TopicFilter.enumerate_topics(site).select {|t| t.fetch('editorial_board', []).include?(contributor) }
Copy link
Contributor

Choose a reason for hiding this comment

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

📝 [rubocop] <Layout/SpaceInsideBlockBraces> reported by reviewdog 🐶
Space between { and | missing.

Suggested change
page2.data['editors'] = TopicFilter.enumerate_topics(site).select {|t| t.fetch('editorial_board', []).include?(contributor) }
page2.data['editors'] = TopicFilter.enumerate_topics(site).select { |t| t.fetch('editorial_board', []).include?(contributor) }

@@ -103,6 +103,11 @@ def generate(site)
page2.data['news_count'] = news_by_author[contributor].length
page2.data['learning_pathways_count'] = learning_pathways_by_author[contributor].length

page2.data['editors'] = TopicFilter.enumerate_topics(site).select {|t| t.fetch('editorial_board', []).include?(contributor) }
Copy link
Contributor

Choose a reason for hiding this comment

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

📝 [rubocop] <Layout/LineLength> reported by reviewdog 🐶
Line is too long. [133/120]

Suggested change
page2.data['editors'] = TopicFilter.enumerate_topics(site).select {|t| t.fetch('editorial_board', []).include?(contributor) }
page2.data['editors'] = TopicFilter.enumerate_topics(site).select {|t|
t.fetch('editorial_board', []).include?(contributor) }

@@ -103,6 +103,11 @@ def generate(site)
page2.data['news_count'] = news_by_author[contributor].length
page2.data['learning_pathways_count'] = learning_pathways_by_author[contributor].length

page2.data['editors'] = TopicFilter.enumerate_topics(site).select {|t| t.fetch('editorial_board', []).include?(contributor) }
# Also their learning pathways
page2.data['editors'] += site.pages.select {|t| t['layout'] == 'learning-pathway' && t.data.fetch('editorial_board', []).include?(contributor) }
Copy link
Contributor

Choose a reason for hiding this comment

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

📝 [rubocop] <Layout/SpaceInsideBlockBraces> reported by reviewdog 🐶
Space between { and | missing.

Suggested change
page2.data['editors'] += site.pages.select {|t| t['layout'] == 'learning-pathway' && t.data.fetch('editorial_board', []).include?(contributor) }
page2.data['editors'] += site.pages.select { |t| t['layout'] == 'learning-pathway' && t.data.fetch('editorial_board', []).include?(contributor) }

@@ -103,6 +103,11 @@ def generate(site)
page2.data['news_count'] = news_by_author[contributor].length
page2.data['learning_pathways_count'] = learning_pathways_by_author[contributor].length

page2.data['editors'] = TopicFilter.enumerate_topics(site).select {|t| t.fetch('editorial_board', []).include?(contributor) }
# Also their learning pathways
page2.data['editors'] += site.pages.select {|t| t['layout'] == 'learning-pathway' && t.data.fetch('editorial_board', []).include?(contributor) }
Copy link
Contributor

Choose a reason for hiding this comment

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

📝 [rubocop] <Layout/LineLength> reported by reviewdog 🐶
Line is too long. [152/120]

Suggested change
page2.data['editors'] += site.pages.select {|t| t['layout'] == 'learning-pathway' && t.data.fetch('editorial_board', []).include?(contributor) }
page2.data['editors'] += site.pages.select {|t|
t['layout'] == 'learning-pathway' && t.data.fetch('editorial_board', []).include?(contributor) }

@hexylena
Copy link
Member Author

ready to go @shiltemann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants