-
Notifications
You must be signed in to change notification settings - Fork 7
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
Waitp 1121 loading indicator not visible #4422
Conversation
@acdunham would you mind resolving these merge conflicts before I review. Thanks |
…:beyondessential/tupaia into waitp-1121-loading-indicator-not-visible
…thub.com/beyondessential/tupaia into waitp-1121-loading-indicator-not-visible
const noData = viewContent.data && viewContent.data.length === 0; | ||
|
||
if (isLoading) return <LoadingIndicator />; |
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.
Nice find. I'm not sure what it did before either but I think this is a good choice of component to use. I know there is no design but I think the transparent white background is probably overkill so could we have just the loading spinner with no background? Don't mind if you add a prop to the LoadingIndicator component or just add the CircularProgress component directly.
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.
@tcaiger Just updated this for you
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.
Nice - thanks
merge in latest dev before merging
Issue WAITP-1121
Changes:
LoadingIndicator
components, which I am assuming is correct? Not sure what it used to look like (ticket implies it used to have the loader there before). There is info in the card about how to replicate the issue.