gitlab-org--gitlab-foss/features
Jacob Schatz 2b487edc98 Merge branch '18334-truncate-award-emoji-users' into 'master'
Truncated long user lists in award emoji tooltips

## What does this MR do?
Truncates award emoji tooltips so that they only show 10 users maximum.

Further users are indicated by appending "and X more."

## Are there points in the code the reviewer needs to double check?
Is 10 too little, should it be raised?

My test cases rely on join() to build the expected output.
This feels a little iffy is it alright?

## Why was this MR needed?
Some issues have a large number of thumbs causing tooltips to be very large.

## What are the relevant issue numbers?
closes #18334, closes #19542

## Screenshots (if relevant)
##### Before
![Screenshot_from_2016-06-20_19-49-12](/uploads/d7a14dd87bb3da2acd7c0818de99852b/Screenshot_from_2016-06-20_19-49-12.png)

##### After
![Screenshot_from_2016-06-20_19-50-58](/uploads/f7f05c44594bfe8cec7dfd48802753a6/Screenshot_from_2016-06-20_19-50-58.png)

Truncation point modified for purposes of screenshot

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [x] API support added
- [x] Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !4780
2016-08-18 20:04:18 +00:00
..
admin Revert "Revert "Merge branch 'issue_3946' into 'master' "" 2016-07-07 23:48:02 -04:00
dashboard Fix permissions check in controller, added relevant spec and updated docs 2016-08-11 16:59:37 +02:00
explore Show member roles to all users on members page 2016-08-11 11:08:07 -05:00
group Updates from last code review. 2016-03-06 23:07:19 -05:00
profile Test changing notification settings per project fron notificaitons page 2016-03-30 10:44:20 +02:00
project Add unfold links for Side-by-Side view 2016-08-04 09:09:59 +03:00
snippets fix spinach features to use new button wordings 2015-10-15 17:59:17 +11:00
steps Merge branch '18334-truncate-award-emoji-users' into 'master' 2016-08-18 20:04:18 +00:00
support Updated failing tests 2016-08-13 00:57:40 -05:00
abuse_report.feature
groups.feature Remove go to dashboard test suite for group page and get rid of AR warning 2016-05-03 13:04:47 +02:00
invites.feature
search.feature Fixed logout tests 2016-06-28 13:17:29 +01:00
snippet_search.feature
user.feature Fix specs 2016-03-01 17:42:44 -05:00