diff --git a/src/components/ListOrgs.vue b/src/components/ListOrgs.vue index d7b8d51da..9c1fb6cc4 100644 --- a/src/components/ListOrgs.vue +++ b/src/components/ListOrgs.vue @@ -53,8 +53,8 @@
diff --git a/src/components/RoarDataTable.vue b/src/components/RoarDataTable.vue index fb4a4df87..372fb7918 100644 --- a/src/components/RoarDataTable.vue +++ b/src/components/RoarDataTable.vue @@ -800,6 +800,9 @@ function getUniqueOptions(column) { const primaryTasks = [ 'scores.letter.percentCorrect', 'scores.letter.percentile', + 'scores.letter-en-ca.percentCorrect', + 'scores.letter-en-ca.percentile', + 'scores.letter-en-ca.rawScore', 'scores.pa.percentile', 'scores.swr.percentile', 'scores.sre.percentile', diff --git a/src/components/auth/RegisterChildren.vue b/src/components/auth/RegisterChildren.vue index 4287bad98..9bbe56fe7 100644 --- a/src/components/auth/RegisterChildren.vue +++ b/src/components/auth/RegisterChildren.vue @@ -70,7 +70,7 @@ diff --git a/src/components/reports/SubscoreTable.vue b/src/components/reports/SubscoreTable.vue index b793400e8..803178a3a 100644 --- a/src/components/reports/SubscoreTable.vue +++ b/src/components/reports/SubscoreTable.vue @@ -91,6 +91,16 @@ const columns = computed(() => { { field: 'scores.letter.incorrectPhonemes', header: 'Sounds To Work On', dataType: 'text', sort: false }, ); } + if (props.taskId === 'letter-en-ca') { + tableColumns.push( + { field: 'scores.letter-en-ca.lowerCaseScore', header: 'Lower Case', dataType: 'text', sort: false }, + { field: 'scores.letter-en-ca.upperCaseScore', header: 'Upper Case', dataType: 'text', sort: false }, + { field: 'scores.letter-en-ca.phonemeScore', header: 'Letter Sounds', dataType: 'text', sort: false }, + { field: 'scores.letter-en-ca.totalScore', header: 'Total', dataType: 'text', sort: false }, + { field: 'scores.letter-en-ca.incorrectLetters', header: 'Letters To Work On', dataType: 'text', sort: false }, + { field: 'scores.letter-en-ca.incorrectPhonemes', header: 'Sounds To Work On', dataType: 'text', sort: false }, + ); + } if (props.taskId === 'pa') { tableColumns.push( { field: 'scores.pa.firstSound', header: 'First Sound', dataType: 'text', sort: false }, @@ -119,6 +129,14 @@ const exportSelected = (selectedRows) => { _set(tableRow, 'Letters To Work On', _get(scores, 'letter.incorrectLetters')); _set(tableRow, 'Sounds To Work On', _get(scores, 'letter.incorrectPhonemes')); } + if (props.taskId === 'letter-en-ca') { + _set(tableRow, 'Lower Case', _get(scores, 'letter-en-ca.lowerCaseScore')); + _set(tableRow, 'Upper Case', _get(scores, 'letter-en-ca.upperCaseScore')); + _set(tableRow, 'Letter Sounds', _get(scores, 'letter-en-ca.phonemeScore')); + _set(tableRow, 'Total', _get(scores, 'letter-en-ca.totalScore')); + _set(tableRow, 'Letters To Work On', _get(scores, 'letter-en-ca.incorrectLetters')); + _set(tableRow, 'Sounds To Work On', _get(scores, 'letter-en-ca.incorrectPhonemes')); + } if (props.taskId === 'pa') { _set(tableRow, 'First Sound', _get(scores, 'pa.firstSound')); _set(tableRow, 'Last Sound', _get(scores, 'pa.lastSound')); @@ -147,6 +165,13 @@ const exportAll = async () => { _set(tableRow, 'Total', _get(scores, 'letter.totalScore')); _set(tableRow, 'Letters To Work On', _get(scores, 'letter.incorrectLetters')); _set(tableRow, 'Sounds To Work On', _get(scores, 'letter.incorrectPhonemes')); + } else if (props.taskId === 'letter-en-ca') { + _set(tableRow, 'Lower Case', _get(scores, 'letter-en-ca.lowerCaseScore')); + _set(tableRow, 'Upper Case', _get(scores, 'letter-en-ca.upperCaseScore')); + _set(tableRow, 'Letter Sounds', _get(scores, 'letter-en-ca.phonemeScore')); + _set(tableRow, 'Total', _get(scores, 'letter-en-ca.totalScore')); + _set(tableRow, 'Letters To Work On', _get(scores, 'letter-en-ca.incorrectLetters')); + _set(tableRow, 'Sounds To Work On', _get(scores, 'letter-en-ca.incorrectPhonemes')); } else if (props.taskId === 'pa') { _set(tableRow, 'First Sound', _get(scores, 'pa.firstSound')); _set(tableRow, 'Last Sound', _get(scores, 'pa.lastSound')); diff --git a/src/helpers/reports.js b/src/helpers/reports.js index 19f594ab5..49be8884c 100644 --- a/src/helpers/reports.js +++ b/src/helpers/reports.js @@ -25,6 +25,14 @@ export const taskDisplayNames = { extendedName: 'Letter Names and Sounds', order: 2, }, + 'letter-en-ca': { + name: 'Letter', + publicName: 'ROAR - Letter', + studentFacingName: 'Letter', + extendedTitle: 'ROAR - Letter', + extendedName: 'Letter Names and Sounds', + order: 27, + }, pa: { name: 'Phoneme', publicName: 'ROAR - Phoneme', @@ -257,6 +265,8 @@ export const extendedDescriptions = { cva: 'This test measures your students’ knowledge of words that are often used in the books they read at school', letter: 'This test measures how well your student knows the names of letters and which letters are used to spell each sound', + 'letter-en-ca': + 'This test measures how well your student knows the names of letters and which letters are used to spell each sound', 'letter-es.': 'This test measures how well your student knows the names of letters and which letters are used to spell each sound.', comp: 'Temporary description for comp', @@ -339,6 +349,7 @@ export const rawOnlyTasks = ['letter', 'cva', 'morphology', 'vocab', 'fluency', export const tasksToDisplayPercentCorrect = [ 'letter', 'letter-es', + 'letter-en-ca', 'cva', 'swr-es', 'pa-es', diff --git a/src/pages/ScoreReport.vue b/src/pages/ScoreReport.vue index 245485a94..e8195bbe2 100644 --- a/src/pages/ScoreReport.vue +++ b/src/pages/ScoreReport.vue @@ -1203,7 +1203,7 @@ const scoreReportColumns = computed(() => { } }); - const priorityTasks = ['swr', 'sre', 'pa', 'letter']; + const priorityTasks = ['swr', 'sre', 'pa', 'letter', 'letter-en-ca']; const spanishTasks = ['letter-es', 'pa-es', 'swr-es', 'sre-es']; const spanishMathTasks = ['fluency-arf-es', 'fluency-calf-es']; const supplementaryTasks = ['morphology', 'cva', 'vocab', 'trog', 'phonics', 'roar-inference'];