fzngagan
(Faizaan Gagan)
2021 年 3 月 2 日午後 2:36
1
This theme component adds a post menu button for staff users to make a regular post a whisper or vice versa.
How to install
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:
Er, the cat is out of the bag once you post as a not-whisper. Going back and retconning posts into whispers via editing is not something I can support as a feature.
I am often scrambling to delete whispers before they get emailed out and too many people notice my mistake!
「いいね!」 9
ondrej
2021 年 3 月 2 日午後 2:48
3
Brilliant component!
is this possible to just make it so it appears on staff posts?
「いいね!」 4
fzngagan
(Faizaan Gagan)
2021 年 3 月 3 日午前 7:04
5
I’ll take a look at this request soon.
p.s.
This is addressed now.
「いいね!」 2
j.jaffeux
(Joffrey Jaffeux)
2021 年 3 月 3 日午前 7:44
6
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
fzngagan
(Faizaan Gagan)
2021 年 3 月 3 日午前 7:57
7
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
ganncamp
(G Ann Campbell)
2023 年 5 月 10 日午後 1:09
8
このコンポーネントをインストールしましたが、トグルが表示されなくなりました。
動作しなくなったのでしょうか、それとも他の場所(テーマなど)を編集した際に、意図せずブロックしてしまったのでしょうか?
chapoi
2023 年 5 月 10 日午後 1:17
17
元の問題を読み間違えていました。一般的なウィスパー機能に関するものではありませんでした。@fzngagan さんがすでに担当しているようですね
「いいね!」 1
Lhc_fl
(Linca)
2023 年 5 月 10 日午後 1:37
18
name: "toggle-whispers",
initialize() {
withPluginApi("0.11.0", (api) => {
api.registerValueTransformer(
"post-menu-buttons",
({ value: dag, context: { lastHiddenButtonKey } }) => {
dag.add("post-folding", WhisperToggle, {
before: lastHiddenButtonKey,
});
}
);
});
},
};
このコードは壊れているようです。siteSettings.enable_whispers が siteSettings.whisper_allowed_groups に変更されました。
私のフォークはこちらで試すことができます。
Allows staff to change a post to whisper and vice-versa
「いいね!」 3
ganncamp
(G Ann Campbell)
2023 年 5 月 10 日午後 2:20
19
@Lhc_fl さん、ありがとうございます!残念ながら、ホストインスタンスを使用しているため、フォークを試すことはできないと思います。しかし、迅速な調査に感謝します!それが公式の修正を早めることを願っています。
「いいね!」 1
お好きなテーマコンポーネントをご利用いただけます。 公式(または審査済み)である必要があるのはプラグインのみです。
ただし、@fzngagan がこれを修正したいと考えていると思うので、待つことができるなら、この場合はそちらの方が良いかもしれません。
「いいね!」 2
それは実際にはパビリオンのリポジトリです
@Lhc_fl PRをお願いします。レビューします。
「いいね!」 2
はい、そうしましょう。トピックを渡したいかどうか、@fzngagan さんと相談します。
「いいね!」 1
@merefield これについて何か進展はありますか?まだ宙ぶらりんの状態だと思いますが?
「いいね!」 3
それは(おそらく些細な)組織の決定待ちです。本日問い合わせました。
「いいね!」 2