Skip to content

feat(INSTUI-5156): new skeleton loader - #2720

Draft
HouseOfHawks wants to merge 1 commit into
masterfrom
INSTUI-5156
Draft

HouseOfHawks wants to merge 1 commit into
masterfrom
INSTUI-5156

Conversation

@HouseOfHawks

Copy link
Copy Markdown
Collaborator

This PR:

  • Creates a new useIsHydrated context provider in ui-react-utils
  • Creates a new <SkeletonLoader> component and <SkeletonShape> sub-component
  • Updates the demo app with detailed instructions on implementations and use-case types

fix(INSTUI-5156): deleted ssr-lab

fix(INSTUI-5157): cleanup
@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://instructure.design/pr-preview/pr-2720/

Built to branch gh-pages at 2026-09-16 14:10 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions

Copy link
Copy Markdown
Contributor

Visual regression report

Cypress suite: ✅ Passing

Visual diff: ⚠️ Changes detected.

Status Count
Unchanged 63
Changed 33
New 3
Removed 0

Accessibility (axe): ✅ No violations.

📊 View full report — click a screenshot's ⚠ badge to see each violation boxed on the image, with the offending element named and contrast failures shown as color swatches.

Diff images (33)

alert-canvas.png — 2507 pixels differ

alert-dark.png — 50924 pixels differ

alert-light.png — 24123 pixels differ

avatar-dark.png — 107 pixels differ

avatar-light.png — 107 pixels differ

badge-canvas.png — 1573 pixels differ

billboard-dark.png — 36899 pixels differ

billboard-light.png — 36841 pixels differ

colorpicker-canvas.png — 316 pixels differ

colorpicker-dark.png — 53664 pixels differ

colorpicker-light.png — 41507 pixels differ

custom-icons-canvas.png — 565 pixels differ

custom-icons-dark.png — 498 pixels differ

custom-icons-light.png — 594 pixels differ

drilldown-canvas.png — 130 pixels differ

drilldown-dark.png — 1572 pixels differ

drilldown-light.png — 986 pixels differ

filedrop-dark.png — 6892 pixels differ

filedrop-light.png — 6957 pixels differ

heading-dark.png — 27544 pixels differ

heading-light.png — 27459 pixels differ

progressbar-canvas.png — 1661 pixels differ

progressbar-dark.png — 1672 pixels differ

progressbar-light.png — 1661 pixels differ

small-components-canvas.png — 1968 pixels differ

small-components-dark.png — 10747 pixels differ

small-components-light.png — 6350 pixels differ

tooltip-canvas.png — 65 pixels differ

tooltip-dark.png — 109740 pixels differ

tooltip-light.png — 102371 pixels differ

view-canvas.png — 1088 pixels differ

view-dark.png — 2112 pixels differ

view-light.png — 2112 pixels differ

Baselines come from the visual-baselines branch. They refresh on every merge to master. The Cypress suite line covers the a11y and console-error assertions — a ❌ there means the suite found real issues even if the visual diff is clean.

github-actions Bot pushed a commit that referenced this pull request Sep 16, 2026
themeOverride={{
background: '#BF32A4',
color: 'white',
// v1.10.0 replaced Alert's single `background` token with

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is v1.10.0? And what has this to do with skeleton loaders?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instructure-design-tokens update with the Skeleton tokens

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either way, this is more of a placeholder until the tokens work is shipped. Will be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants