-
Notifications
You must be signed in to change notification settings - Fork 62
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
537 react to comments #1255
537 react to comments #1255
Conversation
Hi @corsacca @ahillbilly I think I'm done with this one if you could check it out. Let me know if any of the styling needs adjusting. Also @corsacca I wasn't sure what the best permissions to check for on the API of this, so have just used the |
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.
Hey @squigglybob this is great! It works exactly as I would expect and even works in a right to left language!
One question I have is what is the advantage of using the images of emojis instead of the HTML entities directly? I would think we could save the HTTP requests for the images and the user would get the platform specific emoji designs if we used the HTML entities, but I might be missing something that requires the images.
I did notice one edge case styling thing. If you have a lot of emojis selected and the screen size is small enough the comment controls flow to multiple lines making the emoji pill buttons expend to multiple lines.
I'll have a look at the small screen size issue, and see if I can get the edit/delete controls to go to the next line on smaller screens. I'll also investigate just using the emoji utf8 charachters instead of paths, I guess one benifit is that any emoji image can be used, and it's not limited to what you can find in the utf8 emoji list (although it is pretty extensive :) |
Thanks for this great work @squigglybob and the review @micahmills |
I am seeing the same thing with an console error of |
…ndefined or null to object in Function.entries
Ok, I've added in a default object for the comment reactions so hopefully that fixes the error you both found in the previous two comments. Let me know if that does it... It's strange that I didn't get the same error on my machine Ubuntu 20.04, Chrome 88.0.4324.150 |
if more than 6 reactions are added, the dropdown box will expand upwards instead of downwards
This seems to have fixed the issue, and the addition of the UTF-8 emojis is great. This looks good to go. Great work! |
height needed when reactions wrap as otherwise second row looks a bit squashed
…/disciple-tools-theme into 537-react-to-comments
Hey. Thanks bearing with me on one more request. ( Using |
…/disciple-tools-theme into 537-react-to-comments
@corsacca I've had a look through the The only other ones are in the lodash template and being escaped by the <%- tags |
Thank you @squigglybob ! |
resolves #537