Dear Discourse community,
I’m trying to add a small section in the user dropdown menu, and have been unsuccessful so far. I know that I can add items to the hamburger-menu through the
decorateWidget function. However, it doesn’t look like the user-menu has a way to hook into it. Since the items I want to add are user-related, I would like to be able to add these links there and not in the hamburger-menu.
I have tried adding it in a plugin initialiser and simply add some DOM nodes, but the user-menu isn’t generated yet in the DOM before the user icon has been clicked.
Does anyone have any idea what the most graceful way of doing this is?