diff --git a/.env.development b/.env.development index 9f657f2..2524bd6 100644 --- a/.env.development +++ b/.env.development @@ -20,7 +20,6 @@ SEGMENT_KEY='' SITE_NAME=localhost USER_INFO_COOKIE_NAME='edx-user-info' SUPPORT_URL_LEARNER_RECORDS='https://support.edx.org/hc/en-us/sections/360001216693-Learner-records' -USE_LR_MFE='true' APP_ID='' MFE_CONFIG_API_URL='' ENABLE_VERIFIABLE_CREDENTIALS='true' diff --git a/README.rst b/README.rst index 05fd19e..7fe1b9a 100644 --- a/README.rst +++ b/README.rst @@ -77,16 +77,15 @@ Environment Variables/Setup Notes Currently, this MFE is not intergrated into the devstack, and must be run locally. This MFE requires credentials to be running, and will use a REST API from the Credentials IDA located at `credentials/apps/records/rest_api`. -Credentials uses 2 enviroment variables to link to this MFE: +Credentials requires configuring a Django setting to support directing traffic to the Learner Record MFE: -* ``USE_LEARNER_RECORD_MFE`` -- Toggles the navigation in credentials to redirect to this MFE -* ``LEARNER_RECORD_MFE_RECORDS_PAGE_URL`` -- The URL for the base URL of this MFE +* ``LEARNER_RECORD_MFE_RECORDS_PAGE_URL`` -- The base URL of the Learne Record MFE -More details for these flags can be found in the base configuration of credentials: ``credentials/settings/base`` -This MFE has 2 flags of its own: +For more info, see the Learner Records documentation on ReadTheDocs: https://edx-credentials.readthedocs.io/en/latest/learner_records.html. + +This MFE has a setting of its own: * ``SUPPORT_URL_LEARNER_RECORDS`` -- A link to a help/support center for learners who run into problems whilst trying to share their records -* ``USE_LR_MFE`` -- A toggle that when on, uses the MFE to host shared records instead of the the old UI inside of credentials Verifiable Credentials ...................... @@ -188,4 +187,4 @@ Please do not report security issues in public. Please email security@openedx.or .. |Codecov| image:: https://codecov.io/gh/edx/frontend-app-learner-record/branch/master/graph/badge.svg :target: https://codecov.io/gh/edx/frontend-app-learner-record .. |license| image:: https://img.shields.io/npm/l/@edx/frontend-app-learner-record.svg - :target: https://github.com/openedx/frontend-app-learner-record/blob/master/LICENSE \ No newline at end of file + :target: https://github.com/openedx/frontend-app-learner-record/blob/master/LICENSE diff --git a/src/components/ProgramRecordsList/ProgramRecordsList.jsx b/src/components/ProgramRecordsList/ProgramRecordsList.jsx index 9da2ba4..53ee9d3 100644 --- a/src/components/ProgramRecordsList/ProgramRecordsList.jsx +++ b/src/components/ProgramRecordsList/ProgramRecordsList.jsx @@ -115,7 +115,7 @@ function ProgramRecordsList() {