Skip to content

Commit d02efce

Browse files
Improved table views for providers, embeddings, and profiles (#466)
1 parent 2e58ecb commit d02efce

File tree

4 files changed

+29
-28
lines changed

4 files changed

+29
-28
lines changed

app/MindWork AI Studio/Components/Settings/SettingsPanelEmbeddings.razor

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<col style="width: 12em;"/>
2323
<col style="width: 12em;"/>
2424
<col/>
25-
<col style="width: 40em;"/>
25+
<col style="width: 16em;"/>
2626
</ColGroup>
2727
<HeaderContent>
2828
<MudTh>#</MudTh>
@@ -39,15 +39,15 @@
3939

4040
<MudTd>
4141
<MudStack Row="true" Class="mb-2 mt-2" Wrap="Wrap.Wrap">
42-
<MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.OpenInBrowser" Href="@context.UsedLLMProvider.GetDashboardURL()" Target="_blank" Disabled="@(!context.UsedLLMProvider.HasDashboard())">
43-
@T("Open Dashboard")
44-
</MudButton>
45-
<MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.Edit" OnClick="() => this.EditEmbeddingProvider(context)">
46-
@T("Edit")
47-
</MudButton>
48-
<MudButton Variant="Variant.Filled" Color="Color.Error" StartIcon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteEmbeddingProvider(context)">
49-
@T("Delete")
50-
</MudButton>
42+
<MudTooltip Text="@T("Open Dashboard")">
43+
<MudIconButton Color="Color.Info" Icon="@Icons.Material.Filled.OpenInBrowser" Href="@context.UsedLLMProvider.GetDashboardURL()" Target="_blank" Disabled="@(!context.UsedLLMProvider.HasDashboard())"/>
44+
</MudTooltip>
45+
<MudTooltip Text="@T("Edit")">
46+
<MudIconButton Color="Color.Info" Icon="@Icons.Material.Filled.Edit" OnClick="() => this.EditEmbeddingProvider(context)"/>
47+
</MudTooltip>
48+
<MudTooltip Text="@T("Delete")">
49+
<MudIconButton Color="Color.Error" Icon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteEmbeddingProvider(context)"/>
50+
</MudTooltip>
5151
</MudStack>
5252
</MudTd>
5353
</RowTemplate>

app/MindWork AI Studio/Components/Settings/SettingsPanelProfiles.razor

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<ColGroup>
1616
<col style="width: 3em;"/>
1717
<col/>
18-
<col style="width: 40em;"/>
18+
<col style="width: 16em;"/>
1919
</ColGroup>
2020
<HeaderContent>
2121
<MudTh>#</MudTh>
@@ -27,12 +27,12 @@
2727
<MudTd>@context.Name</MudTd>
2828
<MudTd>
2929
<MudStack Row="true" Class="mb-2 mt-2" Wrap="Wrap.Wrap">
30-
<MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.Edit" OnClick="() => this.EditProfile(context)">
31-
@T("Edit")
32-
</MudButton>
33-
<MudButton Variant="Variant.Filled" Color="Color.Error" StartIcon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteProfile(context)">
34-
@T("Delete")
35-
</MudButton>
30+
<MudTooltip Text="@T("Edit")">
31+
<MudIconButton Color="Color.Info" Icon="@Icons.Material.Filled.Edit" OnClick="() => this.EditProfile(context)"/>
32+
</MudTooltip>
33+
<MudTooltip Text="@T("Delete")">
34+
<MudIconButton Color="Color.Error" Icon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteProfile(context)"/>
35+
</MudTooltip>
3636
</MudStack>
3737
</MudTd>
3838
</RowTemplate>

app/MindWork AI Studio/Components/Settings/SettingsPanelProviders.razor

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<col style="width: 12em;"/>
1717
<col style="width: 12em;"/>
1818
<col/>
19-
<col style="width: 34em;"/>
19+
<col style="width: 16em;"/>
2020
</ColGroup>
2121
<HeaderContent>
2222
<MudTh>#</MudTh>
@@ -44,16 +44,16 @@
4444
}
4545
</MudTd>
4646
<MudTd>
47-
<MudStack Row="true" Class="mb-2 mt-2" Wrap="Wrap.Wrap">
48-
<MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.OpenInBrowser" Href="@context.UsedLLMProvider.GetDashboardURL()" Target="_blank" Disabled="@(!context.UsedLLMProvider.HasDashboard())">
49-
@T("Open Dashboard")
50-
</MudButton>
51-
<MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.Edit" OnClick="() => this.EditLLMProvider(context)">
52-
@T("Edit")
53-
</MudButton>
54-
<MudButton Variant="Variant.Filled" Color="Color.Error" StartIcon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteLLMProvider(context)">
55-
@T("Delete")
56-
</MudButton>
47+
<MudStack Row="true" Class="mb-2 mt-2" Spacing="1" Wrap="Wrap.Wrap">
48+
<MudTooltip Text="@T("Open Dashboard")">
49+
<MudIconButton Color="Color.Info" Icon="@Icons.Material.Filled.OpenInBrowser" Href="@context.UsedLLMProvider.GetDashboardURL()" Target="_blank" Disabled="@(!context.UsedLLMProvider.HasDashboard())"/>
50+
</MudTooltip>
51+
<MudTooltip Text="@T("Edit")">
52+
<MudIconButton Color="Color.Info" Icon="@Icons.Material.Filled.Edit" OnClick="() => this.EditLLMProvider(context)"/>
53+
</MudTooltip>
54+
<MudTooltip Text="@T("Delete")">
55+
<MudIconButton Color="Color.Error" Icon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteLLMProvider(context)"/>
56+
</MudTooltip>
5757
</MudStack>
5858
</MudTd>
5959
</RowTemplate>

app/MindWork AI Studio/wwwroot/changelog/v0.9.44.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# v0.9.44, build 219 (2025-05-xx xx:xx UTC)
22
- Improved compatibility with certain Ubuntu linux versions regarding desktop integration.
3+
- Improved the table views for providers, embeddings, and profiles by displaying actions as icons with tooltips.
34
- Improved localization code & German translation.
45
- Fixed a bug with text fields when their content was read live. This issue caused the user interface to refresh too frequently, resulting in increased energy consumption.
56
- Fixed an issue that caused live translation to stop working.

0 commit comments

Comments
 (0)