src: Make spinners spin

This replaces the `<InProgressIcon>` with animated spinners to indicate that something is happening.
This commit is contained in:
regexowl 2025-01-02 14:54:41 +01:00 committed by Klara Simickova
parent fe0e20319b
commit 5e4f20edf1
2 changed files with 7 additions and 7 deletions

View file

@ -11,6 +11,7 @@ import {
PanelMain,
Popover,
Skeleton,
Spinner,
Text,
} from '@patternfly/react-core';
import {
@ -18,7 +19,6 @@ import {
CopyIcon,
ExclamationCircleIcon,
ExclamationTriangleIcon,
InProgressIcon,
OffIcon,
PendingIcon,
} from '@patternfly/react-icons';
@ -225,22 +225,22 @@ const statuses = {
},
building: {
icon: <InProgressIcon className="pending" />,
icon: <Spinner isInline />,
text: 'Image build in progress',
},
uploading: {
icon: <InProgressIcon className="pending" />,
icon: <Spinner isInline />,
text: 'Image upload in progress',
},
registering: {
icon: <InProgressIcon className="pending" />,
icon: <Spinner isInline />,
text: 'Cloud registration in progress',
},
running: {
icon: <InProgressIcon className="pending" />,
icon: <Spinner isInline />,
text: 'Running',
},