Number formatting - "digit grouping symbols" please

AI-generated summary

Number Formatting with Digit Grouping Symbols

DeanMarkTaylor requested the inclusion of digit grouping symbols (e.g., commas) in number formatting on the User Summary Page, specifically in the “Stats” section. The goal is to improve readability by adding separators to large numbers, which can vary depending on region and localization.

This feature request also extends to other areas, including:

  • Tooltips: Adding precise numbers with digit grouping symbols when hovering over values (e.g., view counts displayed as 3.7k)
  • Admin Pages:
    • Dashboard: Using digit grouping symbols to make large numbers easier to read
    • Users (e.g., /admin/users/list/active): Displaying user data with formatted numbers

tgxworld has addressed this issue with a commit (cbc6aee1370498d40298e02d12612b5afc8323dc) and invites feedback on any remaining spots that might have been missed.

Displaying a number as “3,900” instead of “3900”.

Obviously “digit grouping symbols” as it might not always be “commas” or grouping of every 3 digits depending on region / localisation.

##Stats on User Summary Page

I understand the User Summary Page is a work in progress…

Please could we get some commas in the number formatting in the “Stats” on the summary page?

From:

To:

##Generally

  • in the tooltips that give precise numbers
  • e.g. hovering over the view count of 3.7k

##Admin Pages

  • Dashboard - Lots of numbers there sometimes they “blur” in my mind without the separators.
  • Users - /admin/users/list/active

Thank you!

9 Likes

Close by

https://github.com/discourse/discourse/commit/cbc6aee1370498d40298e02d12612b5afc8323dc

Let me know if you see any spots that I might have missed. Thank you for reporting @DeanMarkTaylor

3 Likes

This topic was automatically closed after 2 days. New replies are no longer allowed.