-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Show matched emoji name instead of an ID in emoji suggestion box #2656
Conversation
@msamsel please make an early review |
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.
-
what with "smiley icon" which is mentioned by wwalc in task description:
The current way of presenting smileys looks pretty ugly
It seems to be font issue there.
bdac556
to
0edcfe7
Compare
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.
There are still some improvements which might be implemented with this feature.
0ff6912
to
92a0130
Compare
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.
There remain 2 small code styling issues, besides that everything is ok from my perspective.
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.
LGTM 👍
From my perspective everything is ok. :)
1c8a930
to
a5e09f9
Compare
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.
Overall changes look good. I'm only wondering if the current emoji format is fine. After changes, _
is replaced with empty space. It looks nice but when you start typing, you find out that actually, you cannot hit space to continue emoji - you still need to type _
to match emoji ID.
I propose to stick to snake case format, otherwise, it looks like autocomplete just lies about correct match format.
The proposed format in this PR:
Also, note that my proposition looks the same as e.g. on GH, which also makes it more convenient for the users (also Slack and similar apps uses underscore here).
Please, vote:
- Underscores (
smiling_face
) - 👍 - Spaces (
smiling face
) - 👎
or share your own proposition.
Due to lacking PR author, I refactored and updated proposed changes with snake_case format. @msamsel could I ask you to take a second look at this PR, so my changes are also reviewed? |
376dffb
to
3545446
Compare
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 it looks fine for me. 👍
…sing _name property, but doesn't return anything.
Co-Authored-By: Mateusz Samsel <[email protected]>
a30c59e
to
4de9296
Compare
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.
LGTM 👍
What is the purpose of this pull request?
New feature/task
Does your PR contain necessary tests?
All patches which change the editor code must include tests. You can always read more
on PR testing,
how to set the testing environment and
how to create tests
in the official CKEditor documentation.
This PR contains
What changes did you make?
Changed emoji suggestion box item template to show
item.name
instead ofitem.id
.Changelog
Closes #2583