Skip to content

Commit

Permalink
Merge branch 'main' of github.com:yeatmanlab/roar-dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
richford committed Sep 16, 2024
2 parents c82407d + 71a59a0 commit 31f7c0e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
17 changes: 11 additions & 6 deletions src/components/RoarDataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
>
<template #header>
<div class="flex flex-row">
<div>Foundational</div>
<div>Foundational Reading Skills</div>
<div class="ml-2">
<PvButton class="p-0 border-none border-circle bg-primary" @click="toggle($event, 'primary')"
><i v-tooltip.top="'Learn more'" class="pi pi-info-circle text-white p-1 border-circle"></i
Expand Down Expand Up @@ -191,7 +191,7 @@
>
<template #header>
<div class="flex flex-row">
<div>Math<br />(In Development)</div>
<div>Mathematics<br />(In Development)</div>
<div class="mt-1 ml-2">
<PvButton class="p-0 border-none border-circle bg-primary" @click="toggle($event, 'math')"
><i v-tooltip.top="'Learn more'" class="pi pi-info-circle text-white p-1 border-circle"></i
Expand Down Expand Up @@ -241,7 +241,10 @@
:frozen="col.pinned"
:style="col.style"
align-frozen="left"
header-style="background:var(--primary-color); color:white; padding-top:0; margin-top:0; padding-bottom:0; margin-bottom:0; border:0; margin-left:0"
:header-style="
col.headerStyle ||
`background:var(--primary-color); color:white; padding-top:0; margin-top:0; padding-bottom:0; margin-bottom:0; border:0; margin-left:0`
"
>
<template #header>
<div
Expand Down Expand Up @@ -379,7 +382,7 @@
</PvColumnGroup>
<PvOverlayPanel ref="op" append-to="body" class="overflow-y-scroll" style="width: 60vh; max-height: 30vh">
<template v-if="selectedColumn === 'primary'">
<h3 class="font-bold">Foundational</h3>
<h3 class="font-bold">Foundational Reading Skills</h3>
<div>
<h4 class="font-bold">Word</h4>
Word indicates which students are in need of support in word-level decoding and automaticity. Word has
Expand Down Expand Up @@ -408,7 +411,7 @@
</div>
</template>
<template v-if="selectedColumn === 'spanishmath'">
<h3 class="font-bold">Spanish Math</h3>
<h3 class="font-bold">Spanish Mathematics</h3>
<div>
Spanish-language mathematics assessments provide additional insight into areas such as arithmetic
fluency, calculation ability, and mathematical procedures based on common core standards <br />
Expand All @@ -428,7 +431,7 @@
</div>
</template>
<template v-else-if="selectedColumn === 'math'">
<h3 class="font-bold">Math</h3>
<h3 class="font-bold">Mathematics</h3>
<div>
Mathematics assessments provide additional insight into areas such as arithmetic fluency, calculation
ability, and mathematical procedures based on common core standards<br />
Expand Down Expand Up @@ -837,6 +840,8 @@ const roamTasks = [
'scores.fluency-calf.numCorrect',
'scores.roam-alpaca.percentCorrect',
'scores.egma-math.percentCorrect',
'scores.fluency-calf.percentile',
'scores.fluency-arf.percentile',
];
const roavTasks = [
Expand Down
11 changes: 10 additions & 1 deletion src/pages/ScoreReport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1142,11 +1142,20 @@ const scoreReportColumns = computed(() => {
dataType: 'text',
sort: true,
filter: true,
headerStyle: authStore.isUserSuperAdmin
? `background:var(--primary-color); color:white; padding-top:0; margin-top:0; padding-bottom:0; margin-bottom:0; border:0; margin-left:0 `
: `background:var(--primary-color); color:white; padding-top:0; margin-top:0; padding-bottom:0; margin-bottom:0; border:0; margin-left:0; border-right-width:2px; border-right-style:solid; border-right-color:#ffffff;`,
});
}

if (authStore.isUserSuperAdmin) {
tableColumns.push({ field: 'user.assessmentPid', header: 'PID', dataType: 'text', sort: false });
tableColumns.push({
field: 'user.assessmentPid',
header: 'PID',
dataType: 'text',
sort: false,
headerStyle: `background:var(--primary-color); color:white; padding-top:0; margin-top:0; padding-bottom:0; margin-bottom:0; border:0; margin-left:0; border-right-width:2px; border-right-style:solid; border-right-color:#ffffff;`,
});
}

const sortedTasks = allTasks.value.toSorted((p1, p2) => {
Expand Down

0 comments on commit 31f7c0e

Please sign in to comment.