REFACTOR: user-menu-links widget for extensibility (PR #7996)

CONTEXT: Quick access to bookmarks and messages on user menu

This extracts a few helper methods in UserMenuLinks widget, so that link definitions and rendering can be easily extended by plugins and/or themes. (Only bookmarks and messages are extracted as I only need the two, but I am happy to extract the rest if this is the preferred design)

Let me know if you have other APIs in mind! Thanks. :muscle:

GitHub

3 Likes

You’ve signed the CLA, xrav3nz. Thank you! This pull request is ready for review.

Thanks!

Awesome, hope you are having luck with your theme component :heart_decoration:

1 Like