Skip to content

Commit 8ddb6aa

Browse files
committed
temp: Remove warning from Create Legacy Library page
It has not been cleared yet by UX/Product. Removing the warning brings us to parity with the old legacy Create Library page. We may add this back shortly once UX/Product has reviewed it.
1 parent d4894f3 commit 8ddb6aa

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

src/library-authoring/create-legacy-library/CreateLegacyLibrary.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@ import { StudioFooterSlot } from '@edx/frontend-component-footer';
22
import { getConfig } from '@edx/frontend-platform';
33
import { useIntl } from '@edx/frontend-platform/i18n';
44
import {
5-
Alert,
65
Container,
76
Form,
87
Button,
98
StatefulButton,
109
ActionRow,
1110
} from '@openedx/paragon';
12-
import { Warning } from '@openedx/paragon/icons';
1311
import { Formik } from 'formik';
1412
import { useNavigate } from 'react-router-dom';
1513
import * as Yup from 'yup';
@@ -102,10 +100,6 @@ export const CreateLegacyLibrary = ({
102100
title={intl.formatMessage(legacyMessages.createLibrary)}
103101
/>
104102
)}
105-
<Alert variant="warning" icon={Warning}>
106-
<Alert.Heading>{intl.formatMessage(legacyMessages.warningTitle)}</Alert.Heading>
107-
{intl.formatMessage(legacyMessages.warningBody)}
108-
</Alert>
109103
<Formik
110104
initialValues={{
111105
displayName: '',

src/library-authoring/create-legacy-library/messages.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@ const messages = defineMessages({
1111
defaultMessage: 'Legacy library name',
1212
description: 'Label for the title field when creating a legacy library.',
1313
},
14-
warningTitle: {
15-
id: 'course-authoring.library-authoring.create-legacy-library.warning.title',
16-
defaultMessage: 'You are creating content in a deprecated format',
17-
description: 'Warning to discourage users from creating a new Legacy Library',
18-
},
19-
warningBody: {
20-
id: 'course-authoring.library-authoring.create-legacy-library.warning.body',
21-
defaultMessage: 'Legacy libraries will be unsupported in a future release. Any content you create in a legacy library will soon need to be migrated. Consider using the Libraries (Beta) feature instead.',
22-
description: 'Warning to discourage users from creating a new Legacy Library',
23-
},
2414
createLibraryButton: {
2515
id: 'course-authoring.library-authoring.create-legacy-library.form.create-library.button',
2616
defaultMessage: 'Create legacy library',

0 commit comments

Comments
 (0)