Review of "Todoist for GNOME" version 3

Details Page Preview

A GNOME Shell extension that brings your Todoist tasks to the top panel, so you can view and manage them without opening a browser or the Todoist app. Features: • View your Todoist tasks in a convenient top panel dropdown • Add tasks quickly with a popup window • Set a keyboard shortcut to open the Add Task popup from anywhere • Open tasks in your browser or your chosen Todoist app Note: You’ll need a Todoist API token to connect the extension to your account. See the README on GitHub for setup instructions. This extension is not officially supported by or affiliated with Todoist. If you encounter bugs or issues, please report them on GitHub.

Extension Homepage
https://github.com/cheapdramas/todoist-for-gnome

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 2

Shexli found 2 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:182
            this._grid = new St.Widget({
                style_class: 'todoist-calendar-grid',
                layout_manager: this._layout,
                x_expand: true,
            })
  • extension.js:178
            this._layout = new Clutter.GridLayout({
                column_homogeneous: true,
                row_homogeneous: true,
            })
  • extension.js:149
    this._manager = new PopupMenu.PopupMenuManager(sourceButton)
  • extension.js:167
            this._monthLabel = new St.Label({
                style_class: 'todoist-calendar-month',
                x_expand: true,
                x_align: Clutter.ActorAlign.CENTER,
                y_align: Clutter.ActorAlign.CENTER,
            })
  • extension.js:462
            this._addButton = new St.Button({
                style_class: 'todoist-add-task-submit',
                can_focus: true,
                track_hover: true,
                y_align: Clutter.ActorAlign.CENTER,
            })
  • extension.js:382
            this._entry = new St.Entry({
                style_class: 'todoist-add-task-entry',
                hint_text: 'Task name',
                can_focus: true,
            })
  • extension.js:437
            this._timeEntry = new St.Entry({
                style_class: 'todoist-add-task-time-entry',
                hint_text: 'hh:mm',
                can_focus: true,
            })

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:462
            this._addButton = new St.Button({
                style_class: 'todoist-add-task-submit',
                can_focus: true,
                track_hover: true,
                y_align: Clutter.ActorAlign.CENTER,
            })
  • extension.js:382
            this._entry = new St.Entry({
                style_class: 'todoist-add-task-entry',
                hint_text: 'Task name',
                can_focus: true,
            })
  • extension.js:437
            this._timeEntry = new St.Entry({
                style_class: 'todoist-add-task-time-entry',
                hint_text: 'hh:mm',
                can_focus: true,
            })

All Versions

Version Status
3 Unreviewed
2 Rejected
1 Rejected