Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beta Majors! #739

Merged
merged 11 commits into from
Apr 15, 2024
Merged

Beta Majors! #739

merged 11 commits into from
Apr 15, 2024

Conversation

AlpacaFur
Copy link
Member

@AlpacaFur AlpacaFur commented Apr 15, 2024

Description

This PR adds a few beta majors to graduate + adapts the major loading infrastructure to dynamically load majors based on presence in the relevant folders.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Manual tests to ensure majors are being piped through properly.

Checklist:

  • I have run the production builds in docker for the frontend/backend and ensure things run fine. Check README of repo on how to run if not sure.
  • I have performed a self-review of my own code
  • I have commented my code where needed
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I've run the end to end tests
  • Any dependent changes have been merged and published in downstream modules

Copy link

vercel bot commented Apr 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
graduatenu-frontend-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2024 9:00pm

Copy link
Contributor

@BrandonLim8890 BrandonLim8890 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Biggest PR i've ever seen so cracked im so excited

}

// TODO: this code is quick and dirty but works. this should be replaced with some dry-er code later.
async function collateMajors() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My brain is slow but from what it looks like, we run through each year, each college and add all the majors. initial.json is our initial scrape and commit.json is the hand validated stuff?

If this is the case I can update this with comments/put it in our notion somewhere for knowledge transfer.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call! Added some comments to the function.

@AlpacaFur AlpacaFur merged commit 825b733 into main Apr 15, 2024
6 of 7 checks passed
@AlpacaFur AlpacaFur deleted the luke/majors-wip branch April 15, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants