Skip to content

Rename maintainers as editorial board#4273

Merged
shiltemann merged 6 commits intomainfrom
editorial-board
Jul 19, 2023
Merged

Rename maintainers as editorial board#4273
shiltemann merged 6 commits intomainfrom
editorial-board

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

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) }

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) }


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) }


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