UX: add CSS classes on body tag based on topic statuses. (PR #12729)

This PR will add CSS classes like unlisted, pinned, and unpinned on the body tag.


This pull request has been mentioned on Discourse Meta. There might be relevant details there:

Instead we’re using the add-category-tag-classes component.

can you use didReceiveAttrs instead ?

use vanilla js please

vanilla js

should probably be a tagless component


there’s not much value in doing this, you can just user this.topic everywhere after

I still see the tagname

I’m not seeing any tag name in my dev environment. I removed it here.

1 Like

@jjaffeux is this good to merge?