Skip to content

Fix Emoji Recents Behavior#1027

Open
dbt0210 wants to merge 2 commits intoDrKLO:devfrom
dbt0210:emojifix
Open

Fix Emoji Recents Behavior#1027
dbt0210 wants to merge 2 commits intoDrKLO:devfrom
dbt0210:emojifix

Conversation

@dbt0210
Copy link

@dbt0210 dbt0210 commented Apr 22, 2015

Currently, selected emojis are always added to the beginning of the recents list. This shifts the whole layout, making it hard for the user to memorize it.
Selected emojis should be added at the end of that list instead. They are only moved to the beginning if the user selects them again via the regular emoji grid. Also, we make sure to add them in the second last slot, so they replace the last emoji if we already have the max number of emojis in there.
This makes the recents layout more consistent and easier to remember for the user.

dbt0210 added 2 commits April 21, 2015 22:53
Instead of always adding new emojis at the beginning of the recents list (and thus shuffling the list and confusing the user) add them to the end of that list first. The specified emoji only gets shifted to the beginning if it's already in the list.
(Make sure to add them as the second last element, so that it is still added if we already have the max number of emojis in there)
This way, the emoji layout in the recents table is more consistent and easier to remember for the user.
@ansgarm
Copy link

ansgarm commented Jun 16, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants