diff --git a/app/MindWork AI Studio/Assistants/AssistantBase.razor b/app/MindWork AI Studio/Assistants/AssistantBase.razor index 0abbfec..f605189 100644 --- a/app/MindWork AI Studio/Assistants/AssistantBase.razor +++ b/app/MindWork AI Studio/Assistants/AssistantBase.razor @@ -4,7 +4,7 @@ @(this.Title) - + @@ -33,10 +33,11 @@
- +
+ @if (this.FooterButtons.Count > 0) { - + @foreach (var button in this.FooterButtons) { switch (button) @@ -54,14 +55,14 @@ @buttonData.Text break; - + case SendToButton sendToButton: @foreach (var assistant in Enum.GetValues().OrderBy(n => n.Name().Length)) { if(assistant is SendTo.NONE || sendToButton.Self == assistant) continue; - + @assistant.Name() @@ -78,5 +79,5 @@ } - +
\ No newline at end of file diff --git a/app/MindWork AI Studio/Components/InnerScrolling.razor b/app/MindWork AI Studio/Components/InnerScrolling.razor index bad2c09..83fd15e 100644 --- a/app/MindWork AI Studio/Components/InnerScrolling.razor +++ b/app/MindWork AI Studio/Components/InnerScrolling.razor @@ -8,6 +8,11 @@   - - @this.FooterContent + + @if (this.FooterContent is not null) + { + + @this.FooterContent + + } \ No newline at end of file diff --git a/app/MindWork AI Studio/Pages/Chat.razor b/app/MindWork AI Studio/Pages/Chat.razor index beb5266..f87bdde 100644 --- a/app/MindWork AI Studio/Pages/Chat.razor +++ b/app/MindWork AI Studio/Pages/Chat.razor @@ -27,51 +27,49 @@ } - + - - - - @if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is not WorkspaceStorageBehavior.DISABLE_WORKSPACES) - { - - - - } - - @if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is WorkspaceStorageBehavior.STORE_CHATS_MANUALLY) - { - - - - } - - - + + + @if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is not WorkspaceStorageBehavior.DISABLE_WORKSPACES) + { + + + } - @if (!string.IsNullOrWhiteSpace(this.currentWorkspaceName)) - { - - - - } - - @if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is WorkspaceStorageBehavior.STORE_CHATS_AUTOMATICALLY) - { - - - - } + @if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is WorkspaceStorageBehavior.STORE_CHATS_MANUALLY) + { + + + + } - @if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is not WorkspaceStorageBehavior.DISABLE_WORKSPACES) - { - - - - } - - + + + + + @if (!string.IsNullOrWhiteSpace(this.currentWorkspaceName)) + { + + + + } + + @if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is WorkspaceStorageBehavior.STORE_CHATS_AUTOMATICALLY) + { + + + + } + + @if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is not WorkspaceStorageBehavior.DISABLE_WORKSPACES) + { + + + + } +
diff --git a/app/MindWork AI Studio/wwwroot/changelog/v0.8.12.md b/app/MindWork AI Studio/wwwroot/changelog/v0.8.12.md index c42e0d3..27eaf39 100644 --- a/app/MindWork AI Studio/wwwroot/changelog/v0.8.12.md +++ b/app/MindWork AI Studio/wwwroot/changelog/v0.8.12.md @@ -1,6 +1,8 @@ # v0.8.12, build 174 - Added an e-mail writing assistant. - Added the possibility to preselect some e-mail writing assistant options. +- Fixed the header height of assistant pages. +- Improved assistant footer handling; the footer is now fixed at the bottom of the page. - Improved the coding assistant by adding a button to delete a context. - Improved chat page by scrolling to the bottom after loading (configurable; default is on). - Improved all assistants to provide a button to copy their respective result to the clipboard. @@ -8,4 +10,5 @@ - Improved the language handling of the agenda assistant. - Improved the chat options readability by separating the preselection of values. - Improved some default settings. Default key for sending input is now `Enter`. The default update check is now set to hourly. The navigation menu behavior is now set to use tooltips. -- Refactored the "send to" implementation of assistants. \ No newline at end of file +- Refactored the "send to" implementation of assistants. +- Refactored & unified footer border style handling. \ No newline at end of file