-
Notifications
You must be signed in to change notification settings - Fork 889
feat: Add filter on Users page #2653
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
Changes from all commits
acbd54a
be7eaac
186425e
bfbf729
3f309aa
a7f7171
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,13 @@ Empty.args = { | |
users: [], | ||
roles: MockSiteRoles, | ||
} | ||
|
||
export const Loading = Template.bind({}) | ||
Loading.args = { | ||
users: [], | ||
roles: MockSiteRoles, | ||
isLoading: true, | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I like this story since it tests a particular behavior of the component, but I am not sure if it is a good UI snapshot since the loader is spinning and the snapshot may change across different builds. 🤔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good thought. I haven't read through this in detail, but could we pause the animation for the loader? Or introduce a slight delay? https://www.chromatic.com/docs/animations There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for pointing to this, I used Loading.parameters = {
chromatic: { pauseAnimationAtEnd: true },
} and it seems to be constant for at least 3 builds. |
||
Loading.parameters = { | ||
chromatic: { pauseAnimationAtEnd: true }, | ||
} |
Uh oh!
There was an error while loading. Please reload this page.