Repository navigation
refactor(ui): separate spinner primitives from loading layouts - #42473
Merged
Merged
Conversation
lyzno1
requested review from
CodingOnStar,
JzoNgKVO,
WTW0313,
Yessenia-d,
hyoban,
iamjoel,
zhsama and
zxhlyh
as code owners
September 18, 2026 02:49
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #42473 +/- ##
==========================================
+ Coverage 87.46% 87.47% +0.01%
==========================================
Files 5466 5468 +2
Lines 317173 316807 -366
Branches 63611 63506 -105
==========================================
- Hits 277407 277130 -277
+ Misses 34383 34294 -89
Partials 5383 5383
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
lyzno1
enabled auto-merge
September 18, 2026 03:26
hyoban
previously approved these changes
Sep 18, 2026
hyoban
approved these changes
Sep 18, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The legacy Loading component combines spinner artwork, container geometry, localization, and live-region behavior. Its
type="app"only means full height, while sizing classes affect the wrapper rather than the fixed-size artwork. Agent Configure's top-aligned loading state exposed this ambiguity; the immediate page fix shipped separately in #42457.This change establishes three owners and migrates every legacy Loading consumer in one PR:
Spinnerprovides a named indeterminate Base UI Progress;SpinnerIconprovides decorative artwork. Preserve the four-square animation, default 16px blue glyph, and reduced-motion support with scoped component CSS.LoadingPlaceholderowns shared centering and localized naming. Features retain their height, spacing, and flex/grid allocation, including the existing full-screen loading composite.Remove the old component and
typeAPI without compatibility aliases. Generated theme CSS and data-fetching behavior are unchanged.Fixes SNP-815.
Validation
vp run -w checkand commit-time staged checks passed.Visual verification is representative rather than an exhaustive manual audit of every business page. Screen-reader speech was not tested; the existing Storybook axe configuration excludes color contrast.
Checklist
From Codex