diff --git a/client/src/api.ts b/client/src/api.ts index ce3c155d..97ed1469 100644 --- a/client/src/api.ts +++ b/client/src/api.ts @@ -254,6 +254,7 @@ export async function fetchConfig(): Promise { query FetchConfig{ config { classifierLambdaEndpoint + filterEmailMentorAddress uploadLambdaEndpoint subjectRecordPriority videoRecorderMaxLength @@ -354,6 +355,8 @@ export async function fetchUsers( viewPermission editPermission } + idleRecordingDuration + introRecordingText loginHeaderText welcomeSlideHeader welcomeSlideText @@ -1088,6 +1091,8 @@ export async function fetchMentorById( lockedToSubjects publiclyVisible mentorType + idleRecordingDuration + introRecordingText orgPermissions{ org viewPermission @@ -1271,6 +1276,8 @@ export async function fetchMentorConfig( lockedToSubjects publiclyVisible mentorType + introRecordingText + idleRecordingDuration orgPermissions{ org viewPermission @@ -2833,6 +2840,7 @@ export async function fetchOrganizations( } config { classifierLambdaEndpoint + filterEmailMentorAddress uploadLambdaEndpoint subjectRecordPriority videoRecorderMaxLength @@ -2932,6 +2940,7 @@ export async function addOrUpdateOrganization( } config { classifierLambdaEndpoint + filterEmailMentorAddress uploadLambdaEndpoint subjectRecordPriority videoRecorderMaxLength @@ -3016,6 +3025,7 @@ export async function updateOrgConfig( me { updateOrgConfig(id: $id, config: $config) { classifierLambdaEndpoint + filterEmailMentorAddress uploadLambdaEndpoint subjectRecordPriority videoRecorderMaxLength @@ -3073,6 +3083,7 @@ export async function updateOrgConfig( id, config: { styleHeaderTitle: config.styleHeaderTitle, + filterEmailMentorAddress: config.filterEmailMentorAddress, styleHeaderText: config.styleHeaderText, styleHeaderColor: config.styleHeaderColor, styleHeaderTextColor: config.styleHeaderTextColor, @@ -3131,6 +3142,7 @@ export async function updateConfig( me { updateConfig(config: $config) { classifierLambdaEndpoint + filterEmailMentorAddress uploadLambdaEndpoint subjectRecordPriority videoRecorderMaxLength @@ -3187,6 +3199,7 @@ export async function updateConfig( variables: { config: { styleHeaderTitle: config.styleHeaderTitle, + filterEmailMentorAddress: config.filterEmailMentorAddress, styleHeaderText: config.styleHeaderText, styleHeaderColor: config.styleHeaderColor, styleHeaderTextColor: config.styleHeaderTextColor, diff --git a/client/src/components/config/other-settings.tsx b/client/src/components/config/other-settings.tsx index f22ecb0c..5d511762 100644 --- a/client/src/components/config/other-settings.tsx +++ b/client/src/components/config/other-settings.tsx @@ -161,6 +161,18 @@ export function Settings(props: { shrink: true, }} /> + + updateConfig({ filterEmailMentorAddress: e.target.value }) + } + style={{ marginBottom: 20 }} + /> Question Sort Order