"Vorgang": Fallmappe für Klassenbuch- und Dokumentationseinträge
CI / build-and-test (push) Canceled after 0s

Neuer 4. Tab in der Klassenlehreransicht: bündelt Titel, Beschreibung,
Schlagwörter, verknüpfte Dokumentation und angeheftete (eingefrorene)
WebUntis-Klassenbucheinträge zu einem laufenden Problem mit einer/einem
oder mehreren Schüler*innen. Anheften direkt aus dem Klassenbuch-Tab per
Rechtsklick. Sync-fähig nach dem bestehenden Documentation-Muster.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-01 22:42:06 +02:00
co-authored by Claude Sonnet 5
parent 987b49e761
commit 15463bc292
23 changed files with 1191 additions and 5 deletions
@@ -19,6 +19,21 @@ public partial class ClassTeacherRegisterView : UserControl
if (DataContext is not ClassTeacherDetailsViewModel vm) return;
vm.OnEditOwnDocumentation = ShowDocumentationDialog;
vm.OnConfirmDeleteOwnDocumentation = ShowDeleteDocumentationDialog;
vm.OnPickVorgangForPin = ShowPinToVorgangDialog;
}
private async Task<PinToVorgangChoice?> ShowPinToVorgangDialog(ClassTeacherClassRegisterRow row)
{
if (DataContext is not ClassTeacherDetailsViewModel vm) return null;
var owner = TopLevel.GetTopLevel(this) as Window;
if (owner is null) return null;
var summary = $"{row.DateLabel} · {row.StudentDisplayName} · {row.CategoryName}";
var matchingCases = vm.OpenCasesFor(row.StudentName);
var dialogVm = new PinToVorgangDialogViewModel(summary, matchingCases);
var dialog = new PinToVorgangDialog { DataContext = dialogVm };
var confirmed = await dialog.ShowDialog<bool>(owner);
return confirmed ? dialogVm.Result : null;
}
private async Task<Documentation?> ShowDocumentationDialog(