Event Details->Assets: Use human-readable units for duration, bitrates and sizes

Steps to reproduce

Steps to reproduce:
1. Go to Recordings->Events
2. Open Event Details for a given Event
3. Go to Event Details->Assets->Media->Media Details (for example)

Actual Results:
Some values are displayed in units that are not suitable for human beings:
Media->Media Details->Duration: milliseconds
Media->Media Details->Size: Bytes
Media->Media Details->Streams->*: Bitrate in Bytes (or bits?)

Expected Results:
The UI should use units suited for human beings, e.g.
duration: Use [hh]:[mm]:[ss].[sss] instead of milliseconds
bitrates: Depending on the value, select kbps or mbps instead of bits per second
Size: Depending on the value, use GB, MB, KB, B instead of always using B

Workaround (if any):

Activity

Show:
Adam McKenzie
November 13, 2015, 5:23 AM

Hi @lars, I'm not sure if you have started working on this but I found a useful angular filter for converting the bytes into human readable format:

https://github.com/exceptionless/angular-filters

So that we can format bytes using something like:
1536 | bytes

It uses the MIT license so I think we can use it.

Sven Stauber
April 5, 2016, 5:50 PM
Fixed and reviewed

Assignee

Sven Stauber

Reporter

Sven Stauber

Severity

Usability Issue

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Minor