Added a Send to menu to every chat message and kept restrictions when sending content on (#1124)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-28 13:28:30 +01:00
1 parent d06688ca08
commit bf54b8cd0d
73 files changed
+1923 -390

No files matched your search

@@ -1,6 +1,8 @@
using System.Text;
using System.Text.Json;
using AIStudio.Chat;
namespace AIStudio.Assistants.VisualBriefing;
public sealed partial class VisualBriefingStore
@@ -339,6 +341,10 @@ public sealed partial class VisualBriefingStore
export.Name,
export.Author,
SettingsFromExport(export),
// An export is a file outside AI Studio, which carries neither the instruction nor any restrictions.
// A briefing which exists here already keeps its own:
ChatRestrictions.NONE,
export.BriefingId,
token);
}
@@ -440,6 +446,9 @@ public sealed partial class VisualBriefingStore
parts.ExportManifest.Name,
parts.ExportManifest.Author,
SettingsFromExport(parts.ExportManifest),
// An export is a file outside AI Studio, which carries neither the instruction nor any restrictions:
ChatRestrictions.NONE,
copyId,
token);