Timeline mute button

This is a simple theme component that adds an explicit mute toggle under the topic timeline. The button toggles between mute and normal tracking statuses.

:octopus: Github repo: https://github.com/awesomerobot/discourse-mute-button

:question: Installing a theme or theme component

That’s all it does! If you don’t care about the other tracking types you can hide that now-redundant button with some CSS

.timeline-container 
.timeline-footer-controls 
button.dropdown-select-box-header {
    display: none;
}
14개의 좋아요

Thanks for this! I was hoping to do something like this a while back: How best to develop this frontend customization / plugin?

Looks like this may be a good jumping off point for something like that.

3개의 좋아요

thanks for this, I guess toggles between follow and unfollow (normal) makes more sense. as someone who wants to mute a topic, may never enters it! (since the topic is not interesting enough for him).

can one choose among the two tracking statuses?

also can such functionality work for category and tag pages?

Bug: This feature should be hidden from logged-out users:

Until then, I’ll use CSS to hide.

3개의 좋아요

Good catch, fixed it in the component.

4개의 좋아요

안녕하세요!
방금 추가했습니다. 정말 좋아해서 기쁩니다 - 다만 이 부분이… 우리 테마와 잘 어울리지 않네요.

(클릭하여 전체 이미지 보기)
데스크톱에서만 발생하는 문제입니다 - 직접 수정해 보겠습니다.