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

Replace API request using Trends backend #50

Merged
merged 5 commits into from
Feb 22, 2024
Merged

Conversation

TyHil
Copy link
Member

@TyHil TyHil commented Dec 30, 2023

Resolves #48, #37, #28

Makes call to nebula API via trends.utdnebula.com/api instead of api.utdnebula.com to conceal API key.
Removes API key from config. We should consider removing the API key from the git history with something like git filter-branch --tree-filter "sed -i 's/EM~eW}G<}4qx41fp{H=I]OZ5MF6T:1x{<GF:~v</API_KEY/' src\data\config.ts" --all and a force push
Reformats API calls to all go at once instead of one at a time, should speed up Skedge.

A few small things added along the way:
Adds titles to define RMP, DIFF, and WTA as Overall Quality, Level of Difficulty, and Would take again.
Adds a link to Trends in professor profiles, moves the link to RMP alongside the Trends one at the bottom of the page.

@Jake3231
Copy link
Contributor

@iamwood Do you think this is worth breaking up into smaller PR's. I think it's probably fine, but is a large change.

@TyHil TyHil changed the base branch from main to develop January 27, 2024 06:28
@TyHil TyHil changed the base branch from develop to main February 8, 2024 00:59
@TyHil TyHil changed the base branch from main to develop February 8, 2024 01:00
Copy link

@iamwood iamwood left a comment

Choose a reason for hiding this comment

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

LGTM

@TyHil TyHil merged commit be427f8 into develop Feb 22, 2024
1 check passed
@TyHil TyHil deleted the replace-api-request branch February 22, 2024 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants