File tree 6 files changed +21
-1
lines changed
6 files changed +21
-1
lines changed Original file line number Diff line number Diff line change
1
+ import React from 'react' ;
2
+
3
+ export const ProgressBar = ( ) => (
4
+ < div > < h2 > Progress Bar</ h2 > </ div >
5
+ ) ;
6
+
7
+ export default ProgressBar ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
3
import { useIsORAConfigLoaded } from 'data/services/lms/hooks/selectors' ;
4
+ import ProgressBar from 'components/ProgressBar' ;
4
5
5
6
import AssessmentContentLayout from './AssessmentContentLayout' ;
6
7
import AssessmentActions from './AssessmentActions' ;
@@ -9,6 +10,7 @@ export const PeerAssessmentView = () => {
9
10
const isORAConfigLoaded = useIsORAConfigLoaded ( ) ;
10
11
return (
11
12
< >
13
+ < ProgressBar />
12
14
{ isORAConfigLoaded && ( < AssessmentContentLayout /> ) }
13
15
< AssessmentActions />
14
16
</ >
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
3
import { useIsORAConfigLoaded } from 'data/services/lms/hooks/selectors' ;
4
+ import ProgressBar from 'components/ProgressBar' ;
4
5
5
6
import AssessmentContentLayout from './AssessmentContentLayout' ;
6
7
import AssessmentActions from './AssessmentActions' ;
@@ -9,6 +10,7 @@ export const SelfAssessmentView = () => {
9
10
const isORAConfigLoaded = useIsORAConfigLoaded ( ) ;
10
11
return (
11
12
< >
13
+ < ProgressBar />
12
14
{ isORAConfigLoaded && ( < AssessmentContentLayout /> ) }
13
15
< AssessmentActions />
14
16
</ >
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
+ import ProgressBar from 'components/ProgressBar' ;
3
4
import { useIsORAConfigLoaded } from 'data/services/lms/hooks/selectors' ;
4
5
5
6
import AssessmentContentLayout from './AssessmentContentLayout' ;
@@ -9,6 +10,7 @@ export const StudentTrainingView = () => {
9
10
const isORAConfigLoaded = useIsORAConfigLoaded ( ) ;
10
11
return (
11
12
< >
13
+ < ProgressBar />
12
14
{ isORAConfigLoaded && ( < AssessmentContentLayout /> ) }
13
15
< AssessmentActions />
14
16
</ >
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
+ import ProgressBar from 'components/ProgressBar' ;
3
4
import SubmissionContentLayout from './SubmissionContentLayout' ;
4
5
import SubmissionActions from './SubmissionActions' ;
5
6
import useSubmissionViewHooks from './hooks' ;
@@ -18,6 +19,7 @@ export const SubmissionView = () => {
18
19
} = useSubmissionViewHooks ( ) ;
19
20
return (
20
21
< >
22
+ < ProgressBar />
21
23
< SubmissionContentLayout
22
24
submission = { submission }
23
25
oraConfigData = { oraConfigData }
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
+ import ProgressBar from 'components/ProgressBar' ;
2
3
3
4
export const XBlockView = ( ) => (
4
- < div > XBlock View</ div >
5
+ < div >
6
+ < ProgressBar />
7
+ < h1 > XBlock View</ h1 >
8
+ Testing react in the xblock
9
+ </ div >
5
10
) ;
6
11
7
12
export default XBlockView ;
You can’t perform that action at this time.
0 commit comments