+
-
+
@@ -145,6 +157,7 @@ export default class TeacherDashboard extends Vue {
completedGames: AdminGameData[] = [];
inspectedCompletedGame: AdminGameData | null = null;
+ // inspectedChatLogs: StudentChatMessageData[] = [];
completedGameFields = [
{ key: "id", label: "Game ID" },
@@ -173,16 +186,21 @@ export default class TeacherDashboard extends Vue {
],
};
playerChartOptions = {
- responsive: true,
- maintainAspectRatio: false,
plugins: {
title: {
display: true,
- font: { size: 24 },
+ font: { size: 22 },
padding: { bottom: 10 },
text: "Total Player Points per Round",
},
- legend: {},
+ legend: { labels: { boxWidth: 30, padding: 15 } },
+ tooltip: {
+ callbacks: {
+ title: function (tooltipItems: any) {
+ return `Round: ${tooltipItems[0].label}`;
+ },
+ },
+ },
},
scales: {
x: {
@@ -192,13 +210,6 @@ export default class TeacherDashboard extends Vue {
font: { size: 14 },
},
},
- y: {
- title: {
- display: true,
- text: "Points",
- font: { size: 14 },
- },
- },
},
};
@@ -210,16 +221,24 @@ export default class TeacherDashboard extends Vue {
],
};
systemChartOptions = {
- responsive: true,
- maintainAspectRatio: false,
plugins: {
title: {
display: true,
- font: { size: 24 },
+ font: { size: 22 },
padding: { bottom: 10 },
text: "System Health Status per Round",
},
legend: { display: false },
+ tooltip: {
+ callbacks: {
+ title: function (tooltipItems: any) {
+ return `Round: ${tooltipItems[0].label}`;
+ },
+ label: function (tooltipItem: any) {
+ return `${tooltipItem.dataset.label}: ${tooltipItem.raw}%`;
+ },
+ },
+ },
},
scales: {
x: {
@@ -229,13 +248,6 @@ export default class TeacherDashboard extends Vue {
font: { size: 14 },
},
},
- y: {
- title: {
- display: true,
- text: "Health (%)",
- font: { size: 14 },
- },
- },
},
};
diff --git a/client/src/views/EducatorPrivacy.vue b/client/src/views/EducatorPrivacy.vue
index 7bcbfd82d..111115924 100644
--- a/client/src/views/EducatorPrivacy.vue
+++ b/client/src/views/EducatorPrivacy.vue
@@ -61,8 +61,4 @@ ul,
p {
color: #fff;
}
-
-ul {
- padding-left: 2rem;
-}
diff --git a/shared/src/types.ts b/shared/src/types.ts
index 0eb4375a2..164d66398 100644
--- a/shared/src/types.ts
+++ b/shared/src/types.ts
@@ -561,3 +561,9 @@ export interface TeacherData {
name: string;
email?: string;
}
+
+// export interface StudentChatMessageData {
+// dateCreated: string;
+// roomId: string;
+// message: string;
+// }