osf.io icon indicating copy to clipboard operation
osf.io copied to clipboard

[feature] Improve Dashboard Wrapping [OSF-6539]

Open Rheisen opened this issue 8 years ago • 0 comments

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: before

After: 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

Rheisen avatar Jul 17 '17 15:07 Rheisen