Moved the add and import buttons of the settings dialogs into their footer (#1060)

Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
Paul KoudelkaandThorsten Sommer authored and GitHub committed 2026-10-20 08:35:44 +02:00
1 parent f26d132d56
commit 6b42af864c
13 files changed
+409 -320

No files matched your search

+22
View File
@@ -531,3 +531,25 @@ tr:has(> .provider-group-header) .mud-icon-button {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
/*
* Dialogs whose footer carries buttons on the left as well, such as Add and Import next to Close.
* MudBlazor pads the content with 24px to the left and right, but the footer with only 8px, so the
* buttons stood out of the column of the table above them. The footer takes over the 24px. On the
* right, the content also gives up the room of its scrollbar as soon as the table grows long, and
* how wide that is depends on the operating system and its settings, down to nothing for scrollbars
* which only show while scrolling. So no fixed padding fits: the content reserves that room for good,
* and the footer reserves the very same, which scrollbar-gutter only does for an element that clips
* its overflow. The popovers of menus and tooltips live elsewhere, so the footer clips no more than
* the outermost blur of a button shadow. A web view without scrollbar-gutter keeps the old offset on
* the right only. Both rules name the MudBlazor classes to outweigh their specificity.
*/
.mud-dialog .mud-dialog-content.dialog-content-aligned {
scrollbar-gutter: stable;
}
.mud-dialog .mud-dialog-actions.dialog-actions-aligned {
padding: 8px 24px;
overflow: hidden;
scrollbar-gutter: stable;
}
@@ -44,6 +44,7 @@
- Improved the organization-wide management of the app settings. IT departments can now also set whether AI Studio saves energy while the AI writes its answers, which helps on virtual desktops, for example.
- Improved attaching files to a chat. You can now attach any file that contains readable text, for example, program code or configuration files of a kind AI Studio did not know before.
- Improved adding a local data source when you have not configured an embedding provider yet. Until now, you only found out when saving the dialog, after filling in everything else. The data source settings now tell you right away and let you add an embedding provider right there, without losing what you entered.
- Improved the dialogs for managing your data sources, profiles, and chat templates, which you open, for example, from a chat. The buttons for adding and importing now stay at the bottom of the dialog, so you no longer need to scroll past a long list to reach them. Thanks, Paul Koudelka (`PaulKoudelka`), for this contribution.
- Changed the banner on the start page to a fresh design that shows what AI Studio can do today.
- Fixed a warning about the confidence level that stayed in the dialog for adding a local data source, even after you chose an embedding provider that meets it. The dialog now checks again whenever you change either of them, so a warning also appears when you switch to a provider that falls short.
- Fixed the list of data sources squeezing their names into a very narrow column when you opened it from a chat or from the background embeddings page, so the names were hard to read.