Add warning detail popup and quick blocks for Vorgänge
CI / build-and-test (push) Canceled after 0s

Dashboard warnings (attendance, homework, lateness) get a "Details" flyout
with key figures, a list of dates and the compact month calendar from the
class teacher overview, now extracted as a shared control. The calendar
now aligns days under their weekday (Mo-So header, blank leading cells).

Creating Vorgänge and documentation is supported by quick blocks with the
current figures, dated standard phrases (e.g. "Klassenleitung informiert")
and documentation templates (status snapshot, conversation, informing the
class/subject teachers, parent call, parent letter). The class teacher
Vorgänge tab uses WebUntis figures (absences across all subjects, class
register) for the same blocks and templates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-09-26 11:16:13 +02:00
1 parent 0f6cadc9c8
commit aa326cf8b6
25 files changed
+1571 -75

No files matched your search

@@ -122,10 +122,36 @@
</ItemsControl>
<TextBlock Text="Noch keine Dokumentation verknüpft." FontSize="11" Opacity="0.5"
IsVisible="{Binding !HasLinkedDocumentation}"/>
<Button Content="+ Neue Dokumentation anlegen" FontSize="11" Padding="8,3"
HorizontalAlignment="Left"
Command="{Binding $parent[ItemsControl].((svm:StudentVorgaengeViewModel)DataContext).CreateAndLinkDocumentationCommand}"
CommandParameter="{Binding}"/>
<StackPanel Orientation="Horizontal" Spacing="6">
<Button Content="+ Neue Dokumentation anlegen" FontSize="11" Padding="8,3"
Command="{Binding $parent[ItemsControl].((svm:StudentVorgaengeViewModel)DataContext).CreateAndLinkDocumentationCommand}"
CommandParameter="{Binding}"/>
<!-- Nutzer-Feedback: standardisierte Einträge statt alles von Hand — jede
Vorlage öffnet den normalen Dokumentations-Dialog vorbefüllt mit dem
aktuellen Stand (Zahlen, Termine), gespeichert wird erst dort. -->
<Button Content="+ Aus Vorlage ▾" FontSize="11" Padding="8,3"
IsVisible="{Binding HasDocumentationTemplates}">
<Button.Flyout>
<MenuFlyout>
<MenuItem Header="Fehlzeiten-Stand festhalten"
Command="{Binding CreateFromTemplateCommand}" CommandParameter="attendance"/>
<MenuItem Header="Hausaufgaben-Stand festhalten"
Command="{Binding CreateFromTemplateCommand}" CommandParameter="homework"/>
<MenuItem Header="Verspätungs-Stand festhalten"
Command="{Binding CreateFromTemplateCommand}" CommandParameter="lateness"/>
<Separator/>
<MenuItem Header="Gespräch mit Schüler*in"
Command="{Binding CreateFromTemplateCommand}" CommandParameter="conversation"/>
<MenuItem Header="Klassenleitung informieren"
Command="{Binding CreateFromTemplateCommand}" CommandParameter="informclassteacher"/>
<MenuItem Header="Elternanruf vorbereiten"
Command="{Binding CreateFromTemplateCommand}" CommandParameter="parentcall"/>
<MenuItem Header="Elternbrief entwerfen"
Command="{Binding CreateFromTemplateCommand}" CommandParameter="parentletter"/>
</MenuFlyout>
</Button.Flyout>
</Button>
</StackPanel>
</StackPanel>
<StackPanel Spacing="4" IsVisible="{Binding HasAvailableDocumentation}">