generated from openedx/frontend-template-application
-
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
Make public record URLs redirect both ways #108
Comments
PRs for this work: |
Looks like this is done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the Learner Record MFE on track to become a mandatory part of Credentials, replacing the legacy frontend of the records app in the IDA, we must ensure that we continue supporting public program record links that learners have already created and shared.
Anyone who is trying to access a public program record in the old experience must be redirected to the Learner Record MFE.
We are planning on using an application level redirect, taking advantage of Django’s built-in functionality to redirect learners to the MFE. For more information on what influenced this decision, see this Spike doc and read the Link Redirection section.
We are looking to redirect users who hit a public program record at https://credentials.edx.org/records/programs/shared/{shared_program_record_uuid}/ to https://records.edx.org/shared/{shared_program_record_uuid}/.
We may want to re-use the existing view in Credentials to perform the redirect. Currently, both the public and private program records use the same view. We may want to change this going forward to better support deprecation of the old views.
We can toggle this functionality using the USE_LEARNER_RECORD_MFE setting. If enabled, we will redirect/rewrite the link to the Learner Record MFE. If disabled, we will continue to render the program record in Credentials using the legacy FE.
Acceptance Criteria
The Credentials IDA supports redirection of public program record links to the Learner Record MFE.
The redirection functionality can be toggled using an existing setting (USE_LEARNER_RECORD_MFE).
Make any required updates in the Learner Record and Support Tools MFEs.
The text was updated successfully, but these errors were encountered: