diff --git a/Service/Plugins/AiPromptbausteineService.cs b/Service/Plugins/AiPromptbausteineService.cs index ca78f7314..77ed51d94 100644 --- a/Service/Plugins/AiPromptbausteineService.cs +++ b/Service/Plugins/AiPromptbausteineService.cs @@ -23,7 +23,7 @@ namespace BeWo.Service.Plugins public IEnumerable GetAiPromptbausteinFolder(AiActionType aiActionType) { var own_bib = PredefinedAiPromptbausteinFolders.CreateOwnBibNode(aiActionType); - var shared_bib = PredefinedAiPromptbausteinFolders.CreateSharedBibNode(aiActionType); + //var shared_bib = PredefinedAiPromptbausteinFolders.CreateSharedBibNode(aiActionType); var public_bib = GetPublicFolders(aiActionType); var ownsoft_bib = GetOwnsoftFolder(aiActionType); @@ -40,7 +40,7 @@ namespace BeWo.Service.Plugins var result = new List() { - own_bib, shared_bib, public_bib + own_bib, public_bib }; if(ownsoft_bib is object) diff --git a/Shared/DataContracts/Feature/AI/AiPromptbausteinFolderDC.cs b/Shared/DataContracts/Feature/AI/AiPromptbausteinFolderDC.cs index ae88d603d..c85e18395 100644 --- a/Shared/DataContracts/Feature/AI/AiPromptbausteinFolderDC.cs +++ b/Shared/DataContracts/Feature/AI/AiPromptbausteinFolderDC.cs @@ -40,11 +40,11 @@ namespace BS.Shared.DataContracts.Feature.AI //own_bib.SubPrompts.Add(CreateExamplePrompt(aiActionType)); //own_bib.SubPrompts.Add(CreateExamplePrompt(aiActionType)); //own_bib.SubPrompts.Add(CreateExamplePrompt(aiActionType)); - var shared_bib = CreateSharedBibNode(aiActionType); + //var shared_bib = CreateSharedBibNode(aiActionType); var public_bib = CreatePublicBibNode(aiActionType); return new List() { - own_bib, shared_bib, public_bib + own_bib, public_bib }; } @@ -65,22 +65,22 @@ namespace BS.Shared.DataContracts.Feature.AI }; } - public static AiPromptbausteinFolderDC CreateSharedBibNode(AiActionType aiActionType) - { - return new AiPromptbausteinFolderDC() - { - ActionType = aiActionType, - Description = AiPromptbausteineTexts.SharedBibNodeDescription, - Oid = -2, - ParentFolderOid = null, - SubFolders = new List(), - SubPrompts = new List(), - Title = AiPromptbausteineTexts.SharedBibNodeTitle, - Version = 1, - IsExpanded = true, - IsNewFeature = true - }; - } + //public static AiPromptbausteinFolderDC CreateSharedBibNode(AiActionType aiActionType) + //{ + // return new AiPromptbausteinFolderDC() + // { + // ActionType = aiActionType, + // Description = AiPromptbausteineTexts.SharedBibNodeDescription, + // Oid = -2, + // ParentFolderOid = null, + // SubFolders = new List(), + // SubPrompts = new List(), + // Title = AiPromptbausteineTexts.SharedBibNodeTitle, + // Version = 1, + // IsExpanded = true, + // IsNewFeature = true + // }; + //} public static AiPromptbausteinFolderDC CreatePublicBibNode(AiActionType aiActionType) { diff --git a/Shared/Text/AiPromptbausteineTexts.cs b/Shared/Text/AiPromptbausteineTexts.cs index 188786b88..a743e6641 100644 --- a/Shared/Text/AiPromptbausteineTexts.cs +++ b/Shared/Text/AiPromptbausteineTexts.cs @@ -10,11 +10,9 @@ namespace BS.Shared.Text { public static string OwnBibNodeTitle => "Eigene Bibliothek"; public static string OwnBibNodeDescription => "Hier können Sie Ihre eigenen Prompts verwalten"; - public static string SharedBibNodeTitle => "Geteilt mit mir"; - public static string SharedBibNodeDescription => "Hier sehen Sie Prompts, welche von Ihren Kollegin"; - public static string PublicBibNodeTitle => "Öffentlich"; + public static string PublicBibNodeTitle => "Geteilt"; public static string PublicBibNodeDescription => "Hier sehen Sie öffentliche Prompts"; - public static string PublicSharedBibNodeTitle => "Geteilt von '{0}'"; + public static string PublicSharedBibNodeTitle => "von '{0}'"; public static string PublicSharedBibNodeDescription => "Hier sehen Sie Prompts, welche '{0}' mit Ihnen geteilt hat"; public static string OwnsoftBibNodeTitle => "Ownsoft"; public static string OwnsoftBibNodeDescription => "Hier können Sie vordefinierte Prompts sehen";