@instructure/quiz-core 18.6.1-rc.5 → 18.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +2 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +6 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +2 -0
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +6 -3
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [18.7.0](https://gerrit.instructure.com/quizzes-ui/compare/v18.6.0...v18.7.0) (2023-11-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **afsTableFirstColumn:** support html extraction on first column ([3d6bd5f](https://gerrit.instructure.com/quizzes-ui/commits/3d6bd5f782e973ae8edfad6a739171fdf1a6ce40))
|
|
12
|
+
* **fineTuneAfsTables:** fine tune a11y and design glitches ([9ea6ea4](https://gerrit.instructure.com/quizzes-ui/commits/9ea6ea4188374d5d0fc720d14f3febd98e6d8968))
|
|
13
|
+
* **quizzes-ui:** Error message in wrong position at the Quiz and Item Analysis page ([dc5d4d2](https://gerrit.instructure.com/quizzes-ui/commits/dc5d4d2c0e6ae7225236cbb8a9826620f07b8441))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **AfsCategorizationType:** create frontend for categorization afs and summary part ([ac66a43](https://gerrit.instructure.com/quizzes-ui/commits/ac66a43604b7238d95451f873c5ed673e35e51f8))
|
|
19
|
+
* **features:** Make features request handle paginated response ([260b550](https://gerrit.instructure.com/quizzes-ui/commits/260b550de740114602860e4baad6725afbf21e88))
|
|
20
|
+
* **MatchingTypeAggregate:** add aggregate to afs MatchingType ([a1790df](https://gerrit.instructure.com/quizzes-ui/commits/a1790dfdfd701dbef77c71e7a231b796fb734635))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [18.6.0](https://gerrit.instructure.com/quizzes-ui/compare/v18.5.0...v18.6.0) (2023-11-14)
|
|
7
27
|
|
|
8
28
|
|
package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js
CHANGED
|
@@ -38,7 +38,9 @@ export var AnalysisMetric = (_dec = themeable(theme, styles), _dec(_class = (_te
|
|
|
38
38
|
label = _this$props.label,
|
|
39
39
|
value = _this$props.value,
|
|
40
40
|
suffix = _this$props.suffix;
|
|
41
|
+
var dataAutomation = "sdk-new-ia-quiz-analysis-".concat(metricKey);
|
|
41
42
|
return /*#__PURE__*/React.createElement("div", {
|
|
43
|
+
"data-automation": dataAutomation,
|
|
42
44
|
className: styles.metricWrapper
|
|
43
45
|
}, /*#__PURE__*/React.createElement(Metric, {
|
|
44
46
|
theme: {
|
|
@@ -96,7 +96,8 @@ export var NewQuizAndItemAnalysisReportCardPresenter = (_dec = themeable(theme,
|
|
|
96
96
|
date: quizAnalysis.created_timestamp,
|
|
97
97
|
multiline: true
|
|
98
98
|
})), quizAnalysis && itemAnalyses && /*#__PURE__*/React.createElement(Link, {
|
|
99
|
-
href: href
|
|
99
|
+
href: href,
|
|
100
|
+
"data-automation": "sdk-new-ia-report-card-view-report-button"
|
|
100
101
|
}, /*#__PURE__*/React.createElement(ScreenReaderContent, null, t('View Quiz and Item Analysis Report')), /*#__PURE__*/React.createElement(Text, {
|
|
101
102
|
size: "small",
|
|
102
103
|
"aria-hidden": "true"
|
|
@@ -113,14 +114,16 @@ export var NewQuizAndItemAnalysisReportCardPresenter = (_dec = themeable(theme,
|
|
|
113
114
|
color: "brand",
|
|
114
115
|
minHeight: "0",
|
|
115
116
|
mainText: mainText,
|
|
116
|
-
fontSize: "x-small"
|
|
117
|
+
fontSize: "x-small",
|
|
118
|
+
"data-automation": "sdk-new-ia-report-card-spinner"
|
|
117
119
|
}))));
|
|
118
120
|
};
|
|
119
121
|
|
|
120
122
|
_this.renderGenerateReportButton = function () {
|
|
121
123
|
return /*#__PURE__*/React.createElement(Link, {
|
|
122
124
|
onClick: _this.handleGeneration,
|
|
123
|
-
role: "button"
|
|
125
|
+
role: "button",
|
|
126
|
+
"data-automation": "sdk-new-ia-report-card-generate-report-button"
|
|
124
127
|
}, /*#__PURE__*/React.createElement(ScreenReaderContent, null, t('Generate Quiz and Item Analysis Report')), /*#__PURE__*/React.createElement(Text, {
|
|
125
128
|
size: "small",
|
|
126
129
|
"aria-hidden": "true"
|
package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js
CHANGED
|
@@ -57,7 +57,9 @@ var AnalysisMetric = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles)
|
|
|
57
57
|
label = _this$props.label,
|
|
58
58
|
value = _this$props.value,
|
|
59
59
|
suffix = _this$props.suffix;
|
|
60
|
+
var dataAutomation = "sdk-new-ia-quiz-analysis-".concat(metricKey);
|
|
60
61
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
62
|
+
"data-automation": dataAutomation,
|
|
61
63
|
className: styles.metricWrapper
|
|
62
64
|
}, /*#__PURE__*/_react.default.createElement(_uiMetric.Metric, {
|
|
63
65
|
theme: {
|
|
@@ -126,7 +126,8 @@ var NewQuizAndItemAnalysisReportCardPresenter = (_dec = (0, _uiThemeable.themeab
|
|
|
126
126
|
date: quizAnalysis.created_timestamp,
|
|
127
127
|
multiline: true
|
|
128
128
|
})), quizAnalysis && itemAnalyses && /*#__PURE__*/_react.default.createElement(_uiLink.Link, {
|
|
129
|
-
href: href
|
|
129
|
+
href: href,
|
|
130
|
+
"data-automation": "sdk-new-ia-report-card-view-report-button"
|
|
130
131
|
}, /*#__PURE__*/_react.default.createElement(_uiA11yContent.ScreenReaderContent, null, (0, _formatMessage.default)('View Quiz and Item Analysis Report')), /*#__PURE__*/_react.default.createElement(_uiText.Text, {
|
|
131
132
|
size: "small",
|
|
132
133
|
"aria-hidden": "true"
|
|
@@ -143,14 +144,16 @@ var NewQuizAndItemAnalysisReportCardPresenter = (_dec = (0, _uiThemeable.themeab
|
|
|
143
144
|
color: "brand",
|
|
144
145
|
minHeight: "0",
|
|
145
146
|
mainText: mainText,
|
|
146
|
-
fontSize: "x-small"
|
|
147
|
+
fontSize: "x-small",
|
|
148
|
+
"data-automation": "sdk-new-ia-report-card-spinner"
|
|
147
149
|
}))));
|
|
148
150
|
};
|
|
149
151
|
|
|
150
152
|
_this.renderGenerateReportButton = function () {
|
|
151
153
|
return /*#__PURE__*/_react.default.createElement(_uiLink.Link, {
|
|
152
154
|
onClick: _this.handleGeneration,
|
|
153
|
-
role: "button"
|
|
155
|
+
role: "button",
|
|
156
|
+
"data-automation": "sdk-new-ia-report-card-generate-report-button"
|
|
154
157
|
}, /*#__PURE__*/_react.default.createElement(_uiA11yContent.ScreenReaderContent, null, (0, _formatMessage.default)('Generate Quiz and Item Analysis Report')), /*#__PURE__*/_react.default.createElement(_uiText.Text, {
|
|
155
158
|
size: "small",
|
|
156
159
|
"aria-hidden": "true"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.7.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Quiz React SDK by Instructure Inc.",
|
|
6
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@instructure/grading-utils": "^1.0.0",
|
|
45
45
|
"@instructure/outcomes-ui": "^2.1.9",
|
|
46
|
-
"@instructure/quiz-common": "18.
|
|
47
|
-
"@instructure/quiz-i18n": "18.
|
|
48
|
-
"@instructure/quiz-interactions": "18.
|
|
49
|
-
"@instructure/quiz-number-input": "18.
|
|
50
|
-
"@instructure/quiz-rce": "18.
|
|
46
|
+
"@instructure/quiz-common": "^18.7.0",
|
|
47
|
+
"@instructure/quiz-i18n": "^18.7.0",
|
|
48
|
+
"@instructure/quiz-interactions": "^18.7.0",
|
|
49
|
+
"@instructure/quiz-number-input": "^18.7.0",
|
|
50
|
+
"@instructure/quiz-rce": "^18.7.0",
|
|
51
51
|
"@instructure/ui-a11y-content": "^7.22.1",
|
|
52
52
|
"@instructure/ui-alerts": "^7.22.1",
|
|
53
53
|
"@instructure/ui-avatar": "^7.22.1",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"file-saver": "~2.0.5",
|
|
110
110
|
"humps": "^2.0.0",
|
|
111
111
|
"immutable": "^3.8.1",
|
|
112
|
-
"instructure-validations": "18.
|
|
112
|
+
"instructure-validations": "^18.7.0",
|
|
113
113
|
"ipaddr.js": "^1.5.4",
|
|
114
114
|
"isomorphic-fetch": "^2.2.0",
|
|
115
115
|
"isuuid": "^0.1.0",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"uuid": "^3.2.1"
|
|
142
142
|
},
|
|
143
143
|
"devDependencies": {
|
|
144
|
-
"@instructure/quiz-scripts": "18.
|
|
144
|
+
"@instructure/quiz-scripts": "^18.7.0",
|
|
145
145
|
"@instructure/ui-axe-check": "^7.22.1",
|
|
146
146
|
"@instructure/ui-babel-preset": "^7.22.1",
|
|
147
147
|
"@instructure/ui-karma-config": "^7.22.1",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"intl": "^1.2.4",
|
|
161
161
|
"jquery": "^2.2.3",
|
|
162
162
|
"most-subject": "^5.3.0",
|
|
163
|
-
"quiz-presets": "18.
|
|
163
|
+
"quiz-presets": "^18.7.0",
|
|
164
164
|
"react": "^16.8.6",
|
|
165
165
|
"react-addons-test-utils": "^15.6.2",
|
|
166
166
|
"react-dom": "^16.8.6",
|
|
@@ -176,5 +176,5 @@
|
|
|
176
176
|
"publishConfig": {
|
|
177
177
|
"access": "public"
|
|
178
178
|
},
|
|
179
|
-
"gitHead": "
|
|
179
|
+
"gitHead": "2b56b4b27e10e47a912e3fb2763e587dbbbb1512"
|
|
180
180
|
}
|