feat: rework start time to checkboxes (#553)

* feat: replace dropdown with checkbox

* refactor: remove console logs

* refactor: eslint happy

* refactor: change daysValue from string to array

* style: match course schedule page styling

* style: remove label font-normal

* style: finalize course schedule page style match

---------

Co-authored-by: Samuel Gunter <29130894+Samathingamajig@users.noreply.github.com>
This commit is contained in:
beastgwert
2025-03-15 22:37:51 -05:00
committed by GitHub
parent 9448072112
commit ca734dcd39
3 changed files with 96 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ export const SiteSupport = {
MY_CALENDAR: 'MY_CALENDAR',
REPORT_ISSUE: 'REPORT_ISSUE',
MY_UT: 'MY_UT',
COURSE_CATALOG_SEARCH: 'COURSE_CATALOG_SEARCH',
CLASSLIST: 'CLASSLIST',
} as const;
@@ -45,6 +46,7 @@ export default function getSiteSupport(url: string): SiteSupportType | null {
if (document.querySelector('#details')) {
return SiteSupport.COURSE_CATALOG_DETAILS;
}
return SiteSupport.COURSE_CATALOG_SEARCH;
}
if (url.includes('utdirect.utexas.edu') && (url.includes('waitlist') || url.includes('classlist'))) {
return SiteSupport.WAITLIST;