diff --git a/scripts/modify-board-data/main.js b/scripts/modify-board-data/main.js index 3708fb4e5..6cef02f1f 100644 --- a/scripts/modify-board-data/main.js +++ b/scripts/modify-board-data/main.js @@ -39,7 +39,11 @@ import { execSync } from 'child_process'; // Tier mapping function mapTier(tiers, tier) { - return tiers[upperFirstLetters(tier)].id; + try { + return tiers[upperFirstLetters(tier)].id; + } catch { + return undefined; + } } async function viewDiff() { @@ -59,17 +63,17 @@ function findOfficer(boardOfficers, name) { async function editOfficer(officers, tiers) { const lookfor = await readInput('What officer do you want to edit/add? '); let officer = await findOfficer(officers, lookfor); + let ifNew = false; if (!officer) { + ifNew = true; console.log('Unable to locate ', lookfor, '. Making new officer'); officer = { fullName: upperFirstLetters(lookfor), picture: '', - discord: '', positions: {}, + discord: '', }; - - officers.push(officer); } // Gaballa, why are you switching between string literal and template literal? @@ -137,6 +141,14 @@ async function editOfficer(officers, tiers) { break; } + const tier = mapTier(tiers, title); + if (tier == undefined) { + console.log( + 'Bad Title, please check the spelling and try again [Can be found in src/lib/public/board/data/tiers]' + ); + continue; + } + officer.positions[term].push({ title: upperFirstLetters(title), tier: mapTier(tiers, title), @@ -150,6 +162,9 @@ async function editOfficer(officers, tiers) { while (true) { const confirmation = (await readInput('Are you okay with these changes? [y/n] ')).toLowerCase(); if (confirmation === 'yes' || confirmation === 'y') { + if (ifNew) { + officers.push(officer); + } writeToCopy(JSON.stringify(officers, null, 2)); return officers; } diff --git a/selected b/selected new file mode 100644 index 000000000..2e464c51f --- /dev/null +++ b/selected @@ -0,0 +1 @@ +ARCHITECTURE.md diff --git a/src/lib/public/board/data/officers.json b/src/lib/public/board/data/officers.json index eb1d098fe..8652132c2 100644 --- a/src/lib/public/board/data/officers.json +++ b/src/lib/public/board/data/officers.json @@ -22,6 +22,12 @@ "title": "Open Source Co-TL", "tier": 33 } + ], + "F26": [ + { + "title": "President", + "tier": 0 + } ] }, "discord": "@diane11a" @@ -69,6 +75,29 @@ }, "discord": "@semsema" }, + { + "fullName": "Mark Gaballa", + "picture": "mark-gaballa.webp", + "positions": { + "S26": [ + { + "title": "Open Source Officer", + "tier": 33 + } + ], + "F26": [ + { + "title": "Webmaster", + "tier": 2 + }, + { + "title": "Open Source Co-TL", + "tier": 33 + } + ] + }, + "discord": "@gaballa." + }, { "fullName": "Armanul Ambia", "picture": "armanul-ambia.webp", @@ -1027,6 +1056,16 @@ "title": "Open Source Team Lead", "tier": 32 } + ], + "F26": [ + { + "title": "Open Source Officer", + "tier": 33 + }, + { + "title": "Event Coordinator", + "tier": 6 + } ] }, "discord": "@surrealreal_" @@ -2891,6 +2930,20 @@ "title": "Dev Officer", "tier": 19 } + ], + "F26": [ + { + "title": "AI Officer", + "tier": 21 + }, + { + "title": "Dev Officer", + "tier": 19 + }, + { + "title": "Open Source Officer", + "tier": 33 + } ] }, "discord": "@kenny8092" @@ -3205,6 +3258,12 @@ "title": "Open Source Officer", "tier": 33 } + ], + "F26": [ + { + "title": "Open Source Team Lead", + "tier": 32 + } ] }, "discord": "@thejolman" @@ -3444,6 +3503,16 @@ "title": "Design Officer", "tier": 16 } + ], + "F26": [ + { + "title": "Marketing Team Lead", + "tier": 8 + }, + { + "title": "Node Buds Officer", + "tier": 26 + } ] }, "discord": "@qasple" @@ -3526,6 +3595,16 @@ "title": "Event Coordinator", "tier": 6 } + ], + "F26": [ + { + "title": "Event Coordinator", + "tier": 6 + }, + { + "title": "Node Buds Officer", + "tier": 26 + } ] }, "discord": "@lalalaliz" @@ -3580,6 +3659,12 @@ "title": "Marketing Officer", "tier": 9 } + ], + "F26": [ + { + "title": "Design Team Lead", + "tier": 13 + } ] }, "discord": "@sofa.gui9702" @@ -3618,6 +3703,20 @@ "title": "Dev Team Lead", "tier": 17 } + ], + "F26": [ + { + "title": "Treasurer", + "tier": 4 + }, + { + "title": "Dev Officer", + "tier": 19 + }, + { + "title": "Marketing Officer", + "tier": 9 + } ] }, "discord": "@8ab1ker" @@ -3645,6 +3744,16 @@ "title": "Open Source Officer", "tier": 33 } + ], + "F26": [ + { + "title": "Node Buds Co-Team Lead", + "tier": 36 + }, + { + "title": "Open Source Officer", + "tier": 33 + } ] }, "discord": "@beeemi" @@ -3662,6 +3771,12 @@ "title": "Marketing Officer", "tier": 9 } + ], + "F26": [ + { + "title": "Node Buds Officer", + "tier": 26 + } ] }, "discord": "@steezyprogrammer" @@ -3681,6 +3796,12 @@ "title": "Algo Officer", "tier": 12 } + ], + "F26": [ + { + "title": "Algo Officer", + "tier": 12 + } ] }, "discord": "@eli.th" @@ -3708,6 +3829,16 @@ "title": "Marketing Officer", "tier": 9 } + ], + "F26": [ + { + "title": "Vice President", + "tier": 1 + }, + { + "title": "Node Buds Officer", + "tier": 26 + } ] }, "discord": "@yuriko.lpz" @@ -3735,6 +3866,16 @@ "title": "Marketing Officer", "tier": 9 } + ], + "F26": [ + { + "title": "Marketing Officer", + "tier": 9 + }, + { + "title": "Node Buds Officer", + "tier": 26 + } ] }, "discord": "@daisycalel" @@ -3773,6 +3914,12 @@ "title": "Dev Officer", "tier": 19 } + ], + "F26": [ + { + "title": "Dev Officer", + "tier": 19 + } ] }, "discord": "@imonlaunchbrake" @@ -3812,6 +3959,12 @@ "title": "Marketing Officer", "tier": 9 } + ], + "F26": [ + { + "title": "Node Buds Officer", + "tier": 26 + } ] }, "discord": "@that.gunter" @@ -3926,6 +4079,12 @@ "title": "AI Officer", "tier": 21 } + ], + "F26": [ + { + "title": "AI Team Lead", + "tier": 20 + } ] }, "discord": "@53np41_jaeger.00" @@ -3978,6 +4137,12 @@ "title": "Game Dev Officer", "tier": 23 } + ], + "F26": [ + { + "title": "AI Officer", + "tier": 21 + } ] }, "discord": "@biryani23" @@ -4018,19 +4183,6 @@ }, "discord": "@joshywatt" }, - { - "fullName": "Mark Gaballa", - "picture": "placeholder.webp", - "positions": { - "S26": [ - { - "title": "Open Source Officer", - "tier": 33 - } - ] - }, - "discord": "@gaballa." - }, { "fullName": "Isamaliya Tirth Vipulbhai", "picture": "isamaliya-tirth-vipulbhai.webp", @@ -4066,6 +4218,12 @@ "title": "Algo Officer", "tier": 12 } + ], + "F26": [ + { + "title": "Algo Officer", + "tier": 12 + } ] }, "discord": "@acepainter" @@ -4079,6 +4237,12 @@ "title": "Algo Officer", "tier": 12 } + ], + "F26": [ + { + "title": "Algo Officer", + "tier": 12 + } ] }, "discord": "@patheit" @@ -4092,6 +4256,12 @@ "title": "Algo Officer", "tier": 12 } + ], + "F26": [ + { + "title": "Algo Officer", + "tier": 12 + } ] }, "discord": "@jerrycompiled" @@ -4105,6 +4275,12 @@ "title": "Algo Officer", "tier": 12 } + ], + "F26": [ + { + "title": "Algo Team Lead", + "tier": 11 + } ] }, "discord": "@samayy" @@ -4131,13 +4307,19 @@ "title": "Dev Officer", "tier": 19 } + ], + "F26": [ + { + "title": "Dev Team Lead", + "tier": 17 + } ] }, "discord": "@xiaowidebao" }, { "fullName": "Samson Du", - "picture": "placeholder.webp", + "picture": "samson-du.webp", "positions": { "S26": [ { @@ -4148,32 +4330,54 @@ "title": "Node Buds Officer", "tier": 26 } + ], + "F26": [ + { + "title": "Node Buds Team Lead", + "tier": 34 + } ] }, "discord": "@samson.duu" }, { "fullName": "Brian Hlonggul", - "picture": "placeholder.webp", + "picture": "brian-hlonggul.webp", "positions": { "S26": [ { "title": "Node Buds Officer", "tier": 26 } + ], + "F26": [ + { + "title": "Node Buds Officer", + "tier": 26 + }, + { + "title": "Open Source Officer", + "tier": 33 + } ] }, "discord": "@broglemeow" }, { "fullName": "Kevin Fuentes", - "picture": "placeholder.webp", + "picture": "kevin-fuentes.webp", "positions": { "S26": [ { "title": "Node Buds Officer", "tier": 26 } + ], + "F26": [ + { + "title": "Node Buds Officer", + "tier": 26 + } ] }, "discord": "@creatorkemii" @@ -4187,8 +4391,126 @@ "title": "Open Source Officer", "tier": 33 } + ], + "F26": [ + { + "title": "Open Source Officer", + "tier": 33 + } ] }, "discord": "@farmerakh" + }, + { + "fullName": "Michelle Pineda", + "picture": "michelle-pineda.webp", + "positions": { + "F26": [ + { + "title": "Secretary", + "tier": 5 + } + ] + }, + "discord": "@michelletz" + }, + { + "fullName": "Kevin Do", + "picture": "placeholder.webp", + "positions": { + "F26": [ + { + "title": "Dev Officer", + "tier": 19 + } + ] + }, + "discord": "@cryocial" + }, + { + "fullName": "Chisom Okonkwo", + "picture": "chisom-okonkwo.webp", + "positions": { + "F26": [ + { + "title": "Design Officer", + "tier": 16 + } + ] + }, + "discord": "@chip_06" + }, + { + "fullName": "Cody Le", + "picture": "cody-le.webp", + "positions": { + "F26": [ + { + "title": "Node Buds Officer", + "tier": 26 + }, + { + "title": "Open Source Officer", + "tier": 33 + } + ] + }, + "discord": "@joosbananas" + }, + { + "fullName": "Jared Anastacio Ferrer", + "picture": "jared-anastacio-ferrer.webp", + "positions": { + "F26": [ + { + "title": "Dev Officer", + "tier": 19 + } + ] + }, + "discord": "@jxred_17" + }, + { + "fullName": "Taymas Nguyen", + "picture": "taymas-nguyen.webp", + "positions": { + "F26": [ + { + "title": "Algo Officer", + "tier": 12 + } + ] + }, + "discord": "@main12345__" + }, + { + "fullName": "Esteban Maldonado", + "picture": "placeholder.webp", + "positions": { + "F26": [ + { + "title": "AI Officer", + "tier": 21 + } + ] + }, + "discord": "@esteban.m_1" + }, + { + "fullName": "Tania Rivera", + "picture": "tania-rivera.webp", + "positions": { + "F26": [ + { + "title": "AI Officer", + "tier": 21 + }, + { + "title": "Design Officer", + "tier": 16 + } + ] + }, + "discord": "@thetunasalad" } ] diff --git a/src/lib/public/board/data/terms.ts b/src/lib/public/board/data/terms.ts index ccbaf7d0c..3b008ae31 100644 --- a/src/lib/public/board/data/terms.ts +++ b/src/lib/public/board/data/terms.ts @@ -1,6 +1,7 @@ import { Term } from '../types'; export const VISIBLE_TERMS = [ + Term.Fall26, Term.Spring26, Term.Fall25, Term.Spring25, diff --git a/src/lib/public/board/types.ts b/src/lib/public/board/types.ts index 04fd28515..dbad72cc1 100644 --- a/src/lib/public/board/types.ts +++ b/src/lib/public/board/types.ts @@ -13,6 +13,7 @@ export enum Term { Spring25 = 'S25', Fall25 = 'F25', Spring26 = 'S26', + Fall26 = 'F26', } /** diff --git a/src/routes/(site)/teams/team-section.svelte b/src/routes/(site)/teams/team-section.svelte index 6e9c93249..468f85d19 100644 --- a/src/routes/(site)/teams/team-section.svelte +++ b/src/routes/(site)/teams/team-section.svelte @@ -20,6 +20,7 @@ Term.Spring25, Term.Fall25, Term.Spring26, + Term.Fall26, ]; const gamedevTerms = [ Term.Spring23, diff --git a/static/people/babiker-babiker.webp b/static/people/babiker-babiker.webp index efde48cc3..2f0b84eba 100644 Binary files a/static/people/babiker-babiker.webp and b/static/people/babiker-babiker.webp differ diff --git a/static/people/brian-hlonggul.webp b/static/people/brian-hlonggul.webp new file mode 100644 index 000000000..2e29c2b12 Binary files /dev/null and b/static/people/brian-hlonggul.webp differ diff --git a/static/people/chisom-okonkwo.webp b/static/people/chisom-okonkwo.webp new file mode 100644 index 000000000..b73a46200 Binary files /dev/null and b/static/people/chisom-okonkwo.webp differ diff --git a/static/people/cody-le.webp b/static/people/cody-le.webp new file mode 100644 index 000000000..85a13b8c0 Binary files /dev/null and b/static/people/cody-le.webp differ diff --git a/static/people/eli-thomas.webp b/static/people/eli-thomas.webp index bc2373688..860ee636b 100644 Binary files a/static/people/eli-thomas.webp and b/static/people/eli-thomas.webp differ diff --git a/static/people/emily-tsai.webp b/static/people/emily-tsai.webp index d7c12b48e..ff3cf6aee 100644 Binary files a/static/people/emily-tsai.webp and b/static/people/emily-tsai.webp differ diff --git a/static/people/jared-anastacio-ferrer.webp b/static/people/jared-anastacio-ferrer.webp new file mode 100644 index 000000000..0bbe6e42f Binary files /dev/null and b/static/people/jared-anastacio-ferrer.webp differ diff --git a/static/people/jasmine-vu.webp b/static/people/jasmine-vu.webp index 0f3003334..7b696f938 100644 Binary files a/static/people/jasmine-vu.webp and b/static/people/jasmine-vu.webp differ diff --git a/static/people/joshua-holman.webp b/static/people/joshua-holman.webp index f483fa419..ca2ccc7a3 100644 Binary files a/static/people/joshua-holman.webp and b/static/people/joshua-holman.webp differ diff --git a/static/people/kevin-fuentes.webp b/static/people/kevin-fuentes.webp new file mode 100644 index 000000000..fb16896bf Binary files /dev/null and b/static/people/kevin-fuentes.webp differ diff --git a/static/people/mark-gaballa.webp b/static/people/mark-gaballa.webp new file mode 100644 index 000000000..b0438b8bb Binary files /dev/null and b/static/people/mark-gaballa.webp differ diff --git a/static/people/michelle-pineda.webp b/static/people/michelle-pineda.webp new file mode 100644 index 000000000..cc49ba9e6 Binary files /dev/null and b/static/people/michelle-pineda.webp differ diff --git a/static/people/ruman-saiyed.webp b/static/people/ruman-saiyed.webp index 950a4c7a5..5092122e8 100644 Binary files a/static/people/ruman-saiyed.webp and b/static/people/ruman-saiyed.webp differ diff --git a/static/people/samson-du.webp b/static/people/samson-du.webp new file mode 100644 index 000000000..f0b4f476b Binary files /dev/null and b/static/people/samson-du.webp differ diff --git a/static/people/shane-smeaton.webp b/static/people/shane-smeaton.webp index 847c01e21..614ecb8c8 100644 Binary files a/static/people/shane-smeaton.webp and b/static/people/shane-smeaton.webp differ diff --git a/static/people/sofia-guillen.webp b/static/people/sofia-guillen.webp index 5976267bd..a57a66dc8 100644 Binary files a/static/people/sofia-guillen.webp and b/static/people/sofia-guillen.webp differ diff --git a/static/people/tania-rivera.webp b/static/people/tania-rivera.webp new file mode 100644 index 000000000..a09569d6f Binary files /dev/null and b/static/people/tania-rivera.webp differ diff --git a/static/people/taymas-nguyen.webp b/static/people/taymas-nguyen.webp new file mode 100644 index 000000000..dbd612fb5 Binary files /dev/null and b/static/people/taymas-nguyen.webp differ