-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PLT-5585] Save Recently Used Emojis After Logout #5926
Conversation
|
Spinmint test server created at: http://i-0158bcc58ccf79577.spinmint.com:8065/pr5926 Test Account 1: Email: Test Account 2: Email: Instance ID: i-0158bcc58ccf79577 |
Thanks @R-Wang97, appreciate the pull request! Just letting you know that there may be a delay in reviewing and merging your PR since we are approaching code complete for v3.8, releasing April 16th. Please see our release process for more details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @R-Wang97, great work here. Tested and didn't find issues.
webapp/utils/constants.jsx
Outdated
@@ -894,6 +894,9 @@ export const Constants = { | |||
MIN_HASHTAG_LINK_LENGTH: 3, | |||
CHANNEL_SCROLL_ADJUSTMENT: 100, | |||
EMOJI_PATH: '/static/emoji', | |||
CHANGE_EVENT: 'changed', | |||
RECENT_EMOJI_KEY: 'recentEmojis', | |||
MAXIMUM_RECENT_EMOJI: 27, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the constants only used in one file, can we keep them in that file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'll move CHANGE_EVENT
and MAXIMUM_RECENT_EMOJI
back to emoji_store.jsx
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @R-Wang97! If you have time to submit the update by early Tuesday, we should be able to take this one for the next Mattermost release (3.8)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jasonblais Updates made!
Spinmint test server destroyed |
Summary
The
Recently Used
emojis will now persist after the user logs out and back in.Ticket Link
https://mattermost.atlassian.net/browse/PLT-5585