-
Notifications
You must be signed in to change notification settings - Fork 4
Gpa search #1114
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
Gpa search #1114
Conversation
@brianlogic a slider is more intuitive. |
thanks for the good commenting on the pr/in the code! |
…ering in models.py for avg gpa
const gpaInputMobile = document.getElementById('gpa-input-compact'); | ||
const gpaSliderMobile = document.getElementById('gpa-slider-compact'); | ||
const hiddenGpaInput = document.getElementById('min_gpa'); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should not be this much repeated logic for the desktop and mobile versions. I think it makes more sense to just hide filters on mobile view.
this.value = parts[0] + '.' + parts.slice(1).join(''); | ||
} | ||
}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are there 3 of the same thing
GitHub Issues addressed
What I did
-Implemented minimum gpa input where users can enter value or user a slider
HTML block
Desktop / Mobile Handling HTML
Javascript block
Screenshots
Original:
With dropdown

Testing
Tests show which filters are active and courses returned. Screenshot of course and average gpa provided.
Questions/Discussions/Notes