diff options
author | connorshea <connor.james.shea@gmail.com> | 2016-04-08 02:40:22 +0300 |
---|---|---|
committer | connorshea <connor.james.shea@gmail.com> | 2016-04-09 02:38:31 +0300 |
commit | 3a196317abe1899b2b3c61fa97bed797c80456b9 (patch) | |
tree | d2f7eff3d3d2319c49ca1569b5461447d35e79d6 /CHANGELOG | |
parent | 8419f355d6166a9e44c5141c35069cd164c23ad0 (diff) |
Add "sprite" parameter to emoji_icon helper
The emoji_icon helper used to display the award emoji in Issue and
Merge Request views. By default the spritesheet is used, but passing
`sprite: false` to the `emoji_icon` helper makes the emoji render as
separate images.
For award emoji displayed by default (e.g. thumbs-up, thumbs-down, and
any that have been awarded to the issue/MR) the independent images are
used. Only when the full emoji menu is opened does the full spritesheet
load.
On a normal issue this change decreases the page load by 670KB or 250KB
depending on pixel density.
Resolves #14334.
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index 54d79259b30..0997c15cfdc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ Please view this file on the master branch, on stable branches it's out of date. v 8.7.0 (unreleased) + - Load award emoji images separately unless opening the full picker. Saves several hundred KBs of data for most pages. (Connor Shea) - All images in discussions and wikis now link to their source files !3464 (Connor Shea). - Return status code 303 after a branch DELETE operation to avoid project deletion (Stan Hu) - Improved Markdown rendering performance !3389 (Yorick Peterse) |