Skip to content
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

Merged
merged 11 commits into from
Apr 19, 2023

Conversation

alexd-bes
Copy link
Contributor

Issue WAITP-1121

Changes:

  • Shows loading indicator when changing dates on a visualisation. Just uses existing 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.

@tcaiger
Copy link
Contributor

tcaiger commented Apr 4, 2023

@acdunham would you mind resolving these merge conflicts before I review. Thanks

const noData = viewContent.data && viewContent.data.length === 0;

if (isLoading) return <LoadingIndicator />;
Copy link
Contributor

@tcaiger tcaiger Apr 5, 2023

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.

Copy link
Contributor Author

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

Copy link
Contributor

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
@alexd-bes alexd-bes merged commit 6e4cfb4 into dev Apr 19, 2023
@alexd-bes alexd-bes deleted the waitp-1121-loading-indicator-not-visible branch April 19, 2023 23:33
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.

3 participants