JJde
(JJ)
2026 年 1 月 17 日午後 4:41
1
こんにちは、Discourse開発者の皆様!
現在の動作:新しい投稿に関するメール通知を受け取った際、そのメールのプレーンテキスト版には、投票のソースコード([polll type=...] * Yes * No * Other [/poll])が含まれています。
しかし、このメールのHTML版には、「投票を見るにはここをクリック」というリンクのみが表示されます。
私は、利用可能な選択肢をHTML版のメールにも記載することを提案します。
これは私の目にはユーザーエクスペリエンスを大幅に向上させます。外出先でメール通知を見るとき、リンクを開く手間をかけずに投票を直接見られる方がはるかに簡単です。
このUX上の議論とは別に、メールのHTML版とプレーンテキスト版に含まれる情報量が異なるのは、単純に望ましくないように思われます。
「いいね!」 3
ずっと必要とされていました。リマインドありがとうございます @JJde
main ← poll-options-in-email-notifications
opened 01:48PM - 13 Feb 26 UTC
Previously, the HTML variant of email notifications replaced the entire poll wit… h a "Click to view the poll" link, while the plain-text variant included all the poll options. This meant the HTML email contained less information than its plain-text counterpart.
Now the `reduce_cooked` callback preserves the poll title and options list, strips the interactive parts (vote counts, buttons) and `data-poll-option-id` attributes, and still appends the link to vote.
This works for all poll types (regular, multiple, number, ranked_choice) since they all share the same `.poll-container > ul/ol > li` structure.
https://meta.discourse.org/t/393728
zogstrip
クローズされました:
2026 年 2 月 23 日午前 7:00
5
このトピックは2日後に自動的にクローズされました。新しい返信は許可されていません。