Skip to content

Commit

Permalink
Updated bios
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Lee committed Jan 29, 2024
1 parent 077dae3 commit 8c4f237
Show file tree
Hide file tree
Showing 20 changed files with 1,212 additions and 1,819 deletions.
6 changes: 3 additions & 3 deletions scripts/generate_bios_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import csv
import json

CURR_SEMESTER = "fa23" # CHANGE ME
CURR_SEMESTER = "sp24" # CHANGE ME

BIOS_PATH = "./csvs/bios.csv"
ROSTER_PATH = "./csvs/roster.csv"
Expand All @@ -31,11 +31,11 @@ class Cols:
EMAIL = "Berkeley Email"
NAME = "Name"
ROLE = "For which position are you accepting/rejecting?"
COURSE = "COURSE"
COURSE = "Which course are you accepting for? "
PRONOUNS = "Pronouns"
PREF_NAME = "Preferred Name"
IMG_URL = "Photo"
BIO = "Biography"
BIO = "Biography (300 character limit)"
WEB_URL = "(Optional) Website"

# This string in the course means we should skip them and move on with life
Expand Down
231 changes: 148 additions & 83 deletions src/data/bios/exec.json

Large diffs are not rendered by default.

2,578 changes: 863 additions & 1,715 deletions src/data/bios/mentors.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/data/team/fa17.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"name": "Joy Tang",
"img": "joy.jpg",
"position": "Communications"
"position": "Communications Chair"
},
{
"name": "James Jiang",
Expand Down
2 changes: 1 addition & 1 deletion src/data/team/fa18.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"name": "Yiling Kao",
"img": "yiling-kao-square.jpg",
"position": "Communications"
"position": "Communications Chair"
},
{
"name": "Matthew Soh",
Expand Down
2 changes: 1 addition & 1 deletion src/data/team/fa19.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"name": "Danny Chu",
"imgUrl": "",
"position": "Communications"
"position": "Communications Chair"
},
{
"name": "Katherine Liu",
Expand Down
2 changes: 1 addition & 1 deletion src/data/team/fa20.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"name": "Richard Roggenkemper",
"imgUrl": "https://drive.google.com/open?id=10B0T0DvdDCmQYLvjNgBZcBWBKE3tjkFm",
"position": "Communications"
"position": "Communications Chair"
},
{
"name": "Albert Tang",
Expand Down
2 changes: 1 addition & 1 deletion src/data/team/fa21.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{
"name": "Kaitlyn Lee",
"imgUrl": "https://drive.google.com/open?id=1oaU1KSH_7wI6ijmySIyAmUP80WYqM0lm",
"position": "Communications",
"position": "Communications Chair",
"pronouns": "she/her/hers"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/data/team/fa22.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
{
"name": "Aymeric Barrier",
"imgUrl": "https://drive.google.com/open?id=1PGDafpa5rmVW9h4TBAMy9o9giU0Kfia5",
"position": "Communications",
"position": "Communications Chair",
"pronouns": "He/Him/His"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/data/team/fa23.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{
"name": "Vy Ho",
"imgUrl": "",
"position": "Communications",
"position": "Communications Chair",
"pronouns": ""
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/data/team/sp18.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"name": "Joy Tang",
"img": "joy-exec.jpg",
"position": "Communications"
"position": "Communications Chair"
},
{
"name": "James Jiang",
Expand Down
2 changes: 1 addition & 1 deletion src/data/team/sp19.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"name": "Yiling Kao",
"img": "yiling-kao-square.jpg",
"position": "Communications"
"position": "Communications Chair"
},
{
"name": "Jose Chavez",
Expand Down
2 changes: 1 addition & 1 deletion src/data/team/sp20.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"name": "Taejin Hwang",
"imgUrl": "https://drive.google.com/open?id=1LWq0PFllMQHzPjUjyvTKl8e_K1SE8BgD",
"position": "Communications"
"position": "Communications Chair"
},
{
"name": "Katherine Liu",
Expand Down
2 changes: 1 addition & 1 deletion src/data/team/sp21.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
"name": "Kaitlyn Lee",
"imgUrl": "https://drive.google.com/open?id=1aF7UAwv1dW7WYXLJy43dJV9IZiLxO7IR",
"position": "Communications",
"position": "Communications Chair",
"pronouns": ""
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/data/team/sp22.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
{
"name": "Simon Tsui",
"imgUrl": "https://drive.google.com/open?id=1cgxRr-YxhzX3k3gY70dnn0OxIVwRMgb4",
"position": "Communications",
"position": "Communications Chair",
"pronouns": "he/him/his"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/data/team/sp23.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
{
"name": "Aymeric Barrier",
"imgUrl": "https://drive.google.com/open?id=176_VR0k9GwuQESdUbSjGRiF0R6UG-bo4",
"position": "Communications"
"position": "Communications Chair"
},
{
"name": "Abby Brooks Ramirez",
Expand Down
175 changes: 175 additions & 0 deletions src/data/team/sp24.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
[
{
"name": "Viraj Ramakrishnan",
"imgUrl": "",
"position": "President",
"pronouns": ""
},
{
"name": "Gabe Classon",
"imgUrl": "https://drive.google.com/open?id=1zVkx9O-m-7ucNyBo5SFU6CY1zMPzcVwM",
"position": "Internal Vice President",
"pronouns": "he/him"
},
{
"name": "Caroline Wu",
"imgUrl": "https://drive.google.com/open?id=1yim1tQT_OSgSpfQTRSBPzSkS__tRzkGh",
"position": "External Vice President",
"pronouns": "she/her"
},
{
"name": "Saloni Agarwal",
"imgUrl": "https://drive.google.com/open?id=1zVHyd-1jb_q5QySiUUa8lbgToH0hMFR3",
"position": "61A Coord",
"pronouns": "she/her"
},
{
"name": "Aurelia Wang",
"imgUrl": "https://drive.google.com/open?id=1R1VlBrNd_nyy3yrHMRi8EKje6q99EWet",
"position": "61A Coord",
"pronouns": "she/her/hers"
},
{
"name": "Anya Agarwal",
"imgUrl": "https://drive.google.com/open?id=1tBemLeXAW7w1RwOJB0ghX4HorYOZQfMj",
"position": "88 Coord",
"pronouns": "she/her"
},
{
"name": "Christine Zhang",
"imgUrl": "https://drive.google.com/open?id=1qmqNcYKnBzwrSRazCkY9_NHAFrfauFeW",
"position": "88 Coord",
"pronouns": "she/her"
},
{
"name": "Nehal Sindhu",
"imgUrl": "https://drive.google.com/open?id=108OCGY-0KHU3bY7TysjW4VEt-WIoKySp",
"position": "61B Coord",
"pronouns": "she/her"
},
{
"name": "Noemi Chulo",
"imgUrl": "",
"position": "61B Coord"
},
{
"name": "Ekansh Agrawal",
"imgUrl": "",
"position": "61C Coord"
},
{
"name": "Andy Chen",
"imgUrl": "",
"position": "61C Coord"
},
{
"name": "Samantha Huang",
"imgUrl": "https://drive.google.com/open?id=1ZgJIMAeVcrwp9IlBNQHbJpXTFkqCyua5",
"position": "70 Coord",
"pronouns": "she/her/hers"
},
{
"name": "Thomas Chen",
"imgUrl": "",
"position": "70 Coord",
"pronouns": "He/Him"
},
{
"name": "SooHyuk Cho",
"imgUrl": "https://drive.google.com/open?id=1MM5ay5WZy0v8ieUVMQBxOvosiqdkPkCZ",
"position": "16A Coord",
"pronouns": "he/him"
},
{
"name": "Brandon Huang",
"imgUrl": "https://drive.google.com/open?id=11t2aaSxKMkKQoQJ2d95_WB9lUTLd4Itc",
"position": "16A Coord",
"pronouns": "he series"
},
{
"name": "Olivia Huang",
"imgUrl": "https://drive.google.com/open?id=1bhqIRYQukbtLoE6d47sWULAT-k2vbA4u",
"position": "16B Coord",
"pronouns": "she/her"
},
{
"name": "Jessica Fan",
"imgUrl": "",
"position": "16B Coord"
},
{
"name": "Yale Han",
"imgUrl": "https://drive.google.com/open?id=12bzIdD57DruDWZ2PvfgxTDw7naJxza-F",
"position": "DE&I Chair",
"pronouns": "she/her"
},
{
"name": "Elisa Kim",
"imgUrl": "",
"position": "DE&I Chair"
},
{
"name": "Esther Shen",
"imgUrl": "",
"position": "Media Chair"
},
{
"name": "Jacob Taegon Kim",
"imgUrl": "",
"position": "Tech Chair"
},
{
"name": "Edward Lee",
"imgUrl": "",
"position": "Tech Chair"
},
{
"name": "Vy Ho",
"imgUrl": "",
"position": "Communications Chair",
"pronouns": ""
},
{
"name": "Alyssa Smith",
"imgUrl": "",
"position": "Socials Chair"
},
{
"name": "Alec Li",
"imgUrl": "",
"position": "Advisor"
},
{
"name": "Abigail Brooks-Ramirez",
"imgUrl": "",
"position": "Advisor"
},
{
"name": "Suchir Agarwal",
"imgUrl": "",
"position": "Advisor"
},
{
"name": "Rebecca Dang",
"imgUrl": "https://drive.google.com/open?id=1IjNFg3WvTbMQBRbH9iITu4N5N-ww43L5",
"position": "Advisor",
"pronouns": "she/her"
},
{
"name": "Vibha Tantry",
"imgUrl": "https://drive.google.com/open?id=1Q3ccPda82BJvX1NWm4-WsJTTDenRrSoG",
"position": "Advisor",
"pronouns": "she/her"
},
{
"name": "Pranav Muralikrishnan",
"imgUrl": "",
"position": "Advisor"
},
{
"name": "Janani Sriram",
"imgUrl": "https://drive.google.com/open?id=1B1l8q9MvX7ve_f-pZKk7vAmi8a9creyj",
"position": "Advisor",
"pronouns": "she/her"
}
]
2 changes: 1 addition & 1 deletion src/labels/TeamLabels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const dutyDict: { [role: string]: string } = {
"Acts as ASUC/ESC liasion, drafts CSM budget, in charge of fundraisers, branding, and marketing.",
"External Vice President":
"Organizes outreach to companies, manages social media, also helps with branding and marketing.",
Communications:
"Communications Chair":
"Manages CSM email lists, drafts and sends feedback forms, newsletters, and emails, manages " +
"CSM apparel.",
Coord:
Expand Down
6 changes: 5 additions & 1 deletion src/pages/Team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ import sp22 from "../data/team/sp22.json";
import fa22 from "../data/team/fa22.json";
import sp23 from "../data/team/sp23.json";
import fa23 from "../data/team/fa23.json";
import sp24 from "../data/team/sp24.json";

import { duties } from "../labels/TeamLabels";
import * as utils from "./utils";

const CURRENT_SEM = "fa23";
const CURRENT_SEM = "sp24";
// TODO display older of these in a dropdown maybe?
const SEMESTERS = [
"fa17",
Expand All @@ -37,6 +38,7 @@ const SEMESTERS = [
"fa22",
"sp23",
"fa23",
"sp24",
].slice(-4);

interface NewOfficer {
Expand Down Expand Up @@ -89,6 +91,8 @@ function getOfficerTeamFromSemStr(semester: string): Officer[] {
return sp23.map(newDiscriminator);
case "fa23":
return fa23.map(newDiscriminator);
case "sp24":
return sp24.map(newDiscriminator);
default:
throw new Error(`Bad semester provided: ${semester}`);
}
Expand Down
7 changes: 4 additions & 3 deletions src/pages/utils.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/**
* Returns a URL for a Google Drive image that can be embedded in an img tag.
* The argument should be a URL of the form
* https://drive.google.com/open?id=[id]
* See https://stackoverflow.com/questions/10311092/
* https://drive.google.com/thumbnail?id=[id]&sz=w240
* Old StackOverflow (new 2024 CORS update): https://stackoverflow.com/q/10311092/
* New StackOverflow: https://stackoverflow.com/q/77803187/
*/
export function getEmbeddableDriveImageLink(url?: string): string {
if (!url) {
Expand All @@ -13,5 +14,5 @@ export function getEmbeddableDriveImageLink(url?: string): string {
return "ERROR-too-few-chunks";
}
let id = chunks[1];
return `https://docs.google.com/uc?id=${id}`;
return `https://drive.google.com/thumbnail?id=${id}&sz=w240`;
}

0 comments on commit 8c4f237

Please sign in to comment.