mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-03-28 03:29:25 +01:00
fix(ui): support proper size override of LoadingSpinner
This commit is contained in:
parent
d645fc161b
commit
baeb96b863
|
|
@ -15,7 +15,9 @@
|
||||||
- **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!
|
- **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!
|
||||||
- **Curated Collections**: Fixed some broken links in the curated collections definitions (maps and ZIM files) that were causing some resources to fail to download.
|
- **Curated Collections**: Fixed some broken links in the curated collections definitions (maps and ZIM files) that were causing some resources to fail to download.
|
||||||
- **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!
|
- **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!
|
||||||
|
- **UI**: Fixed an issue where the loading spinner could look strange in certain use cases.
|
||||||
- **System Updates**: Fixed an issue where the update banner would persist even after the system was updated successfully. Thanks @chriscrosstalk for the fix!
|
- **System Updates**: Fixed an issue where the update banner would persist even after the system was updated successfully. Thanks @chriscrosstalk for the fix!
|
||||||
|
- **Performance**: Various small memory leak fixes and performance improvements across the UI to ensure a smoother experience.
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
- **Ollama**: Improved GPU detection logic to ensure the latest GPU config is always passed to the Ollama container on update
|
- **Ollama**: Improved GPU detection logic to ensure the latest GPU config is always passed to the Ollama container on update
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,9 @@ const LoadingSpinner: React.FC<LoadingSpinnerProps> = ({
|
||||||
}) => {
|
}) => {
|
||||||
if (!fullscreen) {
|
if (!fullscreen) {
|
||||||
return (
|
return (
|
||||||
<div className={`flex flex-col items-center justify-center ${className}`}>
|
<div className="flex flex-col items-center justify-center">
|
||||||
<div
|
<div
|
||||||
className={`w-8 h-8 border-[3px] ${light ? 'border-white' : 'border-text-muted'} border-t-transparent rounded-full animate-spin`}
|
className={`w-8 h-8 border-[3px] ${light ? 'border-white' : 'border-text-muted'} border-t-transparent rounded-full animate-spin ${className || ''}`}
|
||||||
></div>
|
></div>
|
||||||
{!iconOnly && (
|
{!iconOnly && (
|
||||||
<div className={light ? 'text-white mt-2' : 'text-text-primary mt-2'}>
|
<div className={light ? 'text-white mt-2' : 'text-text-primary mt-2'}>
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ const WikipediaSelector: React.FC<WikipediaSelectorProps> = ({
|
||||||
{/* Downloading status message */}
|
{/* Downloading status message */}
|
||||||
{isDownloading && (
|
{isDownloading && (
|
||||||
<div className="mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg flex items-center gap-2">
|
<div className="mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg flex items-center gap-2">
|
||||||
<LoadingSpinner fullscreen={false} iconOnly className="size-5" />
|
<LoadingSpinner fullscreen={false} iconOnly className="size-4" />
|
||||||
<span className="text-sm text-blue-700">
|
<span className="text-sm text-blue-700">
|
||||||
Downloading Wikipedia... This may take a while for larger packages.
|
Downloading Wikipedia... This may take a while for larger packages.
|
||||||
</span>
|
</span>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user