can’t seem to add new emojis… was working fine before update.
AI-generated summary
The discussion revolves around a bug in adding new emojis after an update. 8BIT reports the issue, and jomaxro proposes a test emoji. codinghorror and j.jaffeux investigate, identifying a code issue in a commit that attempts to access an unuploaded file URL. j.jaffeux submits a fix, suggesting a refactored solution. sam initially notes the improper use of message bus, then confirms the bug is fixed in a later commit sam.
Can we repro @jomaxro?
Ok this also needs some fixing @eviltrout
so much sadness… but, happy to help identify an issue!
emojis ho!
I can probably take this of robin’s plate
@sam this commit broke it: FEATURE: uploads are processed a faster · discourse/discourse@eb428ef · GitHub Basically we are trying to access the url of the file when it hasn’t been uploaded yet.
I propose the following fix, could you please review it ? I don’t think a loading indicator is needed here, it’s a rare operation and very fast, it would make the UI/code more complex for very limited added value.
https://github.com/discourse/discourse/pull/5440
Note: I also took this opportunity to refactor a little bit the file to our current coding style, let me know if you want a separate commit for this.
This isn’t right it should not use message bus here, will look on Monday
Fixed per:
https://github.com/discourse/discourse/commit/5e90abfaea9e6261b4b256f0cdb4f71f3be739c3
Sorry about it, my bad I broke it.
This topic was automatically closed after 31 hours. New replies are no longer allowed.


