Deliver each drop to the zone under the cursor (#953)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-09-10 15:28:08 +02:00
1 parent c7b42bee96
commit eb65b16851
63 files changed
+1300 -554

No files matched your search

@@ -121,11 +121,11 @@
<MudPaper Outlined="true" Class="pa-4 h-100">
<MudText Typo="Typo.h5">@T("Source material")</MudText>
<MudText Typo="Typo.body2" Class="mb-2">@T("Documents, spreadsheets, images, audio, and video are considered as source context.")</MudText>
@* No default target on purpose: with two zones side by side, the
user has to aim at the one they mean. *@
<AttachDocuments Name="Visual briefing source material"
Layer="@DropLayers.ASSISTANTS"
@bind-DocumentPaths="@this.editor.SourceMaterial"
OnChange="@this.EnforceSourceExclusivityAsync"
CatchAllDocuments="true"
UseSmallForm="false"
Provider="@this.editor.Provider"
Disabled="@this.IsCurrentBusy"/>
@@ -136,7 +136,6 @@
<MudText Typo="Typo.h5">@T("Visual assets")</MudText>
<MudText Typo="Typo.body2" Class="mb-2">@T("PNG, JPEG, and WebP assets are analyzed and must appear visibly in the briefing.")</MudText>
<AttachDocuments Name="Visual briefing visual assets"
Layer="@DropLayers.ASSISTANTS"
@bind-DocumentPaths="@this.editor.VisualAssets"
OnChange="@this.EnforceSourceExclusivityAsync"
CatchAllDocuments="false"