Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Include active TopicSubscriptions in bulk email reminder recipients

オープン
#2,071 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
rails, ruby
領域
full-stack

調査の方向性

#2070 から始め、現在の EventRegistration フローを理解するために、EventsController#preview_reminder、app/views/events/_reminder_recipients.html.erb、ReminderRecipientFilter を読んでください。実装前に、記載されているスコープ、重複排除、レンダリング、フィルター、同意に関する疑問を解決してください。対象となるアクティブな training subscriptions が、適切なリマインダーリストに registrants とともに一度だけ表示されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Follow-up to #2070 (introduces the TopicSubscription model).

Goal

Surface people subscribed to upcoming trainings as candidate recipients on an event's bulk email reminder page (EventsController#preview_reminder → app/views/events/_reminder_recipients.html.erb, ReminderRecipientFilter), alongside the event's actual registrants.

Inclusion rule

For a given (facilitator-training) event's reminder list, add each active TopicSubscription (unsubscribed_at IS NULL) with topic: "trainings" where:

  • interested_event_id == <this event> → include only on that event's reminder list, or
  • interested_event_id is null (general) → include on all training event reminder lists.

Notes / open questions

  • Scope of "all lists": general (null-event) training subscriptions should feed facilitator_training events' reminder lists, not every event. Confirm.
  • De-dupe: a person may already be an actual registrant of the event and also have an active subscription — show them once, don't send twice. Prefer the real registration row.
  • Rendering: reminder recipients are currently EventRegistration rows. Subscription rows have none of that — decide how they appear (a distinct "Subscribed" pill/section, which filters apply, and which email is used — person.preferred_email).
  • Consent: only email subscribers who also have mailing_list_consent. Confirm.
  • On send, consider recording that a subscriber was contacted (optional).

Blocked on #2070 merging (or can build on that branch).

主要言語
Ruby
スター
15
フォーク
28
平均マージ
1日 12分
マージ済み PR(30日)
262

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rubyforgood/awbw のほかの issue

rubyforgood/awbw の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。