Skip to content

Commit d6b889f

Browse files
authored
chore(schema-validation): add initial load loading spinner (#6802)
1 parent 38f9671 commit d6b889f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/compass-schema-validation/src/components/validation-states.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
EmptyContent,
99
ErrorSummary,
1010
Link,
11+
SpinLoaderWithLabel,
1112
WarningSummary,
1213
css,
1314
spacing,
@@ -227,6 +228,11 @@ export function ValidationStates({
227228
/>
228229
)}
229230
<ValidationBanners editMode={editMode} />
231+
{!isLoaded && (
232+
<div className={loaderStyles}>
233+
<SpinLoaderWithLabel progressText="Loading Validation" />
234+
</div>
235+
)}
230236
{isLoaded && (
231237
<>
232238
{isZeroState && !isRulesGenerationInProgress && (

0 commit comments

Comments
 (0)