Skip to content

Commit baeb96b

Browse files
committed
fix(ui): support proper size override of LoadingSpinner
1 parent d645fc1 commit baeb96b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

admin/docs/release-notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
- **Knowledge Base**: Fixed an issue where file embedding jobs could cause a retry storm if the Ollama service was unavailable. Thanks @skyam25 for the bug report!
1616
- **Curated Collections**: Fixed some broken links in the curated collections definitions (maps and ZIM files) that were causing some resources to fail to download.
1717
- **Easy Setup**: Fixed an issue where the "Start Here" badge would persist even after visiting the Easy Setup Wizard for the first time. Thanks @chriscrosstalk for the fix!
18+
- **UI**: Fixed an issue where the loading spinner could look strange in certain use cases.
1819
- **System Updates**: Fixed an issue where the update banner would persist even after the system was updated successfully. Thanks @chriscrosstalk for the fix!
20+
- **Performance**: Various small memory leak fixes and performance improvements across the UI to ensure a smoother experience.
1921

2022
### Improvements
2123
- **Ollama**: Improved GPU detection logic to ensure the latest GPU config is always passed to the Ollama container on update

admin/inertia/components/LoadingSpinner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ const LoadingSpinner: React.FC<LoadingSpinnerProps> = ({
1515
}) => {
1616
if (!fullscreen) {
1717
return (
18-
<div className={`flex flex-col items-center justify-center ${className}`}>
18+
<div className="flex flex-col items-center justify-center">
1919
<div
20-
className={`w-8 h-8 border-[3px] ${light ? 'border-white' : 'border-text-muted'} border-t-transparent rounded-full animate-spin`}
20+
className={`w-8 h-8 border-[3px] ${light ? 'border-white' : 'border-text-muted'} border-t-transparent rounded-full animate-spin ${className || ''}`}
2121
></div>
2222
{!iconOnly && (
2323
<div className={light ? 'text-white mt-2' : 'text-text-primary mt-2'}>

admin/inertia/components/WikipediaSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const WikipediaSelector: React.FC<WikipediaSelectorProps> = ({
4949
{/* Downloading status message */}
5050
{isDownloading && (
5151
<div className="mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg flex items-center gap-2">
52-
<LoadingSpinner fullscreen={false} iconOnly className="size-5" />
52+
<LoadingSpinner fullscreen={false} iconOnly className="size-4" />
5353
<span className="text-sm text-blue-700">
5454
Downloading Wikipedia... This may take a while for larger packages.
5555
</span>

0 commit comments

Comments
 (0)