-
Notifications
You must be signed in to change notification settings - Fork 0
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
noDataContent waits for pageLoading #823
Conversation
Can you please add some screenshots? And also test it out in Safari? |
Looking at how the code was before your change, I would expect that in the "Before" case, when you pass in noDataContent, the button would show up while the table content was loading as well as after the table content finished loading. Am I missing something here? |
Ah, yes. This might give some context https://clever.slack.com/archives/C0ERS5ABB/p1673560803891299 |
It would keep appearing if there was no data. But it would appear regardless while the "Loading" appeared. |
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.
LGTM
Jira: AUTH-221
Overview:
Updating
noDataContent
prop to wait for data to be fully loaded before rendering the noDataContent, much like the default "NO DATA" that is returned if nonoDataContent
is passed.Screenshots/GIFs:
Testing:
Roll Out:
package.json
npm version minor
npm version major
npm version minor
ComponentsView.jsx
. To do so:docs/assets/img
with the format<COMPONENT URL LINK>.png
make deploy-docs
)