-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: Remove unused feature flag #209
feat!: Remove unused feature flag #209
Conversation
[APER-2922] This PR removes the `USE_LR_MFE` feature flag. This feature flag was initially added to redirect learners back to the legacy frontend in Credentials when viewing a Program Record. This was so we could release the Learner Record MFE in phases while we were implementing the design. Now that the legacy frontend has been removed from Credentials, this functionality and feature flag is no longer needed.
dfa7734
to
48ca308
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #209 +/- ##
==========================================
+ Coverage 69.60% 70.22% +0.61%
==========================================
Files 27 27
Lines 408 403 -5
Branches 90 85 -5
==========================================
- Hits 284 283 -1
+ Misses 123 119 -4
Partials 1 1
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assuming that the one who moved block for verifiable credentials is moved for a reason,this looks good to me.
path={ROUTES.PROGRAM_RECORD_ITEM} | ||
element={<AuthenticatedPageRoute><ProgramRecord isPublic={false} /></AuthenticatedPageRoute>} | ||
/> | ||
{getConfig().ENABLE_VERIFIABLE_CREDENTIALS && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume it's fine that you moved this? The motivation for it isn't clear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was originally conditionally rendered inside of the the other conditional (the route to verifiable credentials
would only be enabled iff both flags were enabled). I just moved it up a layer (and at the bottom of all the other routes)
[APER-2922]
This PR removes the
USE_LR_MFE
feature flag. This feature flag was initially added to redirect learners back to the legacy frontend in Credentials when viewing a Program Record. This was so we could release the Learner Record MFE in phases while we were implementing the design.Now that the legacy frontend has been removed from Credentials, this functionality and feature flag is no longer needed.