Emoji Fluff

Strange it is working today with no changes. Save also updated discourse last night.

Thanks for looking into. Great component. I wonder if it might allow these effects in reactions. :wink:

2 Likes

I had the thought, It might be possible, will see! :grinning_face_with_smiling_eyes:

3 Likes

with discourse 3.4.1, it works in auto-complete, but does not work in the emoji picker. does not work in chat either

wonder if someone seeing the same issue ?
thanks

1 Like

Unfortunately, it requires a recent version of Discourse to work in the emoji picker and chat.

To make it work, you need to change Discourse from stable to tests-passed branch or wait for the changes in core to be available in the stable version.

3 Likes

thanks @Arkshine confirming

(will check out your code, if could make it work for my version
)

1 Like

You need this emoji-picker-filter-container plugin outlet to be available, to make it work in the emoji picker: Emoji Fluff - #13 by Arkshine .

As for the chat support, it’s relying on a change in core that unifies both chat/forum emoji picker, it will be difficult to support it on your version.

2 Likes

I upgraded forum something like 15 minutes ago, and now I get admin error and the forum went into safe mode.

This error I see:

Message (5 copies reported)

Emoji Fluff theme/component is throwing errors:
Error: Could not find module `discourse/lib/raw-templates` imported from `discourse/theme-395/discourse/lib/autocomplete`

Backtrace

Error: Could not find module `discourse/lib/raw-templates` imported from `discourse/theme-395/discourse/lib/autocomplete`
    at https://cdnfoorumi.katiska.eu/assets/vendor.3011ae158d44f5a95269fb8365df3962-632fa9355ac0fdeb53b1258f055d7e6fa167f0c852d68928531082eed1d762e6.br.js:1:1217
    at a (https://cdnfoorumi.katiska.eu/assets/vendor.3011ae158d44f5a95269fb8365df3962-632fa9355ac0fdeb53b1258f055d7e6fa167f0c852d68928531082eed1d762e6.br.js:1:1282)
    at s.findDeps (https://cdnfoorumi.katiska.eu/assets/vendor.3011ae158d44f5a95269fb8365df3962-632fa9355ac0fdeb53b1258f055d7e6fa167f0c852d68928531082eed1d762e6.br.js:1:3035)
    at a (https://cdnfoorumi.katiska.eu/assets/vendor.3011ae158d44f5a95269fb8365df3962-632fa9355ac0fdeb53b1258f055d7e6fa167f0c852d68928531082eed1d762e6.br.js:1:1338)
    at s.findDeps (https://cdnfoorumi.katiska.eu/assets/vendor.3011ae158d44f5a95269fb8365df3962-632fa9355ac0fdeb53b1258f055d7e6fa167f0c852d68928531082eed1d762e6.br.js:1:3035)
    at a (https://cdnfoorumi.katiska.eu/assets/vendor.3011ae158d44f5a95269fb8365df3962-632fa9355ac0fdeb53b1258f055d7e6fa167f0c852d68928531082eed1d762e6.br.js:1:1338)
    at requireModule (https://cdnfoorumi.katiska.eu/assets/vendor.3011ae158d44f5a95269fb8365df3962-632fa9355ac0fdeb53b1258f055d7e6fa167f0c852d68928531082eed1d762e6.br.js:1:569)
    at y (https://cdnfoorumi.katiska.eu/assets/chunk.0191d54ac6a6aa072c85.d41d8cd9.br.js:12:151282)
    at b (https://cdnfoorumi.katiska.eu/assets/chunk.0191d54ac6a6aa072c85.d41d8cd9.br.js:12:151502)
    at https://cdnfoorumi.katiska.eu/assets/chunk.0191d54ac6a6aa072c85.d41d8cd9.br.js:12:150752
    at g.start (https://cdnfoorumi.katiska.eu/assets/chunk.0191d54ac6a6aa072c85.d41d8cd9.br.js:12:150918)
    at HTMLDocument.<anonymous> (https://cdnfoorumi.katiska.eu/assets/start-discourse-61ad9120d229052658ceb8dbd4c5197830da20afd3aafe5d031e7f8864f5183d.br.js:3:52)
    at https://cdnfoorumi.katiska.eu/assets/start-discourse-61ad9120d229052658ceb8dbd4c5197830da20afd3aafe5d031e7f8864f5183d.br.js:6:10
    at https://cdnfoorumi.katiska.eu/assets/start-discourse-61ad9120d229052658ceb8dbd4c5197830da20afd3aafe5d031e7f8864f5183d.br.js:6:27

Env

HTTP HOSTS: foorumi.katiska.eu

Ideas?

2 Likes

Yes, the raw template usage has been removed from the core.
I will update it ASAP.

Thanks for reporting!

2 Likes

@Jagster, Sorry, I can’t fix the TC immediately. There is no simple alternative here.
For now, I’ve updated the TC to disable fluff in autocomplete. At least you won’t get any errors, and you can still use fluff (the emoji picker still works fine).
I’m working on a possible solution; stay tuned!

2 Likes

This is nice component, but not critical one. So, don’t take any stress about it. Everything is cool.

2 Likes

With updating Discourse to the latest version I am getting a note on the website

:warning: Es kann sein, dass deine Website nicht funktioniert, weil ein Theme oder eine Komponente Fehler aufweist. ÜberprĂŒfe die Browser-Konsole fĂŒr weitere Informationen.
Verursacht durch „Emoji Fluff“. Klicke hier, um die Funktion zu aktualisieren, neu zu konfigurieren oder zu deaktivieren.
(Diese Nachricht wird nur Website-Administratoren angezeigt)

and this in the developer console:

[THEME 62 ‘Emoji Fluff’] Error: Could not find module discourse/components/d-tooltip imported from (require)
at loader.js:247:1
at f (loader.js:258:1)
at requireModule (loader.js:24:1)
at Object.lookup (app.js:34:12)
at 9a9b503a90a2dbf9b600742406dd5f210a713f10.js?__ws=forum.gdngs.de:1:2020

4 Likes

I expected the component to need an update with the latest Discourse version. Thank you for reporting. I will fix it ASAP! :+1:

EDIT: I found a way to fix autocomplete and to make it work in the rich editor. Not pushed yet, likely tomorrow.

3 Likes

I pushed a PR ( COMPATIBILITY: Fix autocomplete following latest core update + rich e
 · Arkshine/discourse-emoji-fluff@72949d2 · GitHub ).

This requires Discourse v3.6.0.beta3-latest, so make sure to update it before (it’s based on very recent change).

  • Autocomplete is now working again
    • Added support for keyboard to open the fluff tooltip and select one
      • → to open, ⌫ Esc to close it
      • ↑ ↓ ← → to navigate
      • Enter to select
  • Rich editor support
  • Working in chat as well


Let me know if you have issues with it!

4 Likes

Username autocompletion is broken in chat when the theme component is enabled.
chrome_DFtZmxhrTO

(also it opens the emoji selector when we click this empty area)

2 Likes

Thanks for the report :+1:

I pushed an update: FIX: Restores default autocomplete behavior for non-colon keys · Arkshine/discourse-emoji-fluff@68297ef · GitHub

2 Likes