@mattab opened this Issue on December 23rd 2020 Member

As a user, when i'm viewing a period where the "average generation time" is zero, for example under "Visitors > Overview", it would be helpful if:

  1. the sparkline "0 average generation time" is hidden
  2. and "Avg generation time" metric is removed from graphs metric picker

Context: currently this metric is shown for Matomo instances that used to track this metric (before Matomo 4). Which is helpful, but in this issue we just want to remove any confusion and hide the feature when it's definitely zero for the selected period.

Screenshot from 2020-12-24 09-23-04

@mattab commented on December 23rd 2020 Member

Otherwise if it's a bit too complex, instead of implementing the "smart" remove, we could just remove this metric completely, once we have implemented the new metric in #17013 - this would be good enough as people will be able to use the new metric now. (and would still be able to access the old metric in API)

@tsteur commented on December 23rd 2020 Member

@mattab was just going to say the same we could just remove it which would make it a lot easier independent of whether #17013 is implemented or not.

@fvdm commented on December 24th 2020

Do I understand it correctly that the old metric will then not be available for comparison in the UI anymore? Our non-dev users have to pull the raw data from the API? 👀

Powered by GitHub Issue Mirror