Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: cap number of collaborators displayed (#7879)
Caps the number of collaborators to display to a constant (currently set to 99). Above that, it'll always show "+99". However, we also add a tooltip that shows you a prettified version of the extra collaborators (using the `millify` package that we already use for metrics) Screenies: < 1000 collaborators: ![image](https://github.com/user-attachments/assets/b030e77e-e23d-4cac-a1d1-7841a4ba86e7) 1000 - 1M collaborators: ![image](https://github.com/user-attachments/assets/b72ca22e-513d-4d69-b78d-c675951c894a) 1M+ collaborators: ![image](https://github.com/user-attachments/assets/6341e87d-17da-4359-bce3-e31df637cd5c) Update, it now shows the total number of collaborators instead of the overflow: ![image](https://github.com/user-attachments/assets/67a459c5-91b8-475d-b0e3-c5c19aaf62d7)
- Loading branch information