Skip to content

Commit

Permalink
feat: Upgrade button component implementation (#1114)
Browse files Browse the repository at this point in the history
  • Loading branch information
brobro10000 authored Jul 22, 2024
1 parent c0c328a commit ffeea85
Show file tree
Hide file tree
Showing 18 changed files with 430 additions and 246 deletions.
1 change: 1 addition & 0 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ LEARNING_TYPE_FACET='true'
LEARNER_SUPPORT_URL='https://support.edx.org/hc/en-us'
LEARNER_SUPPORT_SPEND_ENROLLMENT_LIMITS_URL='http://edx.org'
LEARNER_SUPPORT_ABOUT_DEACTIVATION_URL='http://edx.org'
LEARNER_SUPPORT_PACED_COURSE_MODE_URL='http://edx.org'
FEATURE_ENABLE_PATHWAYS='true'
FEATURE_ENABLE_COURSE_REVIEW=''
FEATURE_ENROLL_WITH_ENTERPRISE_OFFERS='true'
Expand Down
1 change: 1 addition & 0 deletions .env.development-stage
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ LEARNING_TYPE_FACET='true'
LEARNER_SUPPORT_URL='https://support.edx.org/hc/en-us'
LEARNER_SUPPORT_SPEND_ENROLLMENT_LIMITS_URL='http://edx.org'
LEARNER_SUPPORT_ABOUT_DEACTIVATION_URL='http://edx.org'
LEARNER_SUPPORT_PACED_COURSE_MODE_URL='http://edx.org'
FEATURE_ENABLE_PATHWAYS='true'
FEATURE_ENABLE_COURSE_REVIEW=''
FEATURE_ENROLL_WITH_ENTERPRISE_OFFERS='true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import { Bubble, Collapsible, Skeleton } from '@openedx/paragon';
import { v4 as uuidv4 } from 'uuid';

import {
InProgressCourseCard,
UpcomingCourseCard,
AssignedCourseCard,
CompletedCourseCard,
SavedForLaterCourseCard,
InProgressCourseCard,
RequestedCourseCard,
AssignedCourseCard,
SavedForLaterCourseCard,
UpcomingCourseCard,
} from './course-cards';

import { COURSE_STATUSES } from '../../../../constants';
Expand Down Expand Up @@ -140,8 +140,10 @@ const CourseSection = ({
onClose={() => handleCollapsibleToggle(false)}
defaultOpen
>
{getFormattedOptionalSubtitle()}
{renderCourseCards()}
<div className="my-n2">
{getFormattedOptionalSubtitle()}
{renderCourseCards()}
</div>
</Collapsible>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const AssignedCourseCard = (props) => {
hasViewCertificateLink={false}
canUnenroll={false}
externalCourseLink={false}
isCourseAssigned
{...props}
/>
);
Expand Down
Loading

0 comments on commit ffeea85

Please sign in to comment.