-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove many loading spinners in some views (#6956)
* feat: Add loading searchbar progress component * Change loading spinners to search progress in some views * style: Remove unused imports and elements from LoadingSearchbarProgress * Bump Wazuh 4.9.2 rev 00 (#6971) * Bump version to 4.9.2 * Fix changelog * Update Wazuh version to 4.9.1 in all files * Fix Prettier issues * Refactor error handling imports in wz-flyout-discover * Fix Prettier issues * Update loading spinner to loading searchbar progress component * Refactor loading spinners to use searchbar progress bars * Refactor loading spinner and panel components * Update condition to check for server in third argument * Remove loading spinner component and styles * Refactor compliance table functions and components * Remove unnecessary SCSS file import in LoadingSearchbarProgress * Refactor function parameters and object keys in compliance table --------- Co-authored-by: Federico Rodriguez <[email protected]>
- Loading branch information
1 parent
b9a98e4
commit 59c8784
Showing
33 changed files
with
1,075 additions
and
1,073 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...s/main/public/components/common/loading-searchbar-progress/loading-searchbar-progress.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { EuiProgress } from '@elastic/eui'; | ||
import React from 'react'; | ||
|
||
interface LoadingSearchbarProgress { | ||
message?: React.ReactNode; | ||
} | ||
|
||
export function LoadingSearchbarProgress({ | ||
message, | ||
}: LoadingSearchbarProgress) { | ||
return <EuiProgress size='xs' color='primary' />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.