You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The duration field formatter is particularly hard to use compared to what users expect, but I think there is a small amount of code that could improve the experience significantly. Specifically, the field formatter for duration should allow a short suffix to be added using a checkbox, and the suffix should be selected from the list of suffixes. For example, event.duration is measured in nanoseconds, but probably should be displayed in milliseconds with the suffix ms.
It's possible that the "with suffix" option should be default, but in the interest of making this a non-breaking change I don't think this is actually a requirement.
Screenshots:
Unformatted:
Formatted as milliseconds using the current formatter:
The duration field formatter is particularly hard to use compared to what users expect, but I think there is a small amount of code that could improve the experience significantly. Specifically, the field formatter for duration should allow a short suffix to be added using a checkbox, and the suffix should be selected from the list of suffixes. For example,
event.duration
is measured in nanoseconds, but probably should be displayed in milliseconds with the suffixms
.It's possible that the "with suffix" option should be default, but in the interest of making this a non-breaking change I don't think this is actually a requirement.
Screenshots:
Unformatted:
Formatted as milliseconds using the current formatter:
Formatted as milliseconds with a label:

This is related to the Lens number formatting options.
The text was updated successfully, but these errors were encountered: