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

Adds loading indicator while fetching history #3874

Merged
merged 9 commits into from
Mar 31, 2022

Conversation

madsnedergaard
Copy link
Member

Description

Makes it clear to users that data is being fetched, instead of first showing "no data is available" until data for a zone is loaded.

Before

Screenshot 2022-03-18 at 11 47 25

After

Screenshot 2022-03-18 at 11 46 54

Copy link
Contributor

@Kongkille Kongkille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great.

I am wondering if we'd want to still show the name of the zone while loading? I think it's nice small feedback that the users know they have clicked the right zone and is now awaiting the detailed data.

(I realize it's less than a second usually)

Adds a bit of extra work, so regardless we could address that in another PR

@madsnedergaard
Copy link
Member Author

Good point @Kongkille, I have changed it to this now:

Screenshot 2022-03-25 at 12 51 39

I also fixed the back-arrow button being white on hover so you couldn't see it 🤔

Copy link
Contributor

@Kongkille Kongkille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent!

@madsnedergaard madsnedergaard enabled auto-merge (squash) March 25, 2022 12:10
@madsnedergaard madsnedergaard merged commit d1d80bb into master Mar 31, 2022
@madsnedergaard madsnedergaard deleted the mn/app/add-history-loading-indicator branch March 31, 2022 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants