Emoji adder issue

AI-generated summary

Emoji adder issue: User elijah reports a bug in the emoji adder on Discourse 2.5.0.beta4. After successfully adding an emoji, attempting to add a second one results in the upload not working, but reloading the page resolves the issue. zogstrip assigns the task to nbianca to fix the issue, which is caused by an interoperability error between Ember and jQuery-File-Upload. A workaround has been found and nbianca has created a pull request (https://github.com/discourse/discourse/pull/9888). The fix has been merged, as confirmed by sam.

I think there is a bug in the emoji adder.

I’m using Discourse 2.5.0.beta4 and Firefox 76 on Linux. (I do not have a “desktop” on Linux and have no where I can “drag” files from for “drag and drop”.)

I go to the emoji customization page https://example.com/admin/customize/emojis

  1. I type in the name of my new emoji.
  2. I click “:heavy_plus_sign: Add New Emoji”.
  3. The browser gives me a file picker.
  4. I pick a file, and click the “open” button in the file picker.
  5. The image uploads.
  6. The emoji is added to the forum.

I go to add a second one, repeating that same process from step 1 on that same page. Except it never uploads, seemingly returning me to the state just before step 2.

If I use the browser reload button the emoji customization page resets and then I can upload another one.

3 Likes

Perhaps there are some new regressions here we should look at Monday @zogstrip?

2 Likes

@nbianca can you add to your list to ensure the :heavy_plus_sign: button supports adding several emojis consecutively without requiring a full reload of the page?

3 Likes

@j.jaffeux lol at the huuuge emoji

4 Likes

This bug was caused by an interoperability error between Ember and jQuery-File-Upload. I found a work around for this bug:

https://github.com/discourse/discourse/pull/9888

5 Likes

This topic was automatically closed after 5 days. New replies are no longer allowed.

FYI, this was just merged!

3 Likes