Improved table views for providers, embeddings, and profiles (#466)

This commit is contained in:
Thorsten Sommer 2025-05-17 20:54:51 +02:00 committed by GitHub
parent 2e58ecb97d
commit d02efce689
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 29 additions and 28 deletions

View File

@ -22,7 +22,7 @@
<col style="width: 12em;"/> <col style="width: 12em;"/>
<col style="width: 12em;"/> <col style="width: 12em;"/>
<col/> <col/>
<col style="width: 40em;"/> <col style="width: 16em;"/>
</ColGroup> </ColGroup>
<HeaderContent> <HeaderContent>
<MudTh>#</MudTh> <MudTh>#</MudTh>
@ -39,15 +39,15 @@
<MudTd> <MudTd>
<MudStack Row="true" Class="mb-2 mt-2" Wrap="Wrap.Wrap"> <MudStack Row="true" Class="mb-2 mt-2" Wrap="Wrap.Wrap">
<MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.OpenInBrowser" Href="@context.UsedLLMProvider.GetDashboardURL()" Target="_blank" Disabled="@(!context.UsedLLMProvider.HasDashboard())"> <MudTooltip Text="@T("Open Dashboard")">
@T("Open Dashboard") <MudIconButton Color="Color.Info" Icon="@Icons.Material.Filled.OpenInBrowser" Href="@context.UsedLLMProvider.GetDashboardURL()" Target="_blank" Disabled="@(!context.UsedLLMProvider.HasDashboard())"/>
</MudButton> </MudTooltip>
<MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.Edit" OnClick="() => this.EditEmbeddingProvider(context)"> <MudTooltip Text="@T("Edit")">
@T("Edit") <MudIconButton Color="Color.Info" Icon="@Icons.Material.Filled.Edit" OnClick="() => this.EditEmbeddingProvider(context)"/>
</MudButton> </MudTooltip>
<MudButton Variant="Variant.Filled" Color="Color.Error" StartIcon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteEmbeddingProvider(context)"> <MudTooltip Text="@T("Delete")">
@T("Delete") <MudIconButton Color="Color.Error" Icon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteEmbeddingProvider(context)"/>
</MudButton> </MudTooltip>
</MudStack> </MudStack>
</MudTd> </MudTd>
</RowTemplate> </RowTemplate>

View File

@ -15,7 +15,7 @@
<ColGroup> <ColGroup>
<col style="width: 3em;"/> <col style="width: 3em;"/>
<col/> <col/>
<col style="width: 40em;"/> <col style="width: 16em;"/>
</ColGroup> </ColGroup>
<HeaderContent> <HeaderContent>
<MudTh>#</MudTh> <MudTh>#</MudTh>
@ -27,12 +27,12 @@
<MudTd>@context.Name</MudTd> <MudTd>@context.Name</MudTd>
<MudTd> <MudTd>
<MudStack Row="true" Class="mb-2 mt-2" Wrap="Wrap.Wrap"> <MudStack Row="true" Class="mb-2 mt-2" Wrap="Wrap.Wrap">
<MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.Edit" OnClick="() => this.EditProfile(context)"> <MudTooltip Text="@T("Edit")">
@T("Edit") <MudIconButton Color="Color.Info" Icon="@Icons.Material.Filled.Edit" OnClick="() => this.EditProfile(context)"/>
</MudButton> </MudTooltip>
<MudButton Variant="Variant.Filled" Color="Color.Error" StartIcon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteProfile(context)"> <MudTooltip Text="@T("Delete")">
@T("Delete") <MudIconButton Color="Color.Error" Icon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteProfile(context)"/>
</MudButton> </MudTooltip>
</MudStack> </MudStack>
</MudTd> </MudTd>
</RowTemplate> </RowTemplate>

View File

@ -16,7 +16,7 @@
<col style="width: 12em;"/> <col style="width: 12em;"/>
<col style="width: 12em;"/> <col style="width: 12em;"/>
<col/> <col/>
<col style="width: 34em;"/> <col style="width: 16em;"/>
</ColGroup> </ColGroup>
<HeaderContent> <HeaderContent>
<MudTh>#</MudTh> <MudTh>#</MudTh>
@ -44,16 +44,16 @@
} }
</MudTd> </MudTd>
<MudTd> <MudTd>
<MudStack Row="true" Class="mb-2 mt-2" Wrap="Wrap.Wrap"> <MudStack Row="true" Class="mb-2 mt-2" Spacing="1" Wrap="Wrap.Wrap">
<MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.OpenInBrowser" Href="@context.UsedLLMProvider.GetDashboardURL()" Target="_blank" Disabled="@(!context.UsedLLMProvider.HasDashboard())"> <MudTooltip Text="@T("Open Dashboard")">
@T("Open Dashboard") <MudIconButton Color="Color.Info" Icon="@Icons.Material.Filled.OpenInBrowser" Href="@context.UsedLLMProvider.GetDashboardURL()" Target="_blank" Disabled="@(!context.UsedLLMProvider.HasDashboard())"/>
</MudButton> </MudTooltip>
<MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.Edit" OnClick="() => this.EditLLMProvider(context)"> <MudTooltip Text="@T("Edit")">
@T("Edit") <MudIconButton Color="Color.Info" Icon="@Icons.Material.Filled.Edit" OnClick="() => this.EditLLMProvider(context)"/>
</MudButton> </MudTooltip>
<MudButton Variant="Variant.Filled" Color="Color.Error" StartIcon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteLLMProvider(context)"> <MudTooltip Text="@T("Delete")">
@T("Delete") <MudIconButton Color="Color.Error" Icon="@Icons.Material.Filled.Delete" OnClick="() => this.DeleteLLMProvider(context)"/>
</MudButton> </MudTooltip>
</MudStack> </MudStack>
</MudTd> </MudTd>
</RowTemplate> </RowTemplate>

View File

@ -1,5 +1,6 @@
# v0.9.44, build 219 (2025-05-xx xx:xx UTC) # v0.9.44, build 219 (2025-05-xx xx:xx UTC)
- Improved compatibility with certain Ubuntu linux versions regarding desktop integration. - Improved compatibility with certain Ubuntu linux versions regarding desktop integration.
- Improved the table views for providers, embeddings, and profiles by displaying actions as icons with tooltips.
- Improved localization code & German translation. - Improved localization code & German translation.
- 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. - 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.
- Fixed an issue that caused live translation to stop working. - Fixed an issue that caused live translation to stop working.