Geteilt von zusammengefasst
This commit is contained in:
@@ -23,7 +23,7 @@ namespace BeWo.Service.Plugins
|
||||
public IEnumerable<AiPromptbausteinFolderDC> 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<AiPromptbausteinFolderDC>() {
|
||||
own_bib, shared_bib, public_bib
|
||||
own_bib, public_bib
|
||||
};
|
||||
|
||||
if(ownsoft_bib is object)
|
||||
|
||||
@@ -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<AiPromptbausteinFolderDC>() {
|
||||
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<AiPromptbausteinFolderDC>(),
|
||||
SubPrompts = new List<AiPromptbausteinPromptDC>(),
|
||||
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<AiPromptbausteinFolderDC>(),
|
||||
// SubPrompts = new List<AiPromptbausteinPromptDC>(),
|
||||
// Title = AiPromptbausteineTexts.SharedBibNodeTitle,
|
||||
// Version = 1,
|
||||
// IsExpanded = true,
|
||||
// IsNewFeature = true
|
||||
// };
|
||||
//}
|
||||
|
||||
public static AiPromptbausteinFolderDC CreatePublicBibNode(AiActionType aiActionType)
|
||||
{
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user