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

Fix name/credit hours for special courses #190

Merged
merged 4 commits into from
Sep 18, 2024

Conversation

egsch
Copy link
Contributor

@egsch egsch commented Sep 17, 2024

Overview

Resolves #183, also resolves #173.

What Changed

In CourseOverview.tsx, I replaced the course name we get from the Nebula API with one parsed from the course description. I did the same with credit hours only when the course has variable credit hours. I replaced our parsing technique to use some simple regex that accounts for a variable number of credit hours.

Other Notes

We still might need some further testing to make sure none of our other course names/descriptions were affected by this. The special courses listed in the issue all have the correct name now, and other random courses seem to be working correctly.

Copy link

vercel bot commented Sep 17, 2024

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

Name Status Preview Comments Updated (UTC)
utd-trends ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 17, 2024 6:53pm

Copy link
Contributor

@AbhiramTadepalli AbhiramTadepalli left a comment

Choose a reason for hiding this comment

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

Wow so good!

@AbhiramTadepalli
Copy link
Contributor

Great job @egsch

@AbhiramTadepalli AbhiramTadepalli merged commit ab935d6 into develop Sep 18, 2024
3 checks passed
@AbhiramTadepalli AbhiramTadepalli deleted the 183-bug-incorrect-name-special-courses branch September 18, 2024 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants