Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
[diff-counting] Significant lines: 135. |
mshi-27
left a comment
There was a problem hiding this comment.
Hi Eva! Great work on updating the coffee chat info, the prod database looks correctly updated. Overall, the updated parsing, latest-response handling, member lookup, and category validation all look good!
One small documentation follow-up: I think we should note in the IDOL documentation or as a comment in this file that this is a one-time migration script and is not part of the normal workflow, since coffee chat categories can now be submitted directly through IDOL.
Summary
Adjusted logic in backend/scripts/populate-coffee-chat-categories.ts to fit the current semester's Google Form configuration.
Ran the script, all newbies' coffee chat category submissions are in the prod firebase now.
Changed the script settings back to test mode for the future.
Hopefully won't have to ever run this script again because there's now a feature directly on IDOL to submit coffee chat categories, so this is a one-time fix. In case we run into issues wanted to push those changes.
The "skip members" check runs against the
membersdocument instead of theapproved-membersdocument now.Manually cleaned up the Google Form CSV for any unapproved members.
Test Plan
Check the firestore to see that the script ran properly