Skip to content

Commit

Permalink
Merge pull request #780 from sandboxnu/775-fix-wording-changes-for-tr…
Browse files Browse the repository at this point in the history
…ansfer-courses-section-now-overriden-courses

Update Transfer Course Text to Overriden Course Text
  • Loading branch information
KobeZ123 authored Dec 4, 2024
2 parents d3d7d58 + db26132 commit 2699689
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/frontend/components/Plan/TransferCourses.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ interface TransferCoursesToggleProps {
year: number;
}

/**
* This component is responsible for displaying the student's transfer courses,
* but the UI text displays it as "Overriden Courses" for purpose clarity.
*/
export const TransferCourses: React.FC<TransferCoursesToggleProps> = ({
isExpanded,
toggleExpanded,
Expand Down Expand Up @@ -155,7 +159,7 @@ const TransferCoursesBody: React.FC<TransferCoursesBodyProps> = ({
season={SeasonEnum.FL}
catalogYear={year}
isOpen={isOpen}
addTo="Transfer Courses"
addTo="Overriden Courses"
closeModalDisplay={onClose}
addSelectedClasses={addTransferCourses}
isCourseAlreadyAdded={isTransferCoursesAlreadyAdded}
Expand Down Expand Up @@ -210,7 +214,7 @@ const TransferCoursesHeader: React.FC<TransferCoursesHeaderProps> = ({
<Flex flexDirection="column">
<Flex alignItems="center" columnGap="2xs">
<Text color="primary.blue.dark.main" fontWeight="bold">
Your Transfer Courses
Your Overriden Courses
</Text>
<HelperToolTip label={transferCoursesHelperText} />
</Flex>
Expand Down

0 comments on commit 2699689

Please sign in to comment.