Skip to content

Abbreviate long numbers in groups/projects list

What does this MR do and why?

Related to #26399 (closed)

Abbreviates long numbers in groups dashboard list and group overview list. Subgroup count, project count, and star count will be abbreviated. Member count remains showing the full number because it is related to billing.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Groups dashboard

Before After
Screenshot_2024-02-07_at_9.11.15_AM Screenshot_2024-02-07_at_9.09.59_AM

Group overview

Before After
Screenshot_2024-02-07_at_9.10.40_AM Screenshot_2024-02-07_at_9.10.14_AM

How to set up and validate locally

  1. Apply this patch to fake the API into returning large numbers. git apply <path to downloaded patch>
  2. Navigate to /dashboard/groups
  3. Navigate to a group that has subgroups and projects
Edited by Peter Hegman

Merge request reports