Review of "Timed Do Not Disturb" version 3

Details Page Preview

Adds a timer menu to the Do Not Disturb quick toggle, allowing you to mute notifications for a specific time.

Extension Homepage
https://github.com/Andbal23/timed-do-not-disturb

No comments.

Diff Against

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

Shexli (experimental) warning 3

Shexli found 3 issues that may need reviewer attention.

EGO-L-002 warning

objects created by extension should be destroyed in disable()

Objects assigned in `enable()` are missing matching `.destroy()` calls in `disable()` or its helper methods.

Destroy all objects

  • extension.js:129
    this._itemsSection = new PopupMenu.PopupMenuSection()
  • extension.js:184
    this._untilItem = untilItem

EGO-L-005 warning

owned object references should be released in disable()

Owned references that are cleaned up in `disable()` should also be released with `null` or `undefined`.

Destroy all objects

  • extension.js:129
    this._itemsSection = new PopupMenu.PopupMenuSection()

EGO-L-006 warning

preferences classes should not retain window-scoped objects on instance fields without close-request cleanup

Preferences code stores window-scoped objects on the exported prefs class without `close-request` cleanup.

Destroy all objects

  • prefs.js:10
    this._settings = this.getSettings()

All Versions

Version Status
4 Unreviewed
3 Rejected
2 Active
1 Rejected

Previous Reviews on this Version

andbal auto- rejected
Auto-rejected because of new version 4 was uploaded