Skip to content
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

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

justinhynes
Copy link
Contributor

[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.

@justinhynes justinhynes marked this pull request as ready for review October 23, 2023 19:42
[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.
@justinhynes justinhynes force-pushed the jhynes/APER-2922_remove_unused_feature_flag branch from dfa7734 to 48ca308 Compare October 23, 2023 19:52
@openedx openedx deleted a comment from codecov bot Oct 23, 2023
@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (c371c37) 69.60% compared to head (48ca308) 70.22%.
Report is 1 commits behind head on master.

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              
Files Coverage Δ
...mponents/ProgramRecordsList/ProgramRecordsList.jsx 93.18% <ø> (-0.16%) ⬇️
src/index.jsx 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@deborahgu deborahgu left a 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 && (
Copy link
Member

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.

Copy link
Contributor Author

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)

@justinhynes justinhynes merged commit da7f2fd into master Oct 24, 2023
6 of 7 checks passed
@justinhynes justinhynes deleted the jhynes/APER-2922_remove_unused_feature_flag branch October 24, 2023 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants