From 91d07680b3407cc0be6d9dcba0424e34a89c4a0f Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Fri, 24 Jan 2025 16:35:17 -0500 Subject: [PATCH] feat: add bluesky data field for conferences --- .github/ISSUE_TEMPLATE/suggest-new-location.md | 2 +- scripts/config/validFields.ts | 5 +++-- scripts/reorderConferencesByDate.ts | 5 +++-- scripts/utils/Conference.ts | 3 ++- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/suggest-new-location.md b/.github/ISSUE_TEMPLATE/suggest-new-location.md index 306e2ee22..a621e2d63 100644 --- a/.github/ISSUE_TEMPLATE/suggest-new-location.md +++ b/.github/ISSUE_TEMPLATE/suggest-new-location.md @@ -23,7 +23,7 @@ If you would like to suggest a conference, please also list the details of the c - topic: - language: - is the conference onsite or hybrid? -- twitter/mastodon handle +- bluesky/mastodon/twitter handle - code of conduct Is there anything else we can help you with? diff --git a/scripts/config/validFields.ts b/scripts/config/validFields.ts index e0e2f8208..d9dbf13de 100644 --- a/scripts/config/validFields.ts +++ b/scripts/config/validFields.ts @@ -11,7 +11,8 @@ export default [ 'cocUrl', 'cfpUrl', 'cfpEndDate', + 'bluesky', + 'mastodon', 'twitter', - 'github', - 'mastodon' + 'github' ]; diff --git a/scripts/reorderConferencesByDate.ts b/scripts/reorderConferencesByDate.ts index df521d44a..1be0b4b21 100644 --- a/scripts/reorderConferencesByDate.ts +++ b/scripts/reorderConferencesByDate.ts @@ -63,9 +63,10 @@ Object.keys(conferencesJSON).forEach(year => { cocUrl: mergedConference.cocUrl, cfpUrl: mergedConference.cfpUrl, cfpEndDate: mergedConference.cfpEndDate, - twitter: mergedConference.twitter, + bluesky: mergedConference.bluesky, github: mergedConference.github, - mastodon: mergedConference.mastodon + mastodon: mergedConference.mastodon, + twitter: mergedConference.twitter }; return conference; }); diff --git a/scripts/utils/Conference.ts b/scripts/utils/Conference.ts index b0baa7567..6a7de094d 100644 --- a/scripts/utils/Conference.ts +++ b/scripts/utils/Conference.ts @@ -11,7 +11,8 @@ export interface Conference { cocUrl: string; cfpUrl: string; cfpEndDate: string; - twitter: string; + bluesky: string; github: string; mastodon: string; + twitter: string; }