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

Add ability to adjust credits in special classes #264

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

skapoor68
Copy link

Summary

Resolves #263.

This allows users to adjust credits for special classes with overridable credit hours. A CreditSlider component is added to Courses whose credits can be adjusted. Adjusted credits are saved in local storage and accessed through the schedule context. MUI is used for the slider. The added tooltips, icon, and slider are styled to be consistent with the existing UI.

How to Test

Add any course with a variable number of credits (CS 4699 for example). Click the pencil icon next to the number of credits and use the slider the to adjust the number of credits. Changes will be reflected in the Course and Header components. A video of functionality is below:

adjust_credits_demo.mp4

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.

Adjust credits for special courses
1 participant