From 7ec61c0e592f5e6930ddb594bfd00732b1a0ead7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Diamond?= <32074058+Andre-Diamond@users.noreply.github.com> Date: Wed, 16 Oct 2024 05:47:05 +0200 Subject: [PATCH] Added GitHub PBL WG --- pages/api/discord.ts | 3 ++- pages/submit-meeting-summary/index.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/api/discord.ts b/pages/api/discord.ts index 287981f..68e72ea 100644 --- a/pages/api/discord.ts +++ b/pages/api/discord.ts @@ -33,7 +33,8 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) 'Strategy Guild': process.env.SNET_DISCORD_WEBHOOK_URL, 'LatAm Guild': process.env.SNET_DISCORD_WEBHOOK_URL, 'WG Sync Call': process.env.SNET_DISCORD_WEBHOOK_URL, - 'AI Sandbox': process.env.SNET_DISCORD_WEBHOOK_URL + 'AI Sandbox': process.env.SNET_DISCORD_WEBHOOK_URL, + 'GitHub PBL WG': process.env.SNET_DISCORD_WEBHOOK_URL, }; diff --git a/pages/submit-meeting-summary/index.tsx b/pages/submit-meeting-summary/index.tsx index dc885d5..9b9350c 100644 --- a/pages/submit-meeting-summary/index.tsx +++ b/pages/submit-meeting-summary/index.tsx @@ -100,11 +100,12 @@ const SubmitMeetingSummary: NextPage = () => { "LatAm Guild": ["narrative", "decisionItems", "actionItems"], "WG Sync Call": ["meetingTopics", "discussion", "decisionItems", "actionItems", "issues"], "AI Sandbox": ["townHallUpdates", "discussionPoints", "decisionItems", "actionItems", "learningPoints", "issues"], + "GitHub PBL WG": ["discussionPoints", "decisionItems", "actionItems"] }; // When you add a new Workgroup you need to update this ordermapping and the Discord API with the new workgroup // Also check generateMarkdown and SummaryAgendaItems for potential updates // If you add a new AgendaItem type, you need to update the following components: Item.tsx, SummaryTemplate.tsx and AgendaItem.tsx and - // the database template. You also need to update the generateMarkdown.js and getDefaultAgendaItem.js utils functions + // the database template. You also need to update the generateMarkdown.js and getDefaultAgendaItem.js util functions useEffect(() => { async function fetchInitialData(workgroupId: string) {