mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-12 04:53:48 +00:00
Unify the drop zones into one component
This commit is contained in:
19 files changed
+278
-505
No files matched your search
@@ -4,7 +4,9 @@
|
||||
<MudDialog>
|
||||
<DialogContent>
|
||||
@* A drop anywhere in this dialog belongs to the dialog, not to the page behind it: *@
|
||||
<DropZoneScope>
|
||||
@* The name for the drop state is given although nobody uses it: the messages of this dialog
|
||||
are listed in a table, whose rows would otherwise ask for the same name. *@
|
||||
<PathDropZone IsArea="@true" Context="isDropTarget">
|
||||
<MudJustifiedText Class="mb-3" Typo="Typo.body1">
|
||||
@T("Create your custom chat template to tailor the LLM's behavior for specific tasks or domains. Define a custom system prompt and provide an example conversation to design an AI experience perfectly suited to your requirements.")
|
||||
</MudJustifiedText>
|
||||
@@ -203,7 +205,7 @@
|
||||
}
|
||||
|
||||
<Issues IssuesData="@this.dataIssues"/>
|
||||
</DropZoneScope>
|
||||
</PathDropZone>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
@if (this.IsReadOnly)
|
||||
|
||||
Reference in new issue
Block a user