Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Include active TopicSubscriptions in bulk email reminder recipients

Đang mở
#2,071 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
rails, ruby
Lĩnh vực
full-stack

Hướng nghiên cứu

Bắt đầu với #2070, sau đó đọc EventsController#preview_reminder, app/views/events/_reminder_recipients.html.erb và ReminderRecipientFilter để hiểu luồng EventRegistration hiện tại. Hãy giải quyết các câu hỏi đã nêu về phạm vi, loại bỏ trùng lặp, rendering, bộ lọc và sự đồng ý trước khi triển khai. Hoàn tất khi các training subscriptions đang hoạt động và đủ điều kiện xuất hiện một lần cùng với các registrants trong những danh sách nhắc nhở phù hợp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).

Ngôn ngữ chính
Ruby
Star
15
Fork
28
Merge trung bình
1 ngày 12 phút
Pull request đã merge (30 ngày)
262

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rubyforgood/awbw

Tất cả issue của rubyforgood/awbw

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.