[[ https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/master/src/mobile.startup/toast.js | The toast code ]] wraps [[ https://github.com/wikimedia/mediawiki/blob/master/resources/src/mediawiki.notify.js | mw.notify ]] and has 0% code coverage.
It provides what looks like useful functionality to show a toast on a page reload:
Toast.prototype.showOnPageReload
The question posed is should this functionality be moved into mw.notify in core and the Toast class deprecated?
This decision impacts how we go about code coverage for this file.
= Outcomes
[] The code and how it is used is scrutinised
[] A decision by the team on the future of this code
[] A task is created documenting those next steps (e.g. keeping+improving code coverage / removing / upstreaming to core)
= Out of scope
Actually upstreaming this to core (if decided) is out of scope for //this// task. As part of sign off, setup tasks to pursue the next steps.