-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SelectPanel: Introduce loadingType
prop to specify initial loading style
#5266
Conversation
👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks! |
loadingType
prop to specify initial loading style
size-limit report 📦
|
🦋 Changeset detectedLatest commit: f287349 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
👋 Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/350777 |
🟢 golden-jobs completed with status |
function LoadingSkeleton({rows = 10, ...props}: {rows?: number}): JSX.Element { | ||
const id = useId() | ||
return ( | ||
<Box p={2} display="flex" flexGrow={1} flexDirection="column"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a new internal component, I think it would be best to avoid Box/sx here! Maybe this could be a Stack, or just a div using CSS Modules?
I am closing this one because I won't be able to work on the rest of the series 😞 |
I discovered a few issues while working on re-introducing the reverted loading states PR and decided to take a different approach by pushing smaller PRs. This is the first PR of a loading state series.
Changelog
New
loadingType
to SelectPanelChanged
Removed
Rollout strategy
Testing & Reviewing
Merge checklist