File tree Expand file tree Collapse file tree 6 files changed +21
-1
lines changed
Expand file tree Collapse file tree 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 11import React from 'react' ;
22
33import { useIsORAConfigLoaded } from 'data/services/lms/hooks/selectors' ;
4+ import ProgressBar from 'components/ProgressBar' ;
45
56import AssessmentContentLayout from './AssessmentContentLayout' ;
67import AssessmentActions from './AssessmentActions' ;
@@ -9,6 +10,7 @@ export const PeerAssessmentView = () => {
910 const isORAConfigLoaded = useIsORAConfigLoaded ( ) ;
1011 return (
1112 < >
13+ < ProgressBar />
1214 { isORAConfigLoaded && ( < AssessmentContentLayout /> ) }
1315 < AssessmentActions />
1416 </ >
Original file line number Diff line number Diff line change 11import React from 'react' ;
22
33import { useIsORAConfigLoaded } from 'data/services/lms/hooks/selectors' ;
4+ import ProgressBar from 'components/ProgressBar' ;
45
56import AssessmentContentLayout from './AssessmentContentLayout' ;
67import AssessmentActions from './AssessmentActions' ;
@@ -9,6 +10,7 @@ export const SelfAssessmentView = () => {
910 const isORAConfigLoaded = useIsORAConfigLoaded ( ) ;
1011 return (
1112 < >
13+ < ProgressBar />
1214 { isORAConfigLoaded && ( < AssessmentContentLayout /> ) }
1315 < AssessmentActions />
1416 </ >
Original file line number Diff line number Diff line change 11import React from 'react' ;
22
3+ import ProgressBar from 'components/ProgressBar' ;
34import { useIsORAConfigLoaded } from 'data/services/lms/hooks/selectors' ;
45
56import AssessmentContentLayout from './AssessmentContentLayout' ;
@@ -9,6 +10,7 @@ export const StudentTrainingView = () => {
910 const isORAConfigLoaded = useIsORAConfigLoaded ( ) ;
1011 return (
1112 < >
13+ < ProgressBar />
1214 { isORAConfigLoaded && ( < AssessmentContentLayout /> ) }
1315 < AssessmentActions />
1416 </ >
Original file line number Diff line number Diff line change 11import React from 'react' ;
22
3+ import ProgressBar from 'components/ProgressBar' ;
34import SubmissionContentLayout from './SubmissionContentLayout' ;
45import SubmissionActions from './SubmissionActions' ;
56import useSubmissionViewHooks from './hooks' ;
@@ -18,6 +19,7 @@ export const SubmissionView = () => {
1819 } = useSubmissionViewHooks ( ) ;
1920 return (
2021 < >
22+ < ProgressBar />
2123 < SubmissionContentLayout
2224 submission = { submission }
2325 oraConfigData = { oraConfigData }
Original file line number Diff line number Diff line change 11import React from 'react' ;
2+ import ProgressBar from 'components/ProgressBar' ;
23
34export const XBlockView = ( ) => (
4- < div > XBlock View</ div >
5+ < div >
6+ < ProgressBar />
7+ < h1 > XBlock View</ h1 >
8+ Testing react in the xblock
9+ </ div >
510) ;
611
712export default XBlockView ;
You can’t perform that action at this time.
0 commit comments