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

Distribution emails -- on change, if you add items, they do not show up in the email, and if you *only* add items, no email is generated (i.e. if you don't change levels of existing items)

Đã đóng
#5,666 1 bình luận 0 reaction 1 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rails, ruby
Lĩnh vực
backend

Hướng nghiên cứu

Bắt đầu với luồng chỉnh sửa và Save của Distributions được mô tả trong issue, sau đó lần theo cách các email về thay đổi distribution được tạo ra. Tái hiện cả hai trường hợp trên môi trường cục bộ bằng các bước partner và distribution được liệt kê, đồng thời xác định các test hiện có bao quát các thông báo về distribution. Công việc được xem là hoàn tất khi các mục đã thêm xuất hiện trong email và chỉ riêng việc thêm các mục cũng gửi một email, với các test xác nhận cả hai hành vi.

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

Mô tả

Difficulty—Intermediate Ruby for Good 2026 DC

Summary

The email sent out on distribution changes is not handling some changes correctly. Fix it.

Why?

Could be misleading

Details

To see the problems:

Using your local copy of the application:
sign in as [email protected]
click on Distributions
choose an editable distribution (it's possible you may need to enter a new one) Note the partner for that distribution
Next, Confirm that that partner receives distribution notices:

  • click on Partner Agencies, then All Partners
  • Click on the partner name
  • Click on "Edit Partner Information"
  • Ensure that the "Do you want this partner to receive emails..." checkbox is checked, and then click "Update Partner".
    Go back to the distribution
    click Edit

Problem 1/
Change the level of one of the items, and add an item
Click Save

You will see that the email that comes out includes the updated item but not the added item.

The email should include a line detailing the added item.

Problem 2/
Same thing, but add an item without changing any items.

No email is sent. An email should be sent regarding the added item.

Criteria for completion

  • behaviour changes as detailed above
  • tests that confirm those behaviour changes
  • no user guide update is required

Please note:

  • there is a separate issue regarding the awkward wording of the text in the email
Ngôn ngữ chính
Ruby
Star
594
Fork
596
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
11

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/human-essentials

Tất cả issue của rubyforgood/human-essentials

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.