-
Notifications
You must be signed in to change notification settings - Fork 10
WIP: implement quality-of-life changes for pre-enroll #995
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
base: main
Are you sure you want to change the base?
Conversation
[diff-counting] Significant lines: 64. |
Visit the preview URL for this PR (updated for commit 9521050): https://cornelldti-courseplan-dev--pr995-qol-changes-preenrol-5kc7oo53.web.app (expires Wed, 14 May 2025 06:12:33 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 6d4e0437c4559ed895272bbd63991394f1e0e933 |
…olor collision there probably is a better approach, but this is what i've come up with so far
:style="{ | ||
background: `#${Math.floor(Math.random() * 0xffffff) | ||
.toString(16) | ||
.padEnd(6, '0')}`, | ||
}" |
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.
@cornell-dti/course-plan What do you think of this approach to ensure that no two tabs have the same color? It seems pretty questionable to me, but this is the best approach I could come up with for now.
I think this was mentioned in Clemént's design audit for accessibility reasons
See https://cornelldti.slack.com/archives/C05QHNY8TKL/p1744242627568859
Thanks @ambers7!
TODO:
RequirementFulfillmentGraph.getConnectedRequirementsFromCourse()
to add the requirement(s) a course satisfies to its course card in the semester plan