속삭임 켜기/끄기 👁

This theme component adds a post menu button for staff users to make a regular post a whisper or vice versa.

:wrench: How to install

:computer: Get the code

This is useful especially for forums where a lot of conversations happen in whisper and a staff user ends up posting something and later wants to hide or show the post to non-staff users.

30개의 좋아요

Nice! I remember this debate a few years ago. I have been burned by this so many times. The official response is:

I am often scrambling to delete whispers before they get emailed out and too many people notice my mistake!

10개의 좋아요

Brilliant component!

is this possible to just make it so it appears on staff posts?

4개의 좋아요

Thank You @fzngagan

Well done!

1개의 좋아요

I’ll take a look at this request soon.

p.s.
This is addressed now.

2개의 좋아요

Yes I think the same, it’s very easy to get wrong with whispers and this is one of the cases where simplicity has too be sacrified for peace of mind.

5개의 좋아요

My question then is, does discourse behave differently in terms of email if the post is deleted vs when its post_type is changed?

1개의 좋아요

We have this component installed, but the toggle no longer shows up.

Has it stopped working, or is it possible that we made some edit elsewhere (to our themes?) that inadvertently blocked it?

It’s definitely still working on meta.

What does your setting here say:

1개의 좋아요

Whispers are allowed

Ah I misread the original issue, it’s not about the general whisper functionality, gotcha! @fzngagan is already on the case it seems :wink:

1개의 좋아요

Apparently this code is broken. siteSettings.enable_whispers has been modified to siteSettings.whisper_allowed_groups.

You can try my fork here:
https://github.com/Lhcfl/discourse-toggle-whisper

3개의 좋아요

Thanks @Lhc_fl! Unfortunately, I don’t think I can try your fork since we’re on a hosted instance. But I appreciate your quick investigation! Maybe that will speed up the official fix. :awthanks:

1개의 좋아요

You can have any theme component you like. :+1: :slight_smile: It’s only plugins that need to be official (or vetted)

However, I think @fzngagan will want to fix this one up, so if you can wait it may be better in this case.

2개의 좋아요

It’s actually a pavilion repo

@Lhc_fl PR and I will review.

2개의 좋아요

Do you want to add the pavilion tag?

1개의 좋아요

https://github.com/paviliondev/discourse-toggle-whisper/pull/1

5개의 좋아요

Yeah let’s do that and I’ll discuss if @fzngagan wants to pass the Topic over.

1개의 좋아요

@merefield Is there any movement on this? I think it may still be in limbo? :slight_smile:

3개의 좋아요

It’s waiting on a (presumably trivial) org decision. I chased today.

2개의 좋아요