-
Notifications
You must be signed in to change notification settings - Fork 295
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
Hide Key Metrics banner/widget area when SC and GA are in a Zero Data State #6512
Comments
@aaemnnosttv Should this issue follow a similar approach (ACs / IB) to #5933? Currently, we don't even have a straightforward |
@marrrmarrr Based on a quick 1:1 with @aaemnnosttv, we realised that Zero Data depends on a specific date range and hence, pre-loading this "state" is not going to be easy on the dashboard. Some options:
We can discuss this in our next team review meeting perhaps. c.c. @kuasha420 |
Hey @jimmymadon, just one thing to clarify -- this would apply only to initial setup CTA for the KMW, correct? @aaemnnosttv and I discussed this question briefly as well last week, and there was also an option 3, namely show the KMW setup CTA the following time a user logs in after we detect a site is no longer in zero state. So this flow would be:
Curious to hear everyone's thoughts on this option. |
@marrrmarrr Great solution - we could actually use the |
Yes - this check will occur for the Setup CTA. I believe if we don't show the Setup CTA until the site has data, there won't arise a scenario where the site is in Zero Data and the Key Metrics widget is setup? |
@jimmymadon I think the next page reload is also fine, as long as it's a "new view", so we avoid the jumpiness of elements shifting vertically.
In case (3), it could happen that the already existing KMW shows all zeros. Admittedly this is a corner case. |
@marrrmarrr It is possible to not show the widget tiles if the site enters into a zero state after the Key Metrics have been set up. However, this could be confusing to users who were used to seeing the widget to have it suddenly disappear. The Zero Data notification may pop up though which could give them an indication. So what should the ideal behaviour be if the site enters zero data state after KM set up? Show zero tiles (do nothing) or hide the widget? |
After discussing a bit with @felixarntz today, we decided it would be good to open a new issue to implement the persistent zero data handling as an extension of the related work we've done in #5933. I'll open an issue for that one and which this issue will depend on and be much simpler to implement. |
@aaemnnosttv Not sure why I was assigned to this IB, I think I was just reviewing the ACs but I've unassigned myself—I don't think there's anything special here that needs me unless I'm mixed up on something 🙂 |
@aaemnnosttv Was a new issue created or worked on that is similar to #5933 for persistent Zero Data handling? |
@marrrmarrr As mentioned on our last "Updates and Planning" call, @aaemnnosttv, @kuasha420 and I discussed this issue at the last AC sync. The ACs defined currently based on our previous discussions do "make sense". However, the implementation will be fiddly and cumbersome, especially with the last AC point where a site could potentially re-enter the Zero data state. This issue introduces complexity for what we think is little "value". And as we have discussed in the past, for some users, having 'zeros' displayed in the Key Metrics could be a good thing. So we suggest to stall this until the end of the engineering for this epic. What do you think? |
@jimmymadon if it's significant work to get this done, sounds good to postpone it. |
@aaemnnosttv @kuasha420 Will stall this for now and re-visit when we have almost finished the engineering for this epic. |
Feature Description
This requirement was split out of #6209 as that issue was getting too large as per this comment.
Ideally, we do not want to show the Key Metrics Setup CTA widget on the dashboard if SC or Analytics are either in Gathering Data or Zero Data states. To avoid "flickers" where the widget is first shown and then hidden immediately after we've loaded our reports to check for gathering data / zero data, we created #5933 which "pre-loads" information regarding gathering data and this issue is supposed to tackle the same concern for zero data.
However, since zero data is not really a plugin "state" but depends on the date range selected in the plugin, it is not possible to pre-load this information.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
Notes for IB author:
isWidgetHidden
flag in the Key Metrics setting tofalse
.isWidgetHidden
flag is set totrue
.isWidgetHidden
flag to show/hide the widgets registered to the Key Metrics widget area.Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: