From 14097204e65f552b3ee649b3f63079c98dce3198 Mon Sep 17 00:00:00 2001 From: Rene Evertz Date: Wed, 10 Dec 2025 12:35:14 +0100 Subject: [PATCH] =?UTF-8?q?Routine=20in=20Oberfl=C3=A4che=20+=20Commands?= =?UTF-8?q?=20reaktiviert=20+=20Speichern=20erkennen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BeWo/DebugConfig.cs | 2 +- .../Detail/AI/AiPromptbausteinDetailView.xaml | 8 +-- .../Detail/AI/AiPromptbausteinTreeView.xaml | 14 +++-- .../AI/AiPromptbausteinTreeView.xaml.cs | 20 ++----- BeWo/ViewModel/AiPromptbausteinTreeVM.cs | 7 ++- .../AiPromptbausteinTreeListVM.cs | 55 ++++++++++++++++++- .../AI/AiPromptbausteinSelectionViewModel.cs | 5 +- .../AiPromptbausteinTreeViewModel.cs | 49 +++++++++++------ .../IAiPromptbausteinTreeExtension.cs | 36 ++++++++++++ Shared/Interface/IAiPromptbaustein.cs | 13 +++++ Shared/Shared.csproj | 2 + 11 files changed, 161 insertions(+), 50 deletions(-) create mode 100644 Shared/Extensions/CustomInterfaces/IAiPromptbausteinTreeExtension.cs create mode 100644 Shared/Interface/IAiPromptbaustein.cs diff --git a/BeWo/DebugConfig.cs b/BeWo/DebugConfig.cs index 0d637ee22..22f5cfec0 100644 --- a/BeWo/DebugConfig.cs +++ b/BeWo/DebugConfig.cs @@ -147,7 +147,7 @@ namespace BeWo { DebugConfigMode = DebugConfigMode.FeatureAiModule, AutoLogin = true, - SelectView = UIContext.ServiceRecord, + SelectView = UIContext.Administration, //SelectIndex = 8, //DefaultLoginUsername = "m1", //DefaultLoginPassword = "bewobewo", diff --git a/BeWo/View/Detail/AI/AiPromptbausteinDetailView.xaml b/BeWo/View/Detail/AI/AiPromptbausteinDetailView.xaml index 26db106b8..248e2673b 100644 --- a/BeWo/View/Detail/AI/AiPromptbausteinDetailView.xaml +++ b/BeWo/View/Detail/AI/AiPromptbausteinDetailView.xaml @@ -44,7 +44,7 @@ Grid.Row="0" Grid.Column="2" IsEnabled="{Binding IsEditingMode}" - Text="{Binding Node.Name, UpdateSourceTrigger=PropertyChanged}"/> + Text="{Binding Node.Displayname, UpdateSourceTrigger=PropertyChanged}" />