From 69d989c6b5e20d4ca883f7eac0968699c9ac71e2 Mon Sep 17 00:00:00 2001 From: Adam Richie-Halford Date: Tue, 16 Jan 2024 16:27:49 -0800 Subject: [PATCH 1/2] 1.0.3 --- package-lock.json | 4 ++-- package.json | 2 +- src/pages/ScoreReport.vue | 30 +++++++++++++++--------------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8ade4b1de..d5890a636 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "roar-dashboard", - "version": "1.0.2", + "version": "1.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "roar-dashboard", - "version": "1.0.2", + "version": "1.0.3", "dependencies": { "@bdelab/roam-fluency": "^1.6.0", "@bdelab/roar-firekit": "^4.2.0", diff --git a/package.json b/package.json index f7dd65311..e224439c3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "roar-dashboard", "private": true, - "version": "1.0.2", + "version": "1.0.3", "scripts": { "build": "vite build", "dev": "vite --force --host", diff --git a/src/pages/ScoreReport.vue b/src/pages/ScoreReport.vue index 62e9aafab..260e6fa30 100644 --- a/src/pages/ScoreReport.vue +++ b/src/pages/ScoreReport.vue @@ -163,12 +163,12 @@
ROAR-LETTER
Letter Names and Letter-Sound Matching

- ROAR-Letter assesses a student’s knowledge of letter names and letter sounds. Knowing letter names supports - the learning of letter sounds, and knowing letter sounds supports the learning of letter names. Initial - knowledge of letter names and letter sounds on entry to kindergarten has been shown to predict success in - learning to read. Learning the connection between letters and the sounds they represent is fundamental for - learning to decode and spell words. This assessment provides educators with valuable insights to customize - instruction and address any gaps in these foundational skills. + ROAR-Letter assesses a student’s knowledge of letter names and letter sounds. Knowing letter names + supports the learning of letter sounds, and knowing letter sounds supports the learning of letter names. + Initial knowledge of letter names and letter sounds on entry to kindergarten has been shown to predict + success in learning to read. Learning the connection between letters and the sounds they represent is + fundamental for learning to decode and spell words. This assessment provides educators with valuable + insights to customize instruction and address any gaps in these foundational skills.

@@ -178,8 +178,8 @@ ROAR - Phoneme assesses a student's mastery of phonological awareness through elision and sound matching tasks. Research indicates that phonological awareness, as a foundational pre-reading skill, is crucial for achieving reading fluency. Without support for their foundational reading abilities, students may struggle - to catch up in overall reading proficiency. The student's score will range between 0-57 and can be viewed by - selecting 'Raw Score' on the table above. + to catch up in overall reading proficiency. The student's score will range between 0-57 and can be viewed + by selecting 'Raw Score' on the table above.

@@ -197,13 +197,13 @@
ROAR-SENTENCE
Sentence Reading Efficiency

- ROAR - Sentence examines silent reading fluency and comprehension for individual sentences. To become fluent - readers, students need to decode words accurately and read sentences smoothly. Poor fluency can make it - harder for students to understand what they're reading. Students who don't receive support for their basic - reading skills may find it challenging to improve their overall reading ability. This assessment is helpful - for identifying students who may struggle with reading comprehension due to difficulties with decoding words - accurately or reading slowly and with effort. The student's score will range between 0-130 and can be viewed - by selecting 'Raw Score' on the table above. + ROAR - Sentence examines silent reading fluency and comprehension for individual sentences. To become + fluent readers, students need to decode words accurately and read sentences smoothly. Poor fluency can + make it harder for students to understand what they're reading. Students who don't receive support for + their basic reading skills may find it challenging to improve their overall reading ability. This + assessment is helpful for identifying students who may struggle with reading comprehension due to + difficulties with decoding words accurately or reading slowly and with effort. The student's score will + range between 0-130 and can be viewed by selecting 'Raw Score' on the table above.

