Add delimiters to product analytics single stat visualizations
What does this MR do and why?
This MR adds the new useDelimiters
property to the Product Analytics single stat visualizations.
This means that once a value exceeds > 999
or contains a decimal, the value will be formatted based upon the browsers locale.
Locale | Output |
---|---|
[Before] | 10000.75 |
en-US (US) |
10,000.75 |
de-DE (German) |
10.000,75 |
Screenshots or screen recordings
Before | After (US) | After (DE) |
---|---|---|
How to set up and validate locally
- Follow these instructions to set up Product Analytics in GDK.
- Onboard
Product Analytics
by setting up the feature at Project > Analytics > Analytics dashboards. - Visit a dashboard such as
Behavior
. - Verify that the single stat values are shown correctly.
- Bonus verifications:
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Robert Hunt