Skip to content

[WIP][DNM] Enable downstream consumers to skeletize until load is complete#6664

Draft
duncanuszkay-d2l wants to merge 1 commit intomainfrom
dunk.stable-skeleton-proto
Draft

[WIP][DNM] Enable downstream consumers to skeletize until load is complete#6664
duncanuszkay-d2l wants to merge 1 commit intomainfrom
dunk.stable-skeleton-proto

Conversation

@duncanuszkay-d2l
Copy link
Contributor

A hacky little inspiration demo I've been working on to cut out blank frames when loading tables. The downstream component is here: https://github.com/Brightspace/insights/pull/1333

TL;DR:

  • Expose special 'force skeleton' classes which allow downstream users to still display elements as skeletons after the host loses the skeleton attribute
    • This is helpful when the time to render the children of the element is significant even after the data has arrived, and we want to hide that rendering process with the skeleton box.
  • Have the table wait for the wrapper before reporting back that it's finished updating, so that downstream consumers can use updateComplete promises on this element and be sure that the render has actually completed down the chain.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://live.d2l.dev/prs/BrightspaceUI/core/pr-6664/

Note

The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

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.

1 participant