mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-05 15:49:40 +00:00
Migrate to MudBlazor v7.x.x (#41)
This commit is contained in:
1 parent
a956b55d6b
commit
5250e5d2fb
27 files changed
+253
-151
No files matched your search
@@ -51,4 +51,9 @@ public sealed class Data
|
||||
/// The chat storage maintenance behavior.
|
||||
/// </summary>
|
||||
public WorkspaceStorageTemporaryMaintenancePolicy WorkspaceStorageTemporaryMaintenancePolicy { get; set; } = WorkspaceStorageTemporaryMaintenancePolicy.DELETE_OLDER_THAN_90_DAYS;
|
||||
|
||||
/// <summary>
|
||||
/// The navigation behavior.
|
||||
/// </summary>
|
||||
public NavBehavior NavigationBehavior { get; set; } = NavBehavior.EXPAND_ON_HOVER;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace AIStudio.Settings;
|
||||
|
||||
public enum NavBehavior
|
||||
{
|
||||
EXPAND_ON_HOVER,
|
||||
NEVER_EXPAND_USE_TOOLTIPS,
|
||||
NEVER_EXPAND_NO_TOOLTIPS,
|
||||
ALWAYS_EXPAND,
|
||||
}
|
||||
@@ -79,10 +79,10 @@
|
||||
{
|
||||
<MudPaper Class="pa-2 mt-3">
|
||||
<MudText Typo="Typo.h6">Issues</MudText>
|
||||
<MudList Clickable="@true">
|
||||
<MudList T="string">
|
||||
@foreach (var issue in this.dataIssues)
|
||||
{
|
||||
<MudListItem Icon="@Icons.Material.Filled.Error" IconColor="Color.Error">
|
||||
<MudListItem T="string" Icon="@Icons.Material.Filled.Error" IconColor="Color.Error">
|
||||
@issue
|
||||
</MudListItem>
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user