diff --git a/app/MindWork AI Studio/Components/AssistantBase.razor b/app/MindWork AI Studio/Components/AssistantBase.razor
index 175f792..0a8c0c2 100644
--- a/app/MindWork AI Studio/Components/AssistantBase.razor
+++ b/app/MindWork AI Studio/Components/AssistantBase.razor
@@ -15,22 +15,8 @@
@this.Body
}
-
- @if (this.inputIssues.Any())
- {
-
- Issues
-
- @foreach (var issue in this.inputIssues)
- {
-
- @issue
-
- }
-
-
- }
-
+
+
@if (this.resultingContentBlock is not null)
{
diff --git a/app/MindWork AI Studio/Components/Blocks/Issues.razor b/app/MindWork AI Studio/Components/Blocks/Issues.razor
new file mode 100644
index 0000000..413545d
--- /dev/null
+++ b/app/MindWork AI Studio/Components/Blocks/Issues.razor
@@ -0,0 +1,14 @@
+@if (this.IssuesData.Any())
+{
+
+ Issues
+
+ @foreach (var issue in this.IssuesData)
+ {
+
+ @issue
+
+ }
+
+
+}
\ No newline at end of file
diff --git a/app/MindWork AI Studio/Components/Blocks/Issues.razor.cs b/app/MindWork AI Studio/Components/Blocks/Issues.razor.cs
new file mode 100644
index 0000000..4a0c291
--- /dev/null
+++ b/app/MindWork AI Studio/Components/Blocks/Issues.razor.cs
@@ -0,0 +1,9 @@
+using Microsoft.AspNetCore.Components;
+
+namespace AIStudio.Components.Blocks;
+
+public partial class Issues : ComponentBase
+{
+ [Parameter]
+ public IEnumerable IssuesData { get; set; } = [];
+}
\ No newline at end of file
diff --git a/app/MindWork AI Studio/Settings/ProviderDialog.razor b/app/MindWork AI Studio/Settings/ProviderDialog.razor
index eb71343..9d850e4 100644
--- a/app/MindWork AI Studio/Settings/ProviderDialog.razor
+++ b/app/MindWork AI Studio/Settings/ProviderDialog.razor
@@ -1,6 +1,7 @@
@using AIStudio.Provider
@using AIStudio.Provider.SelfHosted
@using MudBlazor
+@using AIStudio.Components.Blocks
@@ -92,21 +93,7 @@
/>
-
- @if (this.dataIssues.Any())
- {
-
- Issues
-
- @foreach (var issue in this.dataIssues)
- {
-
- @issue
-
- }
-
-
- }
+
Cancel
diff --git a/app/MindWork AI Studio/wwwroot/changelog/v0.8.5.md b/app/MindWork AI Studio/wwwroot/changelog/v0.8.5.md
index fe4af6f..b2568e8 100644
--- a/app/MindWork AI Studio/wwwroot/changelog/v0.8.5.md
+++ b/app/MindWork AI Studio/wwwroot/changelog/v0.8.5.md
@@ -3,6 +3,7 @@
- Added the possibility to provide default options for the translation assistant
- Added the possibility to provide default options for the coding assistant
- Added the possibility to provide default options for the text summarizer assistant
+- Improved readability of the issue component
- Improved switches: when an option is enabled, the switch is using a different color
- Fixed the applying of spellchecking settings to the single-line dialog
- Restructured the layout of the settings page