1

Closed

Replace KBytes with human-readable transfer amounts

description

Current KBytes amounts are hard to read in reports for sites with a lot of traffic and should be replaced with human-readable values using amount suffixes, such as KB, MB, GB, etc.

Only top- and all-items reports should be affected. Tab-separated reports should still contain the same numeric values as they contain today.

In order to facilitate JavaScript charting,all HTML columns containing human-readable transfer amounts will be updated to show the actual numeric transfer amount in the new attribute called data-xfer. In all-items reports, such as All Hosts, transfer amounts should be wrapped in a span with the data-xfer attribute.

All KBytes titles in language files should be changed to Transfer.

A new configuration variable DecimalKBytes should be introduced to allow KB and other similar suffixes to be interpreted in multiples of 1000 instead of 1024.

A new configuration variable ClassicKBytes should be introduced to output transfer amounts in kilobytes, as it was before this change. Setting this variable to yes will not automatically switch the titles from Transfer to KBytes.
Closed Aug 22, 2016 at 1:46 AM by StoneSteps

comments