feat: add default advanced setting ui callouts (#285)

This commit is contained in:
Kristin Aoki
2023-03-23 17:37:13 -04:00
committed by GitHub
parent 4410f0a544
commit 7ef1963327
28 changed files with 511 additions and 197 deletions

View File

@@ -21,7 +21,7 @@ export const apiMethods = {
fetchCourseDetails: ({ studioEndpointUrl, learningContextId }) => get(
urls.courseDetailsUrl({ studioEndpointUrl, learningContextId }),
),
fetchAdvanceSettings: ({ studioEndpointUrl, learningContextId }) => get(
fetchAdvancedSettings: ({ studioEndpointUrl, learningContextId }) => get(
urls.courseAdvanceSettings({ studioEndpointUrl, learningContextId }),
),
uploadAsset: ({

View File

@@ -61,6 +61,11 @@ export const problemDataProps = {
afterAtempts: PropTypes.number,
}),
showResetButton: PropTypes.bool,
defaultSettings: PropTypes.shape({
max_attempts: PropTypes.number,
showanswer: PropTypes.string,
show_reset_button: PropTypes.bool,
}),
}),
};