@coorpacademy/app-review 0.2.8 → 0.2.9
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/es/actions/api/fetch-rank.d.ts +32 -0
- package/es/actions/api/fetch-rank.js +30 -0
- package/es/actions/api/test/fetch-correction.test.js +2 -1
- package/es/actions/api/test/fetch-rank.test.d.ts +1 -0
- package/es/actions/api/test/fetch-rank.test.js +100 -0
- package/es/actions/api/test/fetch-skills.test.js +2 -1
- package/es/actions/api/test/fetch-slide.test.js +2 -1
- package/es/actions/api/test/post-answer.test.js +2 -1
- package/es/actions/api/test/post-progression.test.js +2 -1
- package/es/actions/data/test/token.test.js +2 -1
- package/es/actions/ui/test/answers.test.js +2 -1
- package/es/actions/ui/test/slides.test.js +2 -1
- package/es/reducers/data/corrections.d.ts +1 -1
- package/es/reducers/data/index.d.ts +4 -1
- package/es/reducers/data/index.js +2 -1
- package/es/reducers/data/rank.d.ts +7 -0
- package/es/reducers/data/rank.js +36 -0
- package/es/reducers/data/test/rank.test.d.ts +1 -0
- package/es/reducers/data/test/rank.test.js +59 -0
- package/es/reducers/index.d.ts +4 -3
- package/es/reducers/ui/slide.d.ts +1 -0
- package/es/reducers/ui/slide.js +1 -1
- package/es/test/util/services.mock.d.ts +1 -0
- package/es/test/util/services.mock.js +16 -0
- package/es/views/skills/test/skills.test.js +4 -2
- package/es/views/slides/index.d.ts +21 -19
- package/es/views/slides/index.js +29 -3
- package/es/views/slides/test/fixtures/qcm-graphic.js +190 -28
- package/es/views/slides/test/index.test.js +200 -19
- package/es/views/slides/test/slide.free-text.on-change.test.js +4 -1
- package/es/views/slides/test/slide.qcm-drag.on-click.test.js +4 -1
- package/es/views/slides/test/slide.qcm-graphic.on-click.test.js +6 -3
- package/es/views/slides/test/slide.qcm.on-click.test.js +4 -1
- package/es/views/slides/test/slide.slider.on-change.test.js +4 -1
- package/es/views/slides/test/slide.template.on-change.test.js +6 -1
- package/lib/actions/api/fetch-rank.d.ts +32 -0
- package/lib/actions/api/fetch-rank.js +32 -0
- package/lib/actions/api/test/fetch-correction.test.js +2 -1
- package/lib/actions/api/test/fetch-rank.test.d.ts +1 -0
- package/lib/actions/api/test/fetch-rank.test.js +171 -0
- package/lib/actions/api/test/fetch-skills.test.js +2 -1
- package/lib/actions/api/test/fetch-slide.test.js +2 -1
- package/lib/actions/api/test/post-answer.test.js +2 -1
- package/lib/actions/api/test/post-progression.test.js +2 -1
- package/lib/actions/data/test/token.test.js +2 -1
- package/lib/actions/ui/test/answers.test.js +2 -1
- package/lib/actions/ui/test/slides.test.js +2 -1
- package/lib/reducers/data/corrections.d.ts +1 -1
- package/lib/reducers/data/index.d.ts +4 -1
- package/lib/reducers/data/index.js +2 -1
- package/lib/reducers/data/rank.d.ts +7 -0
- package/lib/reducers/data/rank.js +37 -0
- package/lib/reducers/data/test/rank.test.d.ts +1 -0
- package/lib/reducers/data/test/rank.test.js +59 -0
- package/lib/reducers/index.d.ts +4 -3
- package/lib/reducers/ui/slide.d.ts +1 -0
- package/lib/reducers/ui/slide.js +1 -1
- package/lib/test/util/services.mock.d.ts +1 -0
- package/lib/test/util/services.mock.js +7 -0
- package/lib/views/skills/test/skills.test.js +4 -2
- package/lib/views/slides/index.d.ts +21 -19
- package/lib/views/slides/index.js +29 -3
- package/lib/views/slides/test/fixtures/qcm-graphic.js +190 -28
- package/lib/views/slides/test/index.test.js +211 -22
- package/lib/views/slides/test/slide.free-text.on-change.test.js +4 -1
- package/lib/views/slides/test/slide.qcm-drag.on-click.test.js +4 -1
- package/lib/views/slides/test/slide.qcm-graphic.on-click.test.js +6 -3
- package/lib/views/slides/test/slide.qcm.on-click.test.js +4 -1
- package/lib/views/slides/test/slide.slider.on-change.test.js +4 -1
- package/lib/views/slides/test/slide.template.on-change.test.js +6 -1
- package/package.json +3 -3
- package/src/actions/api/fetch-rank.ts +84 -0
- package/src/actions/api/test/fetch-correction.test.ts +2 -1
- package/src/actions/api/test/fetch-rank.test.ts +130 -0
- package/src/actions/api/test/fetch-skills.test.ts +2 -1
- package/src/actions/api/test/fetch-slide.test.ts +2 -1
- package/src/actions/api/test/post-answer.test.ts +2 -1
- package/src/actions/api/test/post-progression.test.ts +2 -1
- package/src/actions/data/test/token.test.ts +2 -1
- package/src/actions/ui/test/answers.test.ts +2 -1
- package/src/actions/ui/test/slides.test.ts +2 -1
- package/src/reducers/data/corrections.ts +1 -1
- package/src/reducers/data/index.ts +3 -1
- package/src/reducers/data/rank.ts +60 -0
- package/src/reducers/data/test/rank.test.ts +78 -0
- package/src/reducers/index.ts +2 -2
- package/src/reducers/ui/slide.ts +2 -1
- package/src/test/util/services.mock.ts +17 -0
- package/src/views/skills/test/skills.test.ts +4 -2
- package/src/views/slides/index.ts +65 -22
- package/src/views/slides/test/fixtures/qcm-graphic.ts +196 -29
- package/src/views/slides/test/index.test.ts +210 -21
- package/src/views/slides/test/slide.free-text.on-change.test.ts +4 -1
- package/src/views/slides/test/slide.qcm-drag.on-click.test.ts +4 -1
- package/src/views/slides/test/slide.qcm-graphic.on-click.test.ts +6 -4
- package/src/views/slides/test/slide.qcm.on-click.test.ts +4 -1
- package/src/views/slides/test/slide.slider.on-change.test.ts +4 -1
- package/src/views/slides/test/slide.template.on-change.test.ts +6 -1
|
@@ -284,6 +284,13 @@ export var postAnswerResponses = (_a = {},
|
|
|
284
284
|
}
|
|
285
285
|
},
|
|
286
286
|
_a);
|
|
287
|
+
export var incorrectFreeTextPostAnswerResponse = __assign(__assign({}, postAnswerResponses[freeTextSlide.universalRef]), { state: __assign(__assign({}, postAnswerResponses[freeTextSlide.universalRef].state), { isCorrect: false, allAnswers: [
|
|
288
|
+
{
|
|
289
|
+
slideRef: freeTextSlide.universalRef,
|
|
290
|
+
isCorrect: false,
|
|
291
|
+
answer: ['NOPE']
|
|
292
|
+
}
|
|
293
|
+
], pendingSlides: [freeTextSlide.universalRef], stars: 0 }) });
|
|
287
294
|
export var progressionSlideWithPendingSlide = {
|
|
288
295
|
_id: '62b1d1087aa12f00253f40ee',
|
|
289
296
|
content: content,
|
|
@@ -9,7 +9,8 @@ test('should create initial props when there are no skills on the state', functi
|
|
|
9
9
|
skills: [],
|
|
10
10
|
slides: {},
|
|
11
11
|
token: '1234',
|
|
12
|
-
corrections: {}
|
|
12
|
+
corrections: {},
|
|
13
|
+
rank: {}
|
|
13
14
|
},
|
|
14
15
|
ui: {
|
|
15
16
|
currentSlideRef: '',
|
|
@@ -51,7 +52,8 @@ test('should create initial props when skills on the state', function (t) {
|
|
|
51
52
|
],
|
|
52
53
|
slides: {},
|
|
53
54
|
token: '1234',
|
|
54
|
-
corrections: {}
|
|
55
|
+
corrections: {},
|
|
56
|
+
rank: {}
|
|
55
57
|
},
|
|
56
58
|
ui: {
|
|
57
59
|
currentSlideRef: '',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Dispatch } from 'redux';
|
|
2
|
-
import { SlideIndexes } from '../../common';
|
|
3
|
-
import { StoreState } from '../../reducers';
|
|
4
|
-
import { AnswerUI } from '../../types/slides';
|
|
1
|
+
import type { Dispatch } from 'redux';
|
|
2
|
+
import type { SlideIndexes } from '../../common';
|
|
3
|
+
import type { StoreState } from '../../reducers';
|
|
4
|
+
import type { AnswerUI } from '../../types/slides';
|
|
5
5
|
declare const ICON_VALUES: {
|
|
6
6
|
readonly right: "right";
|
|
7
7
|
readonly wrong: "wrong";
|
|
@@ -27,22 +27,24 @@ export declare type UISlide = {
|
|
|
27
27
|
declare type SlidesStack = {
|
|
28
28
|
[key in SlideIndexes]: UISlide;
|
|
29
29
|
};
|
|
30
|
+
declare type CorrectionPopinInformation = {
|
|
31
|
+
label: string;
|
|
32
|
+
message: string;
|
|
33
|
+
};
|
|
34
|
+
declare type CorrectionPopinKlf = {
|
|
35
|
+
label: string;
|
|
36
|
+
tooltip: string;
|
|
37
|
+
};
|
|
38
|
+
declare type CorrectionPopinNext = {
|
|
39
|
+
label: string;
|
|
40
|
+
ariaLabel: string;
|
|
41
|
+
};
|
|
30
42
|
export declare type CorrectionPopinProps = {
|
|
31
|
-
klf
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
information: {
|
|
37
|
-
label: string;
|
|
38
|
-
message: string;
|
|
39
|
-
};
|
|
40
|
-
next: {
|
|
41
|
-
label: string;
|
|
42
|
-
ariaLabel: string;
|
|
43
|
-
};
|
|
44
|
-
successLabel: string;
|
|
45
|
-
failureLabel: string;
|
|
43
|
+
klf?: CorrectionPopinKlf;
|
|
44
|
+
information: CorrectionPopinInformation;
|
|
45
|
+
next: CorrectionPopinNext;
|
|
46
|
+
resultLabel: string;
|
|
47
|
+
type: 'right' | 'wrong';
|
|
46
48
|
};
|
|
47
49
|
export declare type SlidesViewProps = {
|
|
48
50
|
header: {
|
|
@@ -19,6 +19,7 @@ import reduce from 'lodash/fp/reduce';
|
|
|
19
19
|
import set from 'lodash/fp/set';
|
|
20
20
|
import slice from 'lodash/fp/slice';
|
|
21
21
|
import toInteger from 'lodash/fp/toInteger';
|
|
22
|
+
import join from 'lodash/fp/join';
|
|
22
23
|
import { postAnswer } from '../../actions/api/post-answer';
|
|
23
24
|
import { mapApiSlideToUi } from './map-api-slide-to-ui';
|
|
24
25
|
var ICON_VALUES = {
|
|
@@ -78,7 +79,10 @@ var buildStackSlides = function (state, dispatch) {
|
|
|
78
79
|
var _a = mapApiSlideToUi(dispatch)(slideFromAPI, answers), questionText = _a.questionText, answerUI = _a.answerUI;
|
|
79
80
|
var parentContentTitle = getOr('', 'parentContentTitle.title', slideFromAPI);
|
|
80
81
|
var parentContentType = getOr('', 'parentContentTitle.type', slideFromAPI);
|
|
81
|
-
var
|
|
82
|
+
var isCurrentSlideRef = currentSlideRef === slideRef;
|
|
83
|
+
var animateCorrectionPopin = isCurrentSlideRef && getOr(false, ['ui', 'slide', 'animateCorrectionPopin'], state);
|
|
84
|
+
var showCorrectionPopin = isCurrentSlideRef && getOr(false, ['ui', 'slide', 'showCorrectionPopin'], state);
|
|
85
|
+
var updatedUiSlide = pipe(set('showCorrectionPopin', showCorrectionPopin), set('animateCorrectionPopin', animateCorrectionPopin), set('loading', false), set('questionText', questionText), set('answerUI', answerUI), set('parentContentTitle', "From \"".concat(parentContentTitle, "\" ").concat(parentContentType)) // TODO translate: -From- .... -Course/chapter-
|
|
82
86
|
// TODO: Set position according to currentSlideRef et slideRefs (or maybe a value on the state ui.slidePositions !!)
|
|
83
87
|
)(uiSlide);
|
|
84
88
|
return set(index, updatedUiSlide, acc);
|
|
@@ -145,7 +149,29 @@ export var buildStepItems = function (state) {
|
|
|
145
149
|
});
|
|
146
150
|
return steps;
|
|
147
151
|
};
|
|
152
|
+
var getCorrectionPopinProps = function (isCorrect, correctAnswer, klf) { return ({
|
|
153
|
+
klf: isCorrect
|
|
154
|
+
? undefined
|
|
155
|
+
: {
|
|
156
|
+
label: '_klf',
|
|
157
|
+
tooltip: klf
|
|
158
|
+
},
|
|
159
|
+
resultLabel: isCorrect ? '_right' : '_wrong',
|
|
160
|
+
information: {
|
|
161
|
+
label: isCorrect ? '_klf' : '_correctAnswer',
|
|
162
|
+
message: isCorrect ? klf : join(',', correctAnswer)
|
|
163
|
+
},
|
|
164
|
+
next: {
|
|
165
|
+
ariaLabel: '_correctionNextAriaLabel',
|
|
166
|
+
label: '_correctionNextLabel'
|
|
167
|
+
},
|
|
168
|
+
type: isCorrect ? 'right' : 'wrong'
|
|
169
|
+
}); };
|
|
148
170
|
export var mapStateToSlidesProps = function (state, dispatch) {
|
|
171
|
+
var currentSlideRef = get(['ui', 'currentSlideRef'], state);
|
|
172
|
+
var correction = get(['data', 'corrections', currentSlideRef], state);
|
|
173
|
+
var isCorrect = get(['data', 'progression', 'state', 'isCorrect'], state);
|
|
174
|
+
var klf = getOr('', ['data', 'slides', currentSlideRef, 'klf'], state);
|
|
149
175
|
return {
|
|
150
176
|
header: {
|
|
151
177
|
mode: '__revision_mode',
|
|
@@ -163,11 +189,11 @@ export var mapStateToSlidesProps = function (state, dispatch) {
|
|
|
163
189
|
validateButton: {
|
|
164
190
|
label: '__validate',
|
|
165
191
|
disabled: !get('ui.slide.validateButton', state),
|
|
166
|
-
onClick: function () {
|
|
192
|
+
onClick: /* istanbul ignore next */ function () {
|
|
167
193
|
dispatch(postAnswer);
|
|
168
194
|
}
|
|
169
195
|
},
|
|
170
|
-
correctionPopinProps:
|
|
196
|
+
correctionPopinProps: correction && getCorrectionPopinProps(isCorrect, correction.correctAnswer, klf),
|
|
171
197
|
endReview: false
|
|
172
198
|
},
|
|
173
199
|
congratsProps: undefined
|
|
@@ -12,10 +12,10 @@ export var qcmGraphicSlide = {
|
|
|
12
12
|
media: {
|
|
13
13
|
src: [
|
|
14
14
|
{
|
|
15
|
-
_id: '
|
|
15
|
+
_id: '616dbbb61a50f8051c1971ba',
|
|
16
16
|
mimeType: 'image/jpeg',
|
|
17
|
-
url: '//static.coorpacademy.com/content/CoorpAcademy/content-
|
|
18
|
-
id: '
|
|
17
|
+
url: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_180530003-1618999931321.jpg',
|
|
18
|
+
id: '616dbbb61a50f8051c1971ba'
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
21
|
posters: [],
|
|
@@ -23,19 +23,19 @@ export var qcmGraphicSlide = {
|
|
|
23
23
|
type: 'img'
|
|
24
24
|
},
|
|
25
25
|
items: [],
|
|
26
|
-
_id: '
|
|
27
|
-
label: '
|
|
28
|
-
value: '
|
|
29
|
-
id: '
|
|
26
|
+
_id: '616dbbb61a50f8051c1971b9',
|
|
27
|
+
label: 'La consolidation des acquis',
|
|
28
|
+
value: 'sli_4k5O3zaN5.choice_E1ebZYyF8q',
|
|
29
|
+
id: '616dbbb61a50f8051c1971b9'
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
media: {
|
|
33
33
|
src: [
|
|
34
34
|
{
|
|
35
|
-
_id: '
|
|
35
|
+
_id: '616dbbb61a50f8051c1971bc',
|
|
36
36
|
mimeType: 'image/jpeg',
|
|
37
|
-
url: '//static.coorpacademy.com/content/CoorpAcademy/content-
|
|
38
|
-
id: '
|
|
37
|
+
url: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_1170951868-1618999931510.jpg',
|
|
38
|
+
id: '616dbbb61a50f8051c1971bc'
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
41
|
posters: [],
|
|
@@ -43,19 +43,139 @@ export var qcmGraphicSlide = {
|
|
|
43
43
|
type: 'img'
|
|
44
44
|
},
|
|
45
45
|
items: [],
|
|
46
|
-
_id: '
|
|
47
|
-
label: '
|
|
48
|
-
value: '
|
|
49
|
-
id: '
|
|
46
|
+
_id: '616dbbb61a50f8051c1971bb',
|
|
47
|
+
label: 'Le retour d’information',
|
|
48
|
+
value: 'sli_4k5O3zaN5.choice_NygF~FJFIc',
|
|
49
|
+
id: '616dbbb61a50f8051c1971bb'
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
media: {
|
|
53
|
+
src: [
|
|
54
|
+
{
|
|
55
|
+
_id: '616dbbb61a50f8051c1971be',
|
|
56
|
+
mimeType: 'image/jpeg',
|
|
57
|
+
url: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_439207960-1618999931642.jpg',
|
|
58
|
+
id: '616dbbb61a50f8051c1971be'
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
posters: [],
|
|
62
|
+
subtitles: [],
|
|
63
|
+
type: 'img'
|
|
64
|
+
},
|
|
65
|
+
items: [],
|
|
66
|
+
_id: '616dbbb61a50f8051c1971bd',
|
|
67
|
+
label: 'L’engagement actif',
|
|
68
|
+
value: 'sli_4k5O3zaN5.choice_4yx5bKJKIc',
|
|
69
|
+
id: '616dbbb61a50f8051c1971bd'
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
media: {
|
|
73
|
+
src: [
|
|
74
|
+
{
|
|
75
|
+
_id: '616dbbb61a50f8051c1971c0',
|
|
76
|
+
mimeType: 'image/jpeg',
|
|
77
|
+
url: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_538654849-1618999935091.jpg',
|
|
78
|
+
id: '616dbbb61a50f8051c1971c0'
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
posters: [],
|
|
82
|
+
subtitles: [],
|
|
83
|
+
type: 'img'
|
|
84
|
+
},
|
|
85
|
+
items: [],
|
|
86
|
+
_id: '616dbbb61a50f8051c1971bf',
|
|
87
|
+
label: 'La motivation',
|
|
88
|
+
value: 'sli_4k5O3zaN5.choice_VkzcZY1F8q',
|
|
89
|
+
id: '616dbbb61a50f8051c1971bf'
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
media: {
|
|
93
|
+
src: [
|
|
94
|
+
{
|
|
95
|
+
_id: '616dbbb61a50f8051c1971c2',
|
|
96
|
+
mimeType: 'image/jpeg',
|
|
97
|
+
url: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_485162803-1618999941454.jpg',
|
|
98
|
+
id: '616dbbb61a50f8051c1971c2'
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
posters: [],
|
|
102
|
+
subtitles: [],
|
|
103
|
+
type: 'img'
|
|
104
|
+
},
|
|
105
|
+
items: [],
|
|
106
|
+
_id: '616dbbb61a50f8051c1971c1',
|
|
107
|
+
label: 'L’attention',
|
|
108
|
+
value: 'sli_4k5O3zaN5.choice_Vken~YJFI5',
|
|
109
|
+
id: '616dbbb61a50f8051c1971c1'
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
media: {
|
|
113
|
+
src: [
|
|
114
|
+
{
|
|
115
|
+
_id: '616dbbb61a50f8051c1971c4',
|
|
116
|
+
mimeType: 'image/jpeg',
|
|
117
|
+
url: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_374136655-1619000050478.jpg',
|
|
118
|
+
id: '616dbbb61a50f8051c1971c4'
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
posters: [],
|
|
122
|
+
subtitles: [],
|
|
123
|
+
type: 'img'
|
|
124
|
+
},
|
|
125
|
+
items: [],
|
|
126
|
+
_id: '616dbbb61a50f8051c1971c3',
|
|
127
|
+
label: 'La confiance en soi',
|
|
128
|
+
value: 'sli_4k5O3zaN5.choice_4JgpWKkFLq',
|
|
129
|
+
id: '616dbbb61a50f8051c1971c3'
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
media: {
|
|
133
|
+
src: [
|
|
134
|
+
{
|
|
135
|
+
_id: '616dbbb61a50f8051c1971c6',
|
|
136
|
+
mimeType: 'image/jpeg',
|
|
137
|
+
url: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_142530529-1618999997389.jpg',
|
|
138
|
+
id: '616dbbb61a50f8051c1971c6'
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
posters: [],
|
|
142
|
+
subtitles: [],
|
|
143
|
+
type: 'img'
|
|
144
|
+
},
|
|
145
|
+
items: [],
|
|
146
|
+
_id: '616dbbb61a50f8051c1971c5',
|
|
147
|
+
label: 'La capacité d’abstraction',
|
|
148
|
+
value: 'sli_4k5O3zaN5.choice_NJfabKkK8q',
|
|
149
|
+
id: '616dbbb61a50f8051c1971c5'
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
media: {
|
|
153
|
+
src: [
|
|
154
|
+
{
|
|
155
|
+
_id: '616dbbb61a50f8051c1971c8',
|
|
156
|
+
mimeType: 'image/jpeg',
|
|
157
|
+
url: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_5948041-1618999993222.jpg',
|
|
158
|
+
id: '616dbbb61a50f8051c1971c8'
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
posters: [],
|
|
162
|
+
subtitles: [],
|
|
163
|
+
type: 'img'
|
|
164
|
+
},
|
|
165
|
+
items: [],
|
|
166
|
+
_id: '616dbbb61a50f8051c1971c7',
|
|
167
|
+
label: 'L’abnégation',
|
|
168
|
+
value: 'sli_4k5O3zaN5.choice_41xAWYJYI9',
|
|
169
|
+
id: '616dbbb61a50f8051c1971c7'
|
|
50
170
|
}
|
|
51
171
|
]
|
|
52
172
|
},
|
|
53
173
|
type: 'qcmGraphic',
|
|
54
|
-
header: '
|
|
55
|
-
explanation: 'Sélectionnez
|
|
174
|
+
header: 'Quels sont les 4 piliers de l’apprentissage ?',
|
|
175
|
+
explanation: 'Sélectionnez les 4 bonnes réponses.'
|
|
56
176
|
},
|
|
57
|
-
klf:
|
|
58
|
-
tips:
|
|
177
|
+
klf: 'Avec l’engagement actif, le retour d’information et la consolidation des acquis, l’attention est le premier des quatre piliers de l’apprentissage, identifiés par les chercheurs en neuroscience, spécialistes de l’éducation.',
|
|
178
|
+
tips: 'Une configuration idéale pour l’apprentissage, mettant en œuvre ces 4 piliers : présenter à un apprenant un contenu de durée raisonnable, qui respecte le temps d’attention qu’il peut lui accorder ; proposer ensuite un exercice sur le contenu qui vient d’être expliqué ; puis donner à l’apprenant un retour en direct sur sa production.',
|
|
59
179
|
universalRef: 'sli_VkSQroQnx',
|
|
60
180
|
_id: 'sli_VkSQroQnx',
|
|
61
181
|
parentContentTitle: {
|
|
@@ -64,25 +184,67 @@ export var qcmGraphicSlide = {
|
|
|
64
184
|
}
|
|
65
185
|
};
|
|
66
186
|
export var qcmGraphicUISlide = {
|
|
67
|
-
questionText: '
|
|
187
|
+
questionText: 'Quels sont les 4 piliers de l’apprentissage ?',
|
|
68
188
|
answerUI: {
|
|
69
|
-
help: 'Sélectionnez
|
|
189
|
+
help: 'Sélectionnez les 4 bonnes réponses.',
|
|
70
190
|
model: {
|
|
71
191
|
type: 'qcmGraphic',
|
|
72
192
|
answers: [
|
|
73
193
|
{
|
|
74
|
-
title: '
|
|
75
|
-
image: '//static.coorpacademy.com/content/CoorpAcademy/content-
|
|
194
|
+
title: 'La consolidation des acquis',
|
|
195
|
+
image: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_180530003-1618999931321.jpg',
|
|
196
|
+
selected: false,
|
|
197
|
+
ariaLabel: 'La consolidation des acquis',
|
|
198
|
+
onClick: noop
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
title: 'Le retour d’information',
|
|
202
|
+
image: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_1170951868-1618999931510.jpg',
|
|
203
|
+
selected: false,
|
|
204
|
+
ariaLabel: 'Le retour d’information',
|
|
205
|
+
onClick: noop
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
title: 'L’engagement actif',
|
|
209
|
+
image: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_439207960-1618999931642.jpg',
|
|
210
|
+
selected: false,
|
|
211
|
+
ariaLabel: 'L’engagement actif',
|
|
212
|
+
onClick: noop
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
title: 'La motivation',
|
|
216
|
+
image: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_538654849-1618999935091.jpg',
|
|
217
|
+
selected: false,
|
|
218
|
+
ariaLabel: 'La motivation',
|
|
219
|
+
onClick: noop
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
title: 'L’attention',
|
|
223
|
+
image: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_485162803-1618999941454.jpg',
|
|
224
|
+
selected: false,
|
|
225
|
+
ariaLabel: 'L’attention',
|
|
226
|
+
onClick: noop
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
title: 'La confiance en soi',
|
|
230
|
+
image: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_374136655-1619000050478.jpg',
|
|
231
|
+
selected: false,
|
|
232
|
+
ariaLabel: 'La confiance en soi',
|
|
233
|
+
onClick: noop
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
title: 'La capacité d’abstraction',
|
|
237
|
+
image: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_142530529-1618999997389.jpg',
|
|
76
238
|
selected: false,
|
|
77
|
-
|
|
78
|
-
|
|
239
|
+
ariaLabel: 'La capacité d’abstraction',
|
|
240
|
+
onClick: noop
|
|
79
241
|
},
|
|
80
242
|
{
|
|
81
|
-
title: '
|
|
82
|
-
image: '//static.coorpacademy.com/content/CoorpAcademy/content-
|
|
243
|
+
title: 'L’abnégation',
|
|
244
|
+
image: '//static.coorpacademy.com/content/CoorpAcademy/content-science-et-vie/cockpit-science-et-vie/default/shutterstock_5948041-1618999993222.jpg',
|
|
83
245
|
selected: false,
|
|
84
|
-
|
|
85
|
-
|
|
246
|
+
ariaLabel: 'L’abnégation',
|
|
247
|
+
onClick: noop
|
|
86
248
|
}
|
|
87
249
|
]
|
|
88
250
|
}
|