From e77c867beb593d99d25596442962061143456d3b Mon Sep 17 00:00:00 2001 From: Oliver Pelly Date: Wed, 8 Apr 2026 16:13:01 -0700 Subject: [PATCH] visual cleanup --- .../components/workspace/workspace.html | 8 ++--- .../desktop/components/workspace/workspace.ts | 1 + .../src/app/desktop/pages/home/home.html | 10 +++--- .../src/app/desktop/pages/home/home.scss | 16 +++++++++ .../src/app/desktop/pages/home/home.ts | 35 ++++++++++++++++++- 5 files changed, 61 insertions(+), 9 deletions(-) diff --git a/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.html b/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.html index 4df120a..0915d49 100644 --- a/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.html +++ b/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.html @@ -29,13 +29,13 @@ IEP {{ formatDate(student()!.nextIepDate) }}
+ @for (g of goals(); track g.goalId) { } -
@@ -46,15 +46,15 @@
{{ selectedGoal()!.category }} Goal - @if (selectedGoal()!.targetCompletionDate) { - Due {{ formatDate(selectedGoal()!.targetCompletionDate) }} - } + @if (selectedGoal()!.targetCompletionDate) { + Due {{ formatDate(selectedGoal()!.targetCompletionDate) }} + }

{{ selectedGoal()!.description }}

diff --git a/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.ts b/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.ts index 0606865..fa32d2a 100644 --- a/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.ts +++ b/ui/winstudentgoaltracker/src/app/desktop/components/workspace/workspace.ts @@ -28,6 +28,7 @@ export class Workspace { const goalId = params.get('goalId'); if (studentId && studentId !== this.studentId()) { + this.selectedGoalId.set(null); this.studentId.set(studentId); this.loadStudentData(studentId); } else if (!studentId) { diff --git a/ui/winstudentgoaltracker/src/app/desktop/pages/home/home.html b/ui/winstudentgoaltracker/src/app/desktop/pages/home/home.html index 8e6b9d2..644ca6c 100644 --- a/ui/winstudentgoaltracker/src/app/desktop/pages/home/home.html +++ b/ui/winstudentgoaltracker/src/app/desktop/pages/home/home.html @@ -28,7 +28,11 @@
- @for (s of students(); track s.studentId) { + @for (group of groupedStudents(); track group.label) { + @if (group.label) { +
{{ group.label }}
+ } + @for (s of group.students; track s.studentId) {
@@ -37,9 +41,6 @@
IEP: {{ formatDate(s.nextIepDate) }} - @if (showAll() && s.ownerName) { - ยท {{ s.ownerName }} - }
} + }