From c15ff0e4629eeed56a59e79cefdf66fb35451622 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 6 Aug 2026 12:19:33 +0200 Subject: remove observations and present mandatory candidates in the mass view --- cockpit.html | 61 ++-------- doc/graduation.md | 22 +--- mass-graduation.css | 53 ++------- mass-graduation.html | 12 +- src/cockpit.js | 68 +----------- src/graduation-common.ts | 258 +++++-------------------------------------- src/graduation-mock.ts | 22 +--- src/graduation-prod.ts | 4 - src/mass-graduation.js | 281 +++++++++-------------------------------------- src/mock.ts | 20 +--- 10 files changed, 120 insertions(+), 681 deletions(-) diff --git a/cockpit.html b/cockpit.html index d40bc38..c06eb07 100644 --- a/cockpit.html +++ b/cockpit.html @@ -8,7 +8,7 @@ -
+
Kalender --> -
+
Graduierung - -
- Übersicht über Grüne, Orangene und Rote Punkte - - - - - - - - - -
DatumGrundCoach
-
- -
- Aktueller Beobachtungszeitraum - - - - - - - - - -
JaNein
- - -
- -
- Vergangene Beobachtungszeiträume - - -
-
+ + + + + + + + + +
DatumGrundCoach
diff --git a/doc/graduation.md b/doc/graduation.md index 9edc289..26bd1b2 100644 --- a/doc/graduation.md +++ b/doc/graduation.md @@ -49,11 +49,11 @@ Valid changes are: * `Grün` - sign for wanted behavior * `Orange` - sign for unwanted behavior * `Rot` - sign for unacceptable behavior -* `ObservationRequest` - the student requested an observation -* `ObservationStart` - the student's observation started -* `ObservationEnd` - the student's observation ended * `LevelChange` - the student's level changed -* `Observation` - an observation of the student + +#### Mandatory Changes + +Changes can be marked as mandatory by adding `mandatory: true` to its context. #### Green Mark @@ -66,17 +66,3 @@ Orange marks highlight the need for a pedagogical session and are rendered archi #### Red Mark Red Marks track unacceptable behavior and are only archived by consequence explicitly doing so with a `Änderung` change. - -#### Obseration - -An observation consists of a set of answers to thefollowing questions: - -1. "Arbeitet konzentriert an Aufgaben" -2. "Arbeitet zunehmend selbstständig" -3. "Führt das Logbuch zuverlässig" -4. "Bringt Material mit" -5. "Hält Regeln ein" -6. "Geht verantwortungsvoll mit Materialien und LernRaum um" -7. "Nimmt Rückmeldungen an und setzt sie um" - -The answer set is ordered and each answer is one of the three values `"yes"|"no"|""`. diff --git a/mass-graduation.css b/mass-graduation.css index d32d7c1..0aa6341 100644 --- a/mass-graduation.css +++ b/mass-graduation.css @@ -92,13 +92,19 @@ #group-content { } -#group-members { +#group-members, +#group-mandatory-members { padding-left: 0; } -.group-member { +#group-mandatory-members { + background: rgb(from orange r g b / 30%); +} + +.group-member, +.group-mandatory-member { display: grid; - grid-template-columns: 30px 200px 30px repeat(3, 40px) auto 20px; + grid-template-columns: 30px 200px repeat(3, 40px); } .group-member-icon { @@ -111,11 +117,6 @@ align-self: center; } -.group-member-observation-icon { - border: none; - background: none; -} - .group-member-green, .group-member-orange, .group-member-red { @@ -135,42 +136,6 @@ margin: 1px; } -#group-member-point-reason { - box-sizing: border-box; - padding: 10px; - width: 50%; - font-size: 0.8rem; - letter-spacing: 1px; - line-height: 1.5; - border-radius: 5px; - border: 1px solid #cccccc; -} - -.group-member-print { - background: none; - border: none; - font-size: larger; -} - -.group-member-observation-container { - background: lightgray; - width: 100%; -} - -.group-member-observation-table { - background: lightgray; -} -.group-member-observation-table-description { - max-width: 70%; -} - -.group-member-observation-table-yes, -.group-member-observation-table-no, -.group-member-observation-table-maybe { - width: 10%; - text-align: center; -} - .submit-mass-graduation-inprogress { --size: 0.5px; width: calc(48 * var(--size)); diff --git a/mass-graduation.html b/mass-graduation.html index 93be247..e6e5d62 100644 --- a/mass-graduation.html +++ b/mass-graduation.html @@ -19,17 +19,15 @@