Skip to content

Commit 0261bb5

Browse files
committed
Merge branch 'master' into chris/FAL-4240-unit-library-sync-nits
2 parents 914cc23 + 86e9c6b commit 0261bb5

File tree

122 files changed

+2535
-904
lines changed

Some content is hidden

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

122 files changed

+2535
-904
lines changed

.github/workflows/validate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515
- uses: actions/setup-node@v4
1616
with:
1717
node-version-file: '.nvmrc'
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
needs: tests
2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v5
2929
- name: Download code coverage results
3030
uses: actions/download-artifact@v5
3131
with:

package-lock.json

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

src/constants.js renamed to src/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const COURSE_CREATOR_STATES = {
4343
granted: 'granted',
4444
denied: 'denied',
4545
disallowedForThisSite: 'disallowed_for_this_site',
46-
};
46+
} as const;
4747

4848
export const DECODED_ROUTES = {
4949
COURSE_UNIT: [
@@ -105,4 +105,5 @@ export const iframeMessageTypes = {
105105
resize: 'plugin.resize',
106106
videoFullScreen: 'plugin.videoFullScreen',
107107
xblockEvent: 'xblock-event',
108+
xblockScroll: 'xblock-scroll',
108109
};

src/content-tags-drawer/ContentTagsCollapsible.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ const CustomLoadingIndicator = () => {
112112
return (
113113
<Spinner
114114
animation="border"
115-
size="xl"
116115
screenReaderText={intl.formatMessage(messages.loadingMessage)}
117116
/>
118117
);

src/content-tags-drawer/ContentTagsDrawer.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ const ContentTagsDrawerTitle = () => {
8989
<div className="d-flex justify-content-center align-items-center flex-column">
9090
<Spinner
9191
animation="border"
92-
size="xl"
9392
screenReaderText={intl.formatMessage(messages.loadingMessage)}
9493
/>
9594
</div>
@@ -149,7 +148,6 @@ const ContentTagsDrawerVariantFooter = ({ onClose, readOnly }: ContentTagsDrawer
149148
: (
150149
<Spinner
151150
animation="border"
152-
size="xl"
153151
screenReaderText={intl.formatMessage(messages.loadingMessage)}
154152
/>
155153
)}
@@ -197,7 +195,6 @@ const ContentTagsComponentVariantFooter = ({ readOnly = false }: ContentTagsComp
197195
<div className="d-flex justify-content-center">
198196
<Spinner
199197
animation="border"
200-
size="xl"
201198
screenReaderText={intl.formatMessage(messages.loadingMessage)}
202199
/>
203200
</div>

src/content-tags-drawer/ContentTagsDropDownSelector.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ const ContentTagsDropDownSelector = ({
234234
<div className="d-flex justify-content-center align-items-center flex-row">
235235
<Spinner
236236
animation="border"
237-
size="xl"
238237
screenReaderText={intl.formatMessage(messages.loadingTagsDropdownMessage)}
239238
/>
240239
</div>

src/course-checklist/CourseChecklist.jsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useEffect } from 'react';
22
import PropTypes from 'prop-types';
33
import { getConfig } from '@edx/frontend-platform';
4-
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
4+
import { useIntl } from '@edx/frontend-platform/i18n';
55
import { Helmet } from 'react-helmet';
66
import { useDispatch, useSelector } from 'react-redux';
77
import { Container, Stack } from '@openedx/paragon';
@@ -17,9 +17,8 @@ import ConnectionErrorAlert from '../generic/ConnectionErrorAlert';
1717

1818
const CourseChecklist = ({
1919
courseId,
20-
// injected,
21-
intl,
2220
}) => {
21+
const intl = useIntl();
2322
const dispatch = useDispatch();
2423
const courseDetails = useModel('courseDetails', courseId);
2524
const enableQuality = getConfig().ENABLE_CHECKLIST_QUALITY === 'true';
@@ -97,8 +96,6 @@ const CourseChecklist = ({
9796

9897
CourseChecklist.propTypes = {
9998
courseId: PropTypes.string.isRequired,
100-
// injected
101-
intl: intlShape.isRequired,
10299
};
103100

104-
export default injectIntl(CourseChecklist);
101+
export default CourseChecklist;

0 commit comments

Comments
 (0)