Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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)

Geschlossen
#5,666 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rails, ruby
Bereich
backend

Rechercherichtung

Beginne mit dem im Issue beschriebenen Bearbeitungs- und Save-Ablauf für Distributions und verfolge dann, wie E-Mails zu Änderungen an Distributionen generiert werden. Reproduziere beide Fälle lokal anhand der aufgeführten Partner- und Distributionsschritte und finde die vorhandenen Tests, die Benachrichtigungen zu Distributionen abdecken. Als erledigt gilt, dass hinzugefügte Elemente in E-Mails erscheinen und das alleinige Hinzufügen von Elementen eine E-Mail sendet, wobei Tests beide Verhaltensweisen bestätigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
Ruby
Sterne
594
Forks
596
Ø Merge
4 T. 10 Std.
Gemergte PRs (30 T.)
13

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus rubyforgood/human-essentials

Alle Issues in rubyforgood/human-essentials

Ähnliche Issues

Weitere Issues zu Ruby

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.