Skip to content

Commit f0a3209

Browse files
chore(merge): merge main
2 parents 826bee6 + ee6bf4b commit f0a3209

File tree

15 files changed

+483
-177
lines changed

15 files changed

+483
-177
lines changed

.storybook/main.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const config: StorybookConfig = {
66
'@storybook/addon-links',
77
'@storybook/addon-essentials',
88
'@storybook/addon-interactions',
9-
'@chromatic-com/storybook'
9+
'@chromatic-com/storybook',
1010
],
1111

1212
framework: {
@@ -17,7 +17,7 @@ const config: StorybookConfig = {
1717
docs: {},
1818

1919
typescript: {
20-
reactDocgen: 'react-docgen-typescript'
21-
}
20+
reactDocgen: 'react-docgen-typescript',
21+
},
2222
};
2323
export default config;

__seed__/data/courses.js

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,15 @@ module.exports = [
120120
2022: { 1: 2, 3: 1 },
121121
},
122122
},
123+
{
124+
courseId: 'CS-6261',
125+
numReviews: 0,
126+
avgWorkload: null,
127+
avgDifficulty: null,
128+
avgOverall: null,
129+
avgStaffSupport: null,
130+
reviewsCountsByYearSem: {},
131+
},
123132
{
124133
courseId: 'CS-6262',
125134
numReviews: 126,
@@ -289,6 +298,24 @@ module.exports = [
289298
2022: { 1: 7 },
290299
},
291300
},
301+
{
302+
courseId: 'CS-6422',
303+
numReviews: 0,
304+
avgWorkload: null,
305+
avgDifficulty: null,
306+
avgOverall: null,
307+
avgStaffSupport: null,
308+
reviewsCountsByYearSem: {},
309+
},
310+
{
311+
courseId: 'CS-6435',
312+
numReviews: 0,
313+
avgWorkload: null,
314+
avgDifficulty: null,
315+
avgOverall: null,
316+
avgStaffSupport: null,
317+
reviewsCountsByYearSem: {},
318+
},
292319
{
293320
courseId: 'CS-6440',
294321
numReviews: 83,
@@ -377,6 +404,15 @@ module.exports = [
377404
2022: { 1: 3 },
378405
},
379406
},
407+
{
408+
courseId: 'CS-6491',
409+
numReviews: 0,
410+
avgWorkload: null,
411+
avgDifficulty: null,
412+
avgOverall: null,
413+
avgStaffSupport: null,
414+
reviewsCountsByYearSem: {},
415+
},
380416
{
381417
courseId: 'CS-6515',
382418
numReviews: 270,
@@ -505,6 +541,15 @@ module.exports = [
505541
avgStaffSupport: null,
506542
reviewsCountsByYearSem: { 2021: { 1: 11, 2: 6, 3: 5 }, 2022: { 1: 2 } },
507543
},
544+
{
545+
courseId: 'CS-7400',
546+
numReviews: 0,
547+
avgWorkload: null,
548+
avgDifficulty: null,
549+
avgOverall: null,
550+
avgStaffSupport: null,
551+
reviewsCountsByYearSem: {},
552+
},
508553
{
509554
courseId: 'CS-7450',
510555
numReviews: 0,
@@ -766,6 +811,24 @@ module.exports = [
766811
avgStaffSupport: null,
767812
reviewsCountsByYearSem: {},
768813
},
814+
{
815+
courseId: 'CS-8803-O23',
816+
numReviews: 0,
817+
avgWorkload: null,
818+
avgDifficulty: null,
819+
avgOverall: null,
820+
avgStaffSupport: null,
821+
reviewsCountsByYearSem: {},
822+
},
823+
{
824+
courseId: 'CS-8803-O24',
825+
numReviews: 0,
826+
avgWorkload: null,
827+
avgDifficulty: null,
828+
avgOverall: null,
829+
avgStaffSupport: null,
830+
reviewsCountsByYearSem: {},
831+
},
769832
{
770833
courseId: 'CS-8803-OC1',
771834
numReviews: 7,
@@ -880,6 +943,15 @@ module.exports = [
880943
avgStaffSupport: null,
881944
reviewsCountsByYearSem: { 2020: { 3: 1 }, 2021: { 1: 2, 3: 1 } },
882945
},
946+
{
947+
courseId: 'CSE-8803',
948+
numReviews: 0,
949+
avgWorkload: null,
950+
avgDifficulty: null,
951+
avgOverall: null,
952+
avgStaffSupport: null,
953+
reviewsCountsByYearSem: {},
954+
},
883955
{
884956
courseId: 'ECE-6150',
885957
numReviews: 0,
@@ -1371,6 +1443,15 @@ module.exports = [
13711443
2021: { 1: 3, 3: 2 },
13721444
},
13731445
},
1446+
{
1447+
courseId: 'PUBP-8823',
1448+
numReviews: 0,
1449+
avgWorkload: null,
1450+
avgDifficulty: null,
1451+
avgOverall: null,
1452+
avgStaffSupport: null,
1453+
reviewsCountsByYearSem: {},
1454+
},
13741455
/* IGNORE -- ambiguous departmentId */
13751456
// {
13761457
// courseId: 'VIP-6600',

__seed__/firebase-seed/auth_export/accounts.json

Lines changed: 20 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,20 @@
33
"users": [
44
{
55
"localId": "0FiDVPmzlZtxd50lZ25FKRVSsTt5",
6+
"createdAt": "1683830986738",
7+
"lastLoginAt": "1683831223979",
68
"displayName": "George P. Burdell",
7-
"screenName": "test_user_gatech.edu",
9+
"providerUserInfo": [],
10+
"validSince": "1735600994",
811
"email": "test@gatech.edu",
912
"emailVerified": true,
10-
"emailLinkSignin": true,
11-
"createdAt": "1683830986738",
12-
"providerUserInfo": [
13-
{
14-
"providerId": "password",
15-
"rawId": "test@gatech.edu",
16-
"federatedId": "test@gatech.edu",
17-
"displayName": "George P. Burdell",
18-
"email": "test@gatech.edu",
19-
"screenName": "test_user_gatech.edu"
20-
}
21-
],
22-
"lastLoginAt": "1683831223979",
23-
"lastRefreshAt": "2023-05-11T18:53:43.979Z"
13+
"disabled": false
2414
},
2515
{
2616
"localId": "YQ6kLcOYSY6wyDwQZWQevlIhQdtP",
27-
"displayName": "Test User Facebook",
28-
"screenName": "test_user_facebook",
29-
"email": "test@facebook.com",
30-
"emailVerified": true,
3117
"createdAt": "1683831153411",
3218
"lastLoginAt": "1683831153411",
19+
"displayName": "Test User Facebook",
3320
"providerUserInfo": [
3421
{
3522
"providerId": "facebook.com",
@@ -40,16 +27,16 @@
4027
"screenName": "test_user_facebook"
4128
}
4229
],
43-
"lastRefreshAt": "2023-05-11T18:52:33.411Z"
30+
"validSince": "1735600994",
31+
"email": "test@facebook.com",
32+
"emailVerified": true,
33+
"disabled": false
4434
},
4535
{
4636
"localId": "qEV0artwJVIilBljrED2QAYvQodW",
47-
"displayName": "Test User GitHub",
48-
"screenName": "test_user_github",
49-
"email": "test@github.com",
50-
"emailVerified": true,
5137
"createdAt": "1683831251597",
5238
"lastLoginAt": "1683831251598",
39+
"displayName": "Test User GitHub",
5340
"providerUserInfo": [
5441
{
5542
"providerId": "github.com",
@@ -60,16 +47,16 @@
6047
"screenName": "test_user_github"
6148
}
6249
],
63-
"lastRefreshAt": "2023-05-11T18:54:11.598Z"
50+
"validSince": "1735600994",
51+
"email": "test@github.com",
52+
"emailVerified": true,
53+
"disabled": false
6454
},
6555
{
6656
"localId": "tJBB49IHfW8WNFgS9pSQPMkPwgQp",
67-
"displayName": "Test User Gmail",
68-
"screenName": "test_user_gmail",
69-
"email": "test@gmail.com",
70-
"emailVerified": true,
7157
"createdAt": "1683831115312",
7258
"lastLoginAt": "1683831115312",
59+
"displayName": "Test User Gmail",
7360
"providerUserInfo": [
7461
{
7562
"providerId": "google.com",
@@ -80,7 +67,10 @@
8067
"screenName": "test_user_gmail"
8168
}
8269
],
83-
"lastRefreshAt": "2023-05-11T18:51:55.313Z"
70+
"validSince": "1735600994",
71+
"email": "test@gmail.com",
72+
"emailVerified": true,
73+
"disabled": false
8474
}
8575
]
8676
}
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
{ "signIn": { "allowDuplicateEmails": false } }
1+
{
2+
"signIn": { "allowDuplicateEmails": false },
3+
"emailPrivacyConfig": { "enableImprovedEmailPrivacy": false }
4+
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"version": "11.21.0",
2+
"version": "13.24.0",
33
"firestore": {
4-
"version": "1.15.1",
4+
"version": "1.19.8",
55
"path": "firestore_export",
66
"metadata_file": "firestore_export/firestore_export.overall_export_metadata"
77
},
88
"auth": {
9-
"version": "11.21.0",
9+
"version": "13.24.0",
1010
"path": "auth_export"
1111
},
1212
"storage": {
13-
"version": "11.21.0",
13+
"version": "13.24.0",
1414
"path": "storage_export"
1515
}
1616
}
0 Bytes
Binary file not shown.
212 KB
Binary file not shown.
-233 KB
Binary file not shown.
0 Bytes
Binary file not shown.

firebase/utilityFunctions.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ export const mapCourseToLegacyNumReviews: TMapCourseToLegacyNumReviews = {
173173
'CS-6238': 29,
174174
'CS-6250': 326,
175175
'CS-6260': 39,
176+
'CS-6261': 0,
176177
'CS-6262': 126,
177178
'CS-6263': 74,
178179
'CS-6264': 4,
@@ -184,12 +185,15 @@ export const mapCourseToLegacyNumReviews: TMapCourseToLegacyNumReviews = {
184185
'CS-6310': 156,
185186
'CS-6340': 136,
186187
'CS-6400': 230,
188+
'CS-6422': 0,
189+
'CS-6435': 0,
187190
'CS-6440': 83,
188191
'CS-6457': 13,
189192
'CS-6460': 89,
190193
'CS-6465': 1,
191194
'CS-6475': 153,
192195
'CS-6476': 162,
196+
'CS-6491': 0,
193197
'CS-6515': 270,
194198
'CS-6601': 236,
195199
'CS-6603': 49,
@@ -201,6 +205,7 @@ export const mapCourseToLegacyNumReviews: TMapCourseToLegacyNumReviews = {
201205
'CS-6795': 2,
202206
'CS-7210': 31,
203207
'CS-7280': 24,
208+
'CS-7400': 0,
204209
'CS-7450': 0,
205210
'CS-7470': 2,
206211
'CS-7632': 16,
@@ -223,6 +228,8 @@ export const mapCourseToLegacyNumReviews: TMapCourseToLegacyNumReviews = {
223228
'CS-8803-O17': 0,
224229
'CS-8803-O21': 0,
225230
'CS-8803-O22': 0,
231+
'CS-8803-O23': 0,
232+
'CS-8803-O24': 0,
226233
'CS-8803-OC1': 7,
227234
'CS-8813': 0,
228235
'CSE-6040': 110,
@@ -232,6 +239,7 @@ export const mapCourseToLegacyNumReviews: TMapCourseToLegacyNumReviews = {
232239
'CSE-6242': 260,
233240
'CSE-6250': 61,
234241
'CSE-6742': 4,
242+
'CSE-8803': 0,
235243
'ECE-6150': 0,
236244
'ECE-6266': 0,
237245
'ECE-6320': 0,
@@ -277,4 +285,5 @@ export const mapCourseToLegacyNumReviews: TMapCourseToLegacyNumReviews = {
277285
'PUBP-6501': 8,
278286
'PUBP-6502': 3,
279287
'PUBP-6725': 17,
288+
'PUBP-8823': 0,
280289
};

0 commit comments

Comments
 (0)