Wikimedia
Tracker: When at least one notification about one of "changed" object exist, do not emit others
Knowledge expectations
Student is expected to know basics of Django.
Problem
- I create a ticket, with no planned expenditures
- I add two planned expenditures to ticket I just created
- I realize I forgot to mark them as wages
- I mark all 2 planned expenditures as wages
- I just emitted another notification without good reason
When either ticket new notification or expenditure new notification was emitted but not distributed, do not emit other notifications about that expenditure. Do emit notification about other expenditures of course.
Expected outcome
You should propose a patch to Wikimedia Gerrit, see tutorial.
Student is expected to claim the task on Wikimedia Phabricator when claiming this task on the GCI site.
Materials
- Tracker in production
- Test version of Tracker – you can play with Tracker here
- Codebase
- If you want to try to work with Gerrit before working on this, you can claim this task before.
- How to setup local development environment
Task tags
Students who completed this task
refeed