From 2e1d58686701b5764c2062b956af365c349c8685 Mon Sep 17 00:00:00 2001 From: Elijah Kelly Date: Wed, 13 Dec 2023 11:32:15 -0800 Subject: [PATCH 2/2] Infrastructure for individual reports initial commit initial commit Modifed Page Fetcher function and build individual score reports. Build out individual score reports. Infrastructure for individual reports initial commit Modifed Page Fetcher function and build individual score reports. Styling changes and new formatting functions. Make dynamic with props Fix pagination error on Score Reports. Improve error handling and add support for raw-score-only tasks. Fix route params in datatable Improve error handling Add descriptions to tasks rebase onto main --- src/components/reports/DistributionChart.vue | 138 +++++++++ .../reports/IndividualScoreReportTask.vue | 272 ++++++++++++++++++ src/helpers/query/assignments.js | 21 +- src/pages/IndividualReport.vue | 270 +++++++++++++++++ src/pages/ScoreReport.vue | 19 +- src/router/index.js | 7 + 6 files changed, 715 insertions(+), 12 deletions(-) create mode 100644 src/components/reports/DistributionChart.vue create mode 100644 src/components/reports/IndividualScoreReportTask.vue create mode 100644 src/pages/IndividualReport.vue diff --git a/src/components/reports/DistributionChart.vue b/src/components/reports/DistributionChart.vue new file mode 100644 index 000000000..32f053bb8 --- /dev/null +++ b/src/components/reports/DistributionChart.vue @@ -0,0 +1,138 @@ + + + diff --git a/src/components/reports/IndividualScoreReportTask.vue b/src/components/reports/IndividualScoreReportTask.vue new file mode 100644 index 000000000..30c592552 --- /dev/null +++ b/src/components/reports/IndividualScoreReportTask.vue @@ -0,0 +1,272 @@ + + + + + + \ No newline at end of file diff --git a/src/helpers/query/assignments.js b/src/helpers/query/assignments.js index b0f97beb1..1b9cde160 100644 --- a/src/helpers/query/assignments.js +++ b/src/helpers/query/assignments.js @@ -643,15 +643,18 @@ export const assignmentPageFetcher = async ( const batchUserDocs = await adminAxiosInstance .post(':batchGet', { documents: userDocPaths, - mask: { fieldPaths: userSelectFields }, - }) - .then(({ data }) => { - return _without( - data.map(({ found }) => { - if (found) { - return { - name: found.name, - data: _mapValues(found.fields, (value) => convertValues(value)), + mask: { fieldPaths: userSelectFields },}) + .then(({ data }) => { + return _without( + data.map(({ found }) => { + if (found) { + const userId = found.name.split('/users/')[1]; + return { + name: found.name, + data: { + ..._mapValues(found.fields, (value) => convertValues(value)), + userId, + }, }; } return undefined; diff --git a/src/pages/IndividualReport.vue b/src/pages/IndividualReport.vue new file mode 100644 index 000000000..a91d1f2f9 --- /dev/null +++ b/src/pages/IndividualReport.vue @@ -0,0 +1,270 @@ + + + + + diff --git a/src/pages/ScoreReport.vue b/src/pages/ScoreReport.vue index 260e6fa30..56e4ea6e2 100644 --- a/src/pages/ScoreReport.vue +++ b/src/pages/ScoreReport.vue @@ -660,6 +660,15 @@ const columns = computed(() => { }); } } + tableColumns.push({ + header: 'Student Report', + link: true, + routeName: 'StudentReport', + routeTooltip: 'Student Score Report', + routeLabel: 'Individual Report', + routeIcon: 'pi pi-user', + sort: false, + }); return tableColumns; }); @@ -708,9 +717,9 @@ const tableData = computed(() => { assignment, scores, routeParams: { - administrationId: props.administrationId, - userId: _get(user, 'userId'), - }, + administrationId: props.administrationId, + userId: _get(user, 'userId'), + } }; } } @@ -718,6 +727,10 @@ const tableData = computed(() => { user, assignment, scores, + routeParams: { + administrationId: props.administrationId, + userId: _get(user, 'userId'), + } }; }); }); diff --git a/src/router/index.js b/src/router/index.js index 055e49b43..b76d638c0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -217,6 +217,13 @@ const routes = [ component: () => import('../pages/ScoreReport.vue'), meta: { pageTitle: 'View Scores', requireAdmin: true }, }, + { + path: '/scores/:administrationId/users/:userId', + name: 'StudentReport', + props: true, + component: () => import('../pages/IndividualReport.vue'), + meta: { pageTitle: 'Student Score Report', requireAdmin: true }, + }, { path: '/enable-cookies', name: 'EnableCookies',