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: How do I install 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;
}
12 Likes

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.

2 Likes

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:

image

Until then, I’ll use CSS to hide.

2 Likes

Good catch, fixed it in the component.

3 Likes

Hello!,
Just added it. Great we love it - just this thing… It does not like our theme

(Press to expand full image)
Only on desktop - we will try to fix it ourselves.