Skip to content

Commit 49a0bc3

Browse files
committed
Merge remote-tracking branch 'origin/master' into jill/container-data-from-search
2 parents e858a23 + 65aca04 commit 49a0bc3

220 files changed

Lines changed: 4281 additions & 1293 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,4 @@ ENABLE_HOME_PAGE_COURSE_API_V2=true
4545
ENABLE_CHECKLIST_QUALITY=''
4646
ENABLE_GRADING_METHOD_IN_PROBLEMS=false
4747
# "Multi-level" blocks are unsupported in libraries
48-
# TODO: Missing support for ORA2
49-
LIBRARY_UNSUPPORTED_BLOCKS="conditional,step-builder,problem-builder,openassessment"
48+
LIBRARY_UNSUPPORTED_BLOCKS="conditional,step-builder,problem-builder"

.env.test

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,4 @@ ENABLE_HOME_PAGE_COURSE_API_V2=true
4040
ENABLE_CHECKLIST_QUALITY=true
4141
ENABLE_GRADING_METHOD_IN_PROBLEMS=false
4242
# "Multi-level" blocks are unsupported in libraries
43-
# TODO: Missing support for ORA2
44-
LIBRARY_UNSUPPORTED_BLOCKS="conditional,step-builder,problem-builder,openassessment"
43+
LIBRARY_UNSUPPORTED_BLOCKS="conditional,step-builder,problem-builder"

README.rst

Lines changed: 15 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -165,21 +165,7 @@ Feature: New React XBlock Editors
165165

166166
.. image:: ./docs/readme-images/feature-problem-editor.png
167167

168-
This allows an operator to enable the use of new React editors for the HTML, Video, and Problem XBlocks, all of which are provided here.
169-
170-
Requirements
171-
------------
172-
173-
* ``edx-platform`` Waffle flags:
174-
175-
* ``new_core_editors.use_new_text_editor``: must be enabled for the new HTML Xblock editor to be used in Studio
176-
* ``new_core_editors.use_new_video_editor``: must be enabled for the new Video Xblock editor to be used in Studio
177-
* ``new_core_editors.use_new_problem_editor``: must be enabled for the new Problem Xblock editor to be used in Studio
178-
179-
Feature Description
180-
-------------------
181-
182-
When a corresponding waffle flag is set, upon editing a block in Studio, the view is rendered by this MFE instead of by the XBlock's authoring view. The user remains in Studio.
168+
New React editors for the HTML, Video, and Problem XBlocks are provided here and are rendered by this MFE instead of by the XBlock's authoring view.
183169

184170
Feature: New Proctoring Exams View
185171
==================================
@@ -193,10 +179,6 @@ Requirements
193179

194180
* ``ZENDESK_*``: necessary if automatic ZenDesk ticket creation is desired
195181

196-
* ``edx-platform`` Feature flags:
197-
198-
* ``ENABLE_EXAM_SETTINGS_HTML_VIEW``: this feature flag must be enabled for the link to the settings view to be shown
199-
200182
* `edx-exams <https://github.com/edx/edx-exams>`_: for this feature to work, the ``edx-exams`` IDA must be deployed and its API accessible by the browser
201183

202184
Configuration
@@ -221,60 +203,25 @@ Feature: Advanced Settings
221203

222204
.. image:: ./docs/readme-images/feature-advanced-settings.png
223205

224-
Requirements
225-
------------
226-
227-
* ``edx-platform`` Waffle flags:
228-
229-
* ``contentstore.new_studio_mfe.use_new_advanced_settings_page``: this feature flag must be enabled for the link to the settings view to be shown. It can be enabled on a per-course basis.
230-
231-
Feature Description
232-
-------------------
233-
234206
In Studio, the "Advanced Settings" page for each enabled course will now be served by this frontend, instead of the UI built into edx-platform. The advanced settings page holds many different settings for the course, such as what features or XBlocks are enabled.
235207

236208
Feature: Files & Uploads
237209
==========================
238210

239211
.. image:: ./docs/readme-images/feature-files-uploads.png
240212

241-
Requirements
242-
------------
243-
244-
* ``edx-platform`` Waffle flags:
245-
246-
* ``contentstore.new_studio_mfe.use_new_files_uploads_page``: this feature flag must be enabled for the link to the Files & Uploads page to go to the MFE. It can be enabled on a per-course basis.
247-
248-
Feature Description
249-
-------------------
250-
251213
In Studio, the "Files & Uploads" page for each enabled course will now be served by this frontend, instead of the UI built into edx-platform. This page allows managing static asset files like PDFs, images, etc. used for the course.
252214

253215
Feature: Course Updates
254216
==========================
255217

256218
.. image:: ./docs/readme-images/feature-course-updates.png
257219

