Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const config: StorybookConfig = {
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@chromatic-com/storybook'
'@chromatic-com/storybook',
],

framework: {
Expand All @@ -17,7 +17,7 @@ const config: StorybookConfig = {
docs: {},

typescript: {
reactDocgen: 'react-docgen-typescript'
}
reactDocgen: 'react-docgen-typescript',
},
};
export default config;
81 changes: 81 additions & 0 deletions __seed__/data/courses.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,15 @@ module.exports = [
2022: { 1: 2, 3: 1 },
},
},
{
courseId: 'CS-6261',
numReviews: 0,
avgWorkload: null,
avgDifficulty: null,
avgOverall: null,
avgStaffSupport: null,
reviewsCountsByYearSem: {},
},
{
courseId: 'CS-6262',
numReviews: 126,
Expand Down Expand Up @@ -289,6 +298,24 @@ module.exports = [
2022: { 1: 7 },
},
},
{
courseId: 'CS-6422',
numReviews: 0,
avgWorkload: null,
avgDifficulty: null,
avgOverall: null,
avgStaffSupport: null,
reviewsCountsByYearSem: {},
},
{
courseId: 'CS-6435',
numReviews: 0,
avgWorkload: null,
avgDifficulty: null,
avgOverall: null,
avgStaffSupport: null,
reviewsCountsByYearSem: {},
},
{
courseId: 'CS-6440',
numReviews: 83,
Expand Down Expand Up @@ -377,6 +404,15 @@ module.exports = [
2022: { 1: 3 },
},
},
{
courseId: 'CS-6491',
numReviews: 0,
avgWorkload: null,
avgDifficulty: null,
avgOverall: null,
avgStaffSupport: null,
reviewsCountsByYearSem: {},
},
{
courseId: 'CS-6515',
numReviews: 270,
Expand Down Expand Up @@ -505,6 +541,15 @@ module.exports = [
avgStaffSupport: null,
reviewsCountsByYearSem: { 2021: { 1: 11, 2: 6, 3: 5 }, 2022: { 1: 2 } },
},
{
courseId: 'CS-7400',
numReviews: 0,
avgWorkload: null,
avgDifficulty: null,
avgOverall: null,
avgStaffSupport: null,
reviewsCountsByYearSem: {},
},
{
courseId: 'CS-7450',
numReviews: 0,
Expand Down Expand Up @@ -766,6 +811,24 @@ module.exports = [
avgStaffSupport: null,
reviewsCountsByYearSem: {},
},
{
courseId: 'CS-8803-O23',
numReviews: 0,
avgWorkload: null,
avgDifficulty: null,
avgOverall: null,
avgStaffSupport: null,
reviewsCountsByYearSem: {},
},
{
courseId: 'CS-8803-O24',
numReviews: 0,
avgWorkload: null,
avgDifficulty: null,
avgOverall: null,
avgStaffSupport: null,
reviewsCountsByYearSem: {},
},
{
courseId: 'CS-8803-OC1',
numReviews: 7,
Expand Down Expand Up @@ -880,6 +943,15 @@ module.exports = [
avgStaffSupport: null,
reviewsCountsByYearSem: { 2020: { 3: 1 }, 2021: { 1: 2, 3: 1 } },
},
{
courseId: 'CSE-8803',
numReviews: 0,
avgWorkload: null,
avgDifficulty: null,
avgOverall: null,
avgStaffSupport: null,
reviewsCountsByYearSem: {},
},
{
courseId: 'ECE-6150',
numReviews: 0,
Expand Down Expand Up @@ -1371,6 +1443,15 @@ module.exports = [
2021: { 1: 3, 3: 2 },
},
},
{
courseId: 'PUBP-8823',
numReviews: 0,
avgWorkload: null,
avgDifficulty: null,
avgOverall: null,
avgStaffSupport: null,
reviewsCountsByYearSem: {},
},
/* IGNORE -- ambiguous departmentId */
// {
// courseId: 'VIP-6600',
Expand Down
50 changes: 20 additions & 30 deletions __seed__/firebase-seed/auth_export/accounts.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,20 @@
"users": [
{
"localId": "0FiDVPmzlZtxd50lZ25FKRVSsTt5",
"createdAt": "1683830986738",
"lastLoginAt": "1683831223979",
"displayName": "George P. Burdell",
"screenName": "test_user_gatech.edu",
"providerUserInfo": [],
"validSince": "1733799157",
"email": "test@gatech.edu",
"emailVerified": true,
"emailLinkSignin": true,
"createdAt": "1683830986738",
"providerUserInfo": [
{
"providerId": "password",
"rawId": "test@gatech.edu",
"federatedId": "test@gatech.edu",
"displayName": "George P. Burdell",
"email": "test@gatech.edu",
"screenName": "test_user_gatech.edu"
}
],
"lastLoginAt": "1683831223979",
"lastRefreshAt": "2023-05-11T18:53:43.979Z"
"disabled": false
},
{
"localId": "YQ6kLcOYSY6wyDwQZWQevlIhQdtP",
"displayName": "Test User Facebook",
"screenName": "test_user_facebook",
"email": "test@facebook.com",
"emailVerified": true,
"createdAt": "1683831153411",
"lastLoginAt": "1683831153411",
"displayName": "Test User Facebook",
"providerUserInfo": [
{
"providerId": "facebook.com",
Expand All @@ -40,16 +27,16 @@
"screenName": "test_user_facebook"
}
],
"lastRefreshAt": "2023-05-11T18:52:33.411Z"
"validSince": "1733799157",
"email": "test@facebook.com",
"emailVerified": true,
"disabled": false
},
{
"localId": "qEV0artwJVIilBljrED2QAYvQodW",
"displayName": "Test User GitHub",
"screenName": "test_user_github",
"email": "test@github.com",
"emailVerified": true,
"createdAt": "1683831251597",
"lastLoginAt": "1683831251598",
"displayName": "Test User GitHub",
"providerUserInfo": [
{
"providerId": "github.com",
Expand All @@ -60,16 +47,16 @@
"screenName": "test_user_github"
}
],
"lastRefreshAt": "2023-05-11T18:54:11.598Z"
"validSince": "1733799157",
"email": "test@github.com",
"emailVerified": true,
"disabled": false
},
{
"localId": "tJBB49IHfW8WNFgS9pSQPMkPwgQp",
"displayName": "Test User Gmail",
"screenName": "test_user_gmail",
"email": "test@gmail.com",
"emailVerified": true,
"createdAt": "1683831115312",
"lastLoginAt": "1683831115312",
"displayName": "Test User Gmail",
"providerUserInfo": [
{
"providerId": "google.com",
Expand All @@ -80,7 +67,10 @@
"screenName": "test_user_gmail"
}
],
"lastRefreshAt": "2023-05-11T18:51:55.313Z"
"validSince": "1733799157",
"email": "test@gmail.com",
"emailVerified": true,
"disabled": false
}
]
}
5 changes: 4 additions & 1 deletion __seed__/firebase-seed/auth_export/config.json
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{ "signIn": { "allowDuplicateEmails": false } }
{
"signIn": { "allowDuplicateEmails": false },
"emailPrivacyConfig": { "enableImprovedEmailPrivacy": false }
}
8 changes: 4 additions & 4 deletions __seed__/firebase-seed/firebase-export-metadata.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"version": "11.21.0",
"version": "13.24.0",
"firestore": {
"version": "1.15.1",
"version": "1.19.8",
"path": "firestore_export",
"metadata_file": "firestore_export/firestore_export.overall_export_metadata"
},
"auth": {
"version": "11.21.0",
"version": "13.24.0",
"path": "auth_export"
},
"storage": {
"version": "11.21.0",
"version": "13.24.0",
"path": "storage_export"
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 9 additions & 0 deletions firebase/utilityFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export const mapCourseToLegacyNumReviews: TMapCourseToLegacyNumReviews = {
'CS-6238': 29,
'CS-6250': 326,
'CS-6260': 39,
'CS-6261': 0,
'CS-6262': 126,
'CS-6263': 74,
'CS-6264': 4,
Expand All @@ -184,12 +185,15 @@ export const mapCourseToLegacyNumReviews: TMapCourseToLegacyNumReviews = {
'CS-6310': 156,
'CS-6340': 136,
'CS-6400': 230,
'CS-6422': 0,
'CS-6435': 0,
'CS-6440': 83,
'CS-6457': 13,
'CS-6460': 89,
'CS-6465': 1,
'CS-6475': 153,
'CS-6476': 162,
'CS-6491': 0,
'CS-6515': 270,
'CS-6601': 236,
'CS-6603': 49,
Expand All @@ -201,6 +205,7 @@ export const mapCourseToLegacyNumReviews: TMapCourseToLegacyNumReviews = {
'CS-6795': 2,
'CS-7210': 31,
'CS-7280': 24,
'CS-7400': 0,
'CS-7450': 0,
'CS-7470': 2,
'CS-7632': 16,
Expand All @@ -223,6 +228,8 @@ export const mapCourseToLegacyNumReviews: TMapCourseToLegacyNumReviews = {
'CS-8803-O17': 0,
'CS-8803-O21': 0,
'CS-8803-O22': 0,
'CS-8803-O23': 0,
'CS-8803-O24': 0,
'CS-8803-OC1': 7,
'CS-8813': 0,
'CSE-6040': 110,
Expand All @@ -232,6 +239,7 @@ export const mapCourseToLegacyNumReviews: TMapCourseToLegacyNumReviews = {
'CSE-6242': 260,
'CSE-6250': 61,
'CSE-6742': 4,
'CSE-8803': 0,
'ECE-6150': 0,
'ECE-6266': 0,
'ECE-6320': 0,
Expand Down Expand Up @@ -277,4 +285,5 @@ export const mapCourseToLegacyNumReviews: TMapCourseToLegacyNumReviews = {
'PUBP-6501': 8,
'PUBP-6502': 3,
'PUBP-6725': 17,
'PUBP-8823': 0,
};
Loading
Loading