-
Notifications
You must be signed in to change notification settings - Fork 30
Add emoji picker #1588
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
Add emoji picker #1588
Conversation
|
Oh no I was also working on this 😅😁 I would like to add support for auto completing I am not so sure about the placement of the pop up. I did place it underneath the textbox, so you can still see the text. What do you think? |
This comment was marked as off-topic.
This comment was marked as off-topic.
No sure how easy this it. That would require changes in
Normally the placement is almost below the button.. But in this case instead of placement bottom-start I used bottom-end: Very similar how Nextcloud The icon is always inserted on the cursor location anyways. So.. yea. EDIT: In GTK you have something you might are thinking of. Which is the popup is placed in near the button, but near the cursor. right? Above, you see an example how I implemented the icon picker using GTK in LibreWeb. Although the heaving lifting here was done by GTK itself. |
|
Oh, I might have to steal this for Interstellar :) |
I do actually not want this behavior. If you are just typing and use |
|
if you are just using it in a normal sentence then you would basically always have a space after the |
|
I think it would be more of "emoji autocomplete" as opposed to opening the emoji picker |
Ah I see yes. That would make more sense.
I currently only added this emoji picker. So adding auto complete might require a different npm package once again to add this somehow I'm afraid. |
|
I see that popper.js is actually also replaced by floating-ui or.. |
I will now just use Using the new middleware mobile_test.webm |
|
@BentiGorlich could you please approve this PR? A drop-down with auto-complete emoji picker is for now out of scope.. Something like this would require more npm dependencies etc. |
|
Like I said in my first comment:
I just did not get around to reviewing this PR, yet |
BentiGorlich
left a comment
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.
In general I would approve, though the emoji picker itself is not styled. Because my browser does not send the light/dark mode preference my picker is styled in light mode:

I added the style changes that I made when I was developing the same feature to this branch: add_emoji_picker_styling. It should make it more fitting to mbin and the selected theme.
If you like it you can just cherry pick it to this branch
Co-authored-by: BentiGorlich <[email protected]>
|
Like I said my branch ( |
|
Ah nice. I see you build on top of my changed. Feel free to just put the commit in this PR. |
|
will do :) |
|
OK lol. Now I can't approve because I'm the PR author. You already approved but you are the latest commiter... Did we set the branch protection too strict? Or would you like to approve @jwr1 to help us out here, 😂? |
|
Oh :D |






Well as the title says it, lets finally add Emoji support!
And we use popper.js together with the emoji picker to create the popup.hello.webm
Fixes: #593, #468