diff --git a/.env b/.env index 303ed329..e8a92df7 100644 --- a/.env +++ b/.env @@ -14,5 +14,5 @@ REFRESH_ACCESS_TOKEN_ENDPOINT=null SEGMENT_KEY=null SITE_NAME=null USER_INFO_COOKIE_NAME=null -LOGISTRATION_MINIMAL_HEADER=true +AUTHN_MINIMAL_HEADER=true LOGIN_ISSUE_SUPPORT_LINK=null diff --git a/.env.development b/.env.development index 74798706..6763ca58 100644 --- a/.env.development +++ b/.env.development @@ -19,5 +19,5 @@ REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh' SEGMENT_KEY=null SITE_NAME='edX' USER_INFO_COOKIE_NAME='edx-user-info' -LOGISTRATION_MINIMAL_HEADER=true +AUTHN_MINIMAL_HEADER=true LOGIN_ISSUE_SUPPORT_LINK='' diff --git a/Makefile b/Makefile index 7027c3b0..08e40a08 100755 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -transifex_resource = frontend-app-logistration +transifex_resource = frontend-app-authn transifex_langs = "ar,fr,es_419,zh_CN" transifex_utils = ./node_modules/.bin/transifex-utils.js diff --git a/package-lock.json b/package-lock.json index bcfc8a8c..2434d8ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "@edx/frontend-app-logistration", + "name": "@edx/frontend-app-authn", "version": "0.1.0", "lockfileVersion": 1, "requires": true, diff --git a/src/_style.scss b/src/_style.scss index 5db65fe9..d642e8f7 100644 --- a/src/_style.scss +++ b/src/_style.scss @@ -24,14 +24,14 @@ $apple-focus-black: $apple-black; } } -.logistration-header { +.authn-header { border-bottom: 1px solid #e7e7e7; height: 3.75rem; position: relative; z-index: 1000; } -.logistration-header img { +.authn-header img { height: 1.75rem; margin-left: 2rem; padding: 1rem 0; diff --git a/src/common-components/ConfirmationAlert.jsx b/src/common-components/ConfirmationAlert.jsx index be4b05d6..0495a432 100644 --- a/src/common-components/ConfirmationAlert.jsx +++ b/src/common-components/ConfirmationAlert.jsx @@ -15,7 +15,7 @@ const ConfirmationAlert = (props) => { {intl.formatMessage(messages['forgot.password.confirmation.title'])}

{ }); it('send tracking event on optional checkbox enabled', () => { - store = mockStore({ - ...initialState, - logistration: { - ...initialState.logistration, - formData: { - fields: [ - { - label: 'Tell us why you\'re interested in edX', - name: 'goals', - type: 'textarea', - required: false, - }, - { - label: 'Highest level of Education completed.', - name: 'level_of_education', - type: 'select', - options: [{ value: '', name: '--' }, { value: 'p', name: 'Doctorate' }], - required: false, - }, - { - label: 'Year of birth.', - name: 'year_of_birth', - type: 'select', - options: [{ value: '', name: '--' }, { value: '2021', name: '2021' }], - required: false, - }, - { - label: 'Gender.', - name: 'gender', - type: 'select', - options: [{ value: '', name: '--' }, { value: 'f', name: 'Female' }], - required: false, - }, - ], - }, - }, - }); - const registrationPage = mount(reduxWrapper()); registrationPage.find('input#optional').simulate('change', { target: { checked: true } });