sylque / discpage

A Discourse plugin to create static pages and attach discussions to headings
MIT License
30 stars 5 forks source link

Struggling with getting DiscPage to work with newest Discourse #38

Closed madsl closed 9 months ago

madsl commented 9 months ago

Recently upgraded to discourse to todays version (https://github.com/discourse/discourse/commit/406f4c9e807ac483415fff22e9f187baa2063fe5) after a long time of no updates, and it seems like DiscPage might have stopped working in the meantime? Can't get it to show any content when visiting a DiscPage-enabled thread, the page stays blank except for the menus. I can get something to show if I toggle off DiscPage in the menu. If I try the page in a not-logged in session on a public page, I can't get it to show anything at all except the menu, and you have no way of toggling DiscPage.

sylque commented 9 months ago

Thanks for reporting, @madsl . I will work on this on Monday.

sylque commented 9 months ago

Fixed in v1.0.58. The issue was caused by the HTML class ".category-name" having been renamed to ".badge-category__name" in Discourse.

madsl commented 9 months ago

@sylque great work, works beautifully!

Due to it working, I found another bug, but this time in discourse-home-page...