From f83e012d62e268d95dce19a30e54e34f3779142b Mon Sep 17 00:00:00 2001 From: Derek Chen Date: Sat, 24 Aug 2024 19:34:09 -0500 Subject: [PATCH 1/4] feat: link to your registered courses (#228) --- src/views/components/calendar/ImportantLinks.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/components/calendar/ImportantLinks.tsx b/src/views/components/calendar/ImportantLinks.tsx index b06d309f..7365ec20 100644 --- a/src/views/components/calendar/ImportantLinks.tsx +++ b/src/views/components/calendar/ImportantLinks.tsx @@ -38,6 +38,10 @@ const links: LinkItem[] = [ text: 'Degree Audit', url: 'https://utdirect.utexas.edu/apps/degree/audits/', }, + { + text: 'My Registered Courses', + url: 'https://utdirect.utexas.edu/registration/classlist.WBX', + }, ]; /** From 438c82bfb5db0f570b261d15368a05447939b0fb Mon Sep 17 00:00:00 2001 From: Derek Chen Date: Sat, 28 Sep 2024 21:19:33 -0500 Subject: [PATCH 2/4] feat: aesthetically pleasing squishier course blocks when compressed (#232) --- src/views/components/calendar/CalendarCourseCell.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/components/calendar/CalendarCourseCell.tsx b/src/views/components/calendar/CalendarCourseCell.tsx index 7011f21a..8c370f73 100644 --- a/src/views/components/calendar/CalendarCourseCell.tsx +++ b/src/views/components/calendar/CalendarCourseCell.tsx @@ -53,6 +53,7 @@ export default function CalendarCourseCell({ // text-white or text-black based on secondaryColor const fontColor = pickFontColor(colors.primaryColor); + // Note that overflow-hidden is the duct tape holding this all together return (
From be87e4181430e0df41683be5c9d0a1ce992b2c61 Mon Sep 17 00:00:00 2001 From: Derek Chen Date: Sat, 28 Sep 2024 22:21:16 -0500 Subject: [PATCH 3/4] feat: one single exclamation mark did all that (#235) --- src/views/components/calendar/CalendarCourseCell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/components/calendar/CalendarCourseCell.tsx b/src/views/components/calendar/CalendarCourseCell.tsx index 8c370f73..807df9b4 100644 --- a/src/views/components/calendar/CalendarCourseCell.tsx +++ b/src/views/components/calendar/CalendarCourseCell.tsx @@ -79,7 +79,7 @@ export default function CalendarCourseCell({ Date: Sat, 28 Sep 2024 23:05:52 -0500 Subject: [PATCH 4/4] feat: temporary removal of waitlist etc (#236) --- .../components/calendar/CalendarCourseCell.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/components/calendar/CalendarCourseCell.tsx b/src/views/components/calendar/CalendarCourseCell.tsx index 807df9b4..d038f233 100644 --- a/src/views/components/calendar/CalendarCourseCell.tsx +++ b/src/views/components/calendar/CalendarCourseCell.tsx @@ -43,13 +43,13 @@ export default function CalendarCourseCell({ onClick, }: CalendarCourseCellProps): JSX.Element { let rightIcon: React.ReactNode | null = null; - if (status === Status.WAITLISTED) { - rightIcon = ; - } else if (status === Status.CLOSED) { - rightIcon = ; - } else if (status === Status.CANCELLED) { - rightIcon = ; - } + // if (status === Status.WAITLISTED) { + // rightIcon = ; + // } else if (status === Status.CLOSED) { + // rightIcon = ; + // } else if (status === Status.CANCELLED) { + // rightIcon = ; + // } // text-white or text-black based on secondaryColor const fontColor = pickFontColor(colors.primaryColor);