258-
Requirements
259-
------------
260-
261-
* ``edx-platform`` Waffle flags:
262-
263-
* ``contentstore.new_studio_mfe.use_new_updates_page``: this feature flag must be enabled.
264-
265220
Feature: Import/Export Pages
266221
============================
267222

268223
.. image:: ./docs/readme-images/feature-export.png
269224

270-
Requirements
271-
------------
272-
273-
* ``edx-platform`` Waffle flags:
274-
275-
* ``contentstore.new_studio_mfe.use_new_export_page``: this feature flag will change the CMS to link to the new export page.
276-
* ``contentstore.new_studio_mfe.use_new_import_page``: this feature flag will change the CMS to link to the new import page.
277-
278225
Feature: Tagging/Taxonomy Pages
279226
================================
280227

@@ -380,6 +327,20 @@ For more information about these options, see the `Getting Help`_ page.
380327
.. _Getting Help: https://openedx.org/community/connect
381328

382329

330+
Legacy Studio
331+
*************
332+
333+
If you would like to use legacy studio for certain features, you can set the following waffle flags in ``edx-platform``:
334+
* ``legacy_studio.text_editor``: loads the legacy HTML Xblock editor when editing a text block
335+
* ``legacy_studio.video_editor``: loads the legacy Video editor when editing a video block
336+
* ``legacy_studio.problem_editor``: loads the legacy Problem editor when editing a problem block
337+
* ``legacy_studio.advanced_settings``: Advanced Settings page
338+
* ``legacy_studio.updates``: Updates page
339+
* ``legacy_studio.export``: Export page
340+
* ``legacy_studio.import``: Import page
341+
* ``legacy_studio.files_uploads``: Files page
342+
* ``legacy_studio.exam_settings``: loads the legacy Exam Settings
343+
383344
License
384345
*******
385346

package-lock.json

Lines changed: 42 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"dependencies": {
3636
"@codemirror/lang-html": "^6.0.0",
3737
"@codemirror/lang-xml": "^6.0.0",
38+
"@codemirror/lang-markdown": "^6.0.0",
3839
"@codemirror/lint": "^6.2.1",
3940
"@codemirror/state": "^6.0.0",
4041
"@codemirror/view": "^6.0.0",
@@ -44,7 +45,7 @@
4445
"@dnd-kit/utilities": "^3.2.2",
4546
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.3",
4647
"@edx/browserslist-config": "1.2.0",
47-
"@edx/frontend-component-footer": "^14.3.0",
48+
"@edx/frontend-component-footer": "^14.6.0",
4849
"@edx/frontend-component-header": "^6.2.0",
4950
"@edx/frontend-enterprise-hotjar": "^7.2.0",
5051
"@edx/frontend-platform": "^8.3.1",
@@ -60,8 +61,7 @@
6061
"@openedx-plugins/course-app-wiki": "file:plugins/course-apps/wiki",
6162
"@openedx-plugins/course-app-xpert_unit_summary": "file:plugins/course-apps/xpert_unit_summary",
6263
"@openedx/frontend-build": "^14.3.3",
63-
"@openedx/frontend-plugin-framework": "^1.6.0",
64-
"@openedx/frontend-slot-footer": "^1.2.0",
64+
"@openedx/frontend-plugin-framework": "^1.7.0",
6565
"@openedx/paragon": "^22.16.0",
6666
"@redux-devtools/extension": "^3.3.0",
6767
"@reduxjs/toolkit": "1.9.7",

plugins/course-apps/live/BBBSettings.jsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useEffect, useState } from 'react';
22
import { getConfig } from '@edx/frontend-platform';
3-
import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n';
3+
import { FormattedMessage, useIntl } from '@edx/frontend-platform/i18n';
44
import { Form, Hyperlink } from '@openedx/paragon';
55
import PropTypes from 'prop-types';
66
import AppConfigFormDivider from 'CourseAuthoring/pages-and-resources/discussions/app-config-form/apps/shared/AppConfigFormDivider';
@@ -11,10 +11,10 @@ import LiveCommonFields from './LiveCommonFields';
1111
import messages from './messages';
1212

1313
const BbbSettings = ({
14-
intl,
1514
values,
1615
setFieldValue,
1716
}) => {
17+
const intl = useIntl();
1818
const [bbbPlan, setBbbPlan] = useState(values.tierType);
1919

2020
useEffect(() => {
@@ -107,12 +107,10 @@ const BbbSettings = ({
107107
)}
108108
</>
109109
</>
110-
111110
);
112111
};
113112

114113
BbbSettings.propTypes = {
115-
intl: intlShape.isRequired,
116114
values: PropTypes.shape({
117115
consumerKey: PropTypes.string,
118116
consumerSecret: PropTypes.string,
@@ -127,4 +125,4 @@ BbbSettings.propTypes = {
127125
setFieldValue: PropTypes.func.isRequired,
128126
};
129127

130-
export default injectIntl(BbbSettings);
128+
export default BbbSettings;

0 commit comments

Comments
 (0)