Skip to content

Release 0.55.5#2982

Merged
odlbot merged 2 commits intoreleasefrom
release-candidate
Feb 25, 2026
Merged

Release 0.55.5#2982
odlbot merged 2 commits intoreleasefrom
release-candidate

Conversation

@odlbot
Copy link
Contributor

@odlbot odlbot commented Feb 24, 2026

Carey P Gumaer

gumaerc and others added 2 commits February 24, 2026 16:45
* update mitxonline-api-axios

* Refactor DashboardCard to simplify its structure and add B2C enrollment through CourseEnrollmentDialog

* missed adding a query

* upgrade api package again

* use the useCreateEnrollment hook when the user has a verified program enrollment

* remove unused query

* simplify b2bContractId assignment

* refactor DashboardCard to use resource directly and avoid normalizing the data

* remove unnecessary usage of useRouter

* remove redundant conditions

* simplify more conditionals

* hasEnrolled is the equivalent of isCourseRunEnrollment

* make course non-optional

* simplify titleHref conditional assignment

* rename programRunId to be programCourseRunId

* change the order of decisions in enrollmentHandler

* throw a console warning if readableid or href are missing from enroll callback

* enrollmentStatus can now be required

* adjust warn and early return on missing href to prevent blocking dialog
@odlbot odlbot merged commit 88af8ff into release Feb 25, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants