osf.io
osf.io copied to clipboard
[feature] Improve Dashboard Wrapping [OSF-6539]
Purpose
The dashboard contributor names would cause line breakages and weren't uniformly formatted, so this tries to improve the dashboard aesthetic by improving the contributor name formatting.
Changes
Improved how contributor names are listed to be more uniform and remain on a single line.
Before:

After:

Side effects
Modifies contribNameFormat in osfHelpers, so other pages that use it will also get the new formatting. (found in newAndNoteworthyPlugin.js, quickProjectSearchPlugin.js, home-page.js)
QA considerations
General formatting style is different for single contribs, two contribs, and more than two contribs.
- Making sure this won't leave trailing spaces
- Making sure the second contrib name shows enough characters when being used
- Making sure the count is correct for the number of additional contribs not being displayed
Ticket
https://openscience.atlassian.net/browse/OSF-6539