Skip to content

Commit

Permalink
Learn is complete
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincharles committed Feb 8, 2023
1 parent f722719 commit 69b7361
Showing 1 changed file with 28 additions and 24 deletions.
52 changes: 28 additions & 24 deletions src/Tools/_framework/ToolPanels/HomePanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -311,30 +311,34 @@ export default function HomePage(props) {
<p>One benefit of using Doenet during in-class activities is the immediate feedback
students receive even before an instructor can come by their group.</p>
<h3>Open-ended response example (<a target="_blank" href="https://www.doenet.org/public?tool=editor&doenetId=_4hcncjV6Ffabz5lhD47aL">See Source</a>)</h3>

<PageViewer
key={`HPpageViewer`}
doenetML={doenetML}
flags={{
showCorrectness: true,
solutionDisplayMode: true,
showFeedback: true,
showHints: true,
autoSubmit: false,
allowLoadState: false,
allowSaveState: false,
allowLocalState: false,
allowSaveSubmissions: false,
allowSaveEvents: false
}}
// doenetId={doenetId}
attemptNumber={1}
generatedVariantCallback={variantCallback} //TODO:Replace
requestedVariantIndex={variantInfo.index}

// setIsInErrorState={setIsInErrorState}
pageIsActive={true}
/>
<div style={{
background: 'white',
padding: '20px 0px 20px 0px'
}}>
<PageViewer
key={`HPpageViewer`}
doenetML={doenetML}
flags={{
showCorrectness: true,
solutionDisplayMode: true,
showFeedback: true,
showHints: true,
autoSubmit: false,
allowLoadState: false,
allowSaveState: false,
allowLocalState: false,
allowSaveSubmissions: false,
allowSaveEvents: false
}}
// doenetId={doenetId}
attemptNumber={1}
generatedVariantCallback={variantCallback} //TODO:Replace
requestedVariantIndex={variantInfo.index}

// setIsInErrorState={setIsInErrorState}
pageIsActive={true}
/>
</div>
</div>

</div>
Expand Down

0 comments on commit 69b7361

Please sign in to comment.