From af8585faa1aa7c39564c583963349c4a2922df9c Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 24 Jun 2026 09:18:26 +0200 Subject: cockpit: finish prototype UI * remove process and calendar * add observation period * improve mocking --- js/mock.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js/mock.js') diff --git a/js/mock.js b/js/mock.js index fe60ef3..e4aca53 100644 --- a/js/mock.js +++ b/js/mock.js @@ -48,6 +48,7 @@ for (const s of students) { graduationChanges[s.name] = [ GraduationChange.newGreenPointChange(s, "", "Florian Fischer"), GraduationChange.newGreenPointChange(s, "", "Florian Fischer"), + new GraduationChange(new Date(), s.id, s.name, "Änderung", "", "", '{"type": "ObservationStart"}'), ]; break; case "b b b": @@ -55,6 +56,8 @@ for (const s of students) { GraduationChange.newRedPointChange(s, "", "Florian Fischer"), ]; } + // Build the student's graduation + Graduation.from(s, graduationChanges[s.name]); } function fetchGraduationMock(s) { -- cgit v1.2.3