-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into jkantor/messages3
- Loading branch information
Showing
161 changed files
with
9,469 additions
and
13,713 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,8 +35,6 @@ | |
}, | ||
"dependencies": { | ||
"@edx/brand": "npm:@edx/[email protected]", | ||
"@edx/frontend-component-footer": "12.5.0", | ||
"@edx/frontend-component-header": "4.8.0", | ||
"@edx/frontend-platform": "5.6.1", | ||
"@edx/paragon": "^21.5.3", | ||
"@edx/react-unit-test-utils": "1.7.0", | ||
|
@@ -53,7 +51,7 @@ | |
"@zip.js/zip.js": "^2.7.30", | ||
"axios": "^1.5.1", | ||
"classnames": "^2.3.2", | ||
"core-js": "3.32.2", | ||
"core-js": "3.33.3", | ||
"file-saver": "^2.0.5", | ||
"filesize": "^8.0.6", | ||
"jest-when": "^3.6.0", | ||
|
@@ -80,7 +78,7 @@ | |
"@edx/reactifex": "^2.1.1", | ||
"glob": "7.2.3", | ||
"husky": "7.0.4", | ||
"jest": "29.7.0", | ||
"jest": "^26.6.3", | ||
"ts-jest": "^26.5.6" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
|
||
import { Button, StatefulButton } from '@edx/paragon'; | ||
|
||
import { MutationStatus } from 'constants'; | ||
|
||
export const disabledStates = [MutationStatus.loading]; | ||
|
||
const ActionButton = (props) => ( | ||
props.state | ||
? <StatefulButton {...props} disabledStates={disabledStates} /> | ||
: <Button {...props} /> | ||
); | ||
ActionButton.defaultProps = { | ||
state: null, | ||
}; | ||
ActionButton.propTypes = { | ||
state: PropTypes.string, | ||
}; | ||
|
||
export default ActionButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,5 +78,6 @@ | |
@include media-breakpoint-down(sm) { | ||
.assessment-card { | ||
margin-left: 0 !important; | ||
width: 100% !important; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 0 additions & 94 deletions
94
...omponents/Assessment/EditableAssessment/OverallFeedback/__snapshots__/index.test.jsx.snap
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
src/components/Assessment/EditableAssessment/OverallFeedback/index.test.jsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.