From 75b08e30290767552405a2f5120f55defbd4640a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:25:44 +0100 Subject: [PATCH 1/2] feat(etb): search the Einsatztagebuch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A real Einsatz runs to hundreds of ETB entries, and finding one again meant scrolling. A search field in the ETB header narrows the list to the entries containing every typed word in Eintrag, Von, An or Erfasst von, the way the Beteiligte search does. It narrows what the Systemmeldungen and Lagemeldungen checkboxes let through, keeps the grid's selection (reconciled in place, "2 von 35", Escape or the clear button empties it, and an empty result says so instead of showing a blank list. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> --- changelog.d/+etb-search.added.md | 1 + src/LageBuch.App.Shared/Views/EtbView.axaml | 40 +++- .../ViewModels/EtbViewModel.cs | 88 ++++++- .../AutomationPropertiesTests.cs | 3 +- .../ReadingOrderTabTests.cs | 7 +- .../WorkspaceAcceptanceTests.cs | 53 +++++ .../EtbViewModelSearchTests.cs | 225 ++++++++++++++++++ 7 files changed, 411 insertions(+), 6 deletions(-) create mode 100644 changelog.d/+etb-search.added.md create mode 100644 tests/LageBuch.AppLogic.Tests/EtbViewModelSearchTests.cs diff --git a/changelog.d/+etb-search.added.md b/changelog.d/+etb-search.added.md new file mode 100644 index 000000000..c3cd1289d --- /dev/null +++ b/changelog.d/+etb-search.added.md @@ -0,0 +1 @@ +The ETB can be searched: a field above the journal narrows it to the entries containing every word typed, in the Eintrag, Von, An or Erfasst von. diff --git a/src/LageBuch.App.Shared/Views/EtbView.axaml b/src/LageBuch.App.Shared/Views/EtbView.axaml index b7e574835..43830618f 100644 --- a/src/LageBuch.App.Shared/Views/EtbView.axaml +++ b/src/LageBuch.App.Shared/Views/EtbView.axaml @@ -92,6 +92,10 @@ + +