question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UX/UI issue on graphs when in Gathering Data state

See original GitHub issue

Bug Description

While testing #4697 I noticed an odd UX/UI behaviour. The gathering data… loads slightly early when the loading animation is running for the graphs i.e. All traffic and Search Traffic widgets. See note from Asvin on 4697 re. needing further investigation. Screencast here (this is on entity, but is the same on main dashboard).

https://user-images.githubusercontent.com/73545194/158388495-73bab717-e439-48db-8e2e-75cfb4788058.mp4

The same issue occurs on any graphs on module pages.

Steps to reproduce

  1. Enable zeroDataStates feature flag on the tester plugin.
  2. Make sure you force data to ‘Gathering’ for search console and analytics.
  3. Go to the Site Kit dashboard and observe details above.

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • The “gathering data” overlay for any Google charts should load at the same time as the charts itself.
    • This may need to rely on some sort of “loaded” callback/hook from the charts JS library in order to work. If that does not exist or is otherwise infeasible, we will have to research another approach.

Implementation Brief

Update react-google-charts version

  • Update NPM dependency react-google-charts to version 4.0.0, which provides the onLoad prop.

Fix the chart

Fix Storybook

Test Coverage

  • No new tests needed.

QA Brief

Changelog entry

  • Fix gathering data message appearing too early on chart components.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
felixarntzcommented, Apr 8, 2022

@wpdarren @techanvil @aaemnnosttv Thanks for catching and looking into this. Since it’s in the release and we don’t have much time left on the investigation, I’d suggest we cap this on Monday (somewhere around end of day Europe, start of the day US) if not completed by then and make a decision.

I’m a bit wary about the React chart update causing potentially further problems, as it has been a recurring issue for us that these updates haven’t been exactly smooth several times. Unless we’re confident this update isn’t causing other issues, I’d prefer reverting this from the main release branch and putting it back into develop instead to give it more time for testing. The original problem that this issue solves is not severe enough to “justify” potential breakage.

1reaction
aaemnnosttvcommented, Apr 11, 2022

@techanvil would you please open a PR with your suggested workaround?

Worst case, we will revert this issue back and punt it to a future release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Minding the Sharp Edges: UX Considerations with Graph Data ...
Above all, a UX designer needs to keep in mind that exposing graph data often comes at a very high price: performance and...
Read more >
Data overload is not about human limitations; it's about design ...
The problem is not that there was too much data (or too many choices), but as the quote from Tufte states, a problem...
Read more >
Dashboard Design UX Patterns Best Practices - Pencil & Paper
Make no mistake, data dashboard UX is tricky, but hopefully we can help. In this article we'll share the dashboard design UX best...
Read more >
Turning Usability Testing Data into Action without Going Insane
UX and usability testing analysis is a critical skill. How do you go about collecting data and analyze results? Here's a way to...
Read more >
UX Research Cheat Sheet - Nielsen Norman Group
Listen throughout the research and design cycle to help understand existing problems and to look for new issues. Analyze gathered data and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found