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

@@ -8,6 +8,7 @@
@if (this.ChatThread is not null)
{
var blocks = this.ChatThread.Blocks.OrderBy(n => n.Time).ToList();
var sendToDestinations = this.AssistantLaunchService.GetDestinationsFor(Components.CHAT);
for (var i = 0; i < blocks.Count; i++)
{
var block = blocks[i];
@@ -30,7 +31,9 @@
RollbackFunc="@this.RollbackBlock"
BlockActionsEnabled="@(() => this.blockActions.AreAllowed(this.ChatThread))"
EditLastBlockFunc="@this.EditLastBlock"
EditLastUserBlockFunc="@this.EditLastUserBlock"/>
EditLastUserBlockFunc="@this.EditLastUserBlock"
SendToFunc="@this.SendBlockToAsync"
SendToDestinations="@sendToDestinations"/>
}
}
}