Review of "DownDev" version 0.1.1 (2)

Details Page Preview

DownDev lets you save videos and audio directly from your GNOME panel using yt-dlp. Requires yt-dlp; ffmpeg enables merging and MP3 conversion. Deno is recommended for YouTube support. Optional clipboard access is disabled by default and fills the link field locally without contacting websites automatically.

Extension Homepage
https://github.com/drissnafii/yt-down

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 4

Shexli found 4 issues that may need reviewer attention.

EGO-P-007 warning

JavaScript files should be reachable from extension.js or prefs.js

Some JavaScript files are not reachable from `extension.js` or `prefs.js` imports.

Don't include unnecessary files

  • worker.js

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:423
    this.formats = new PopupMenu.PopupMenuSection
  • extension.js:426
    this.more = new PopupMenu.PopupSubMenuMenuItem("Show more", false)

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:331
    this.button = new PanelMenu.Button(0.5, "DownDev")
  • extension.js:423
    this.formats = new PopupMenu.PopupMenuSection
  • extension.js:426
    this.more = new PopupMenu.PopupSubMenuMenuItem("Show more", false)

EGO-L-003 warning

signals connected by extension should be disconnected in disable()

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

Disconnect all signals

  • extension.js:469
        menu.connect("open-state-changed", (_menu, open) => {
          this.syncMotion();
          this.callbacks.opened();
        })
  • extension.js:446
        this.cancelButton.connect("clicked", () => {
          this.callbacks.cancel();
          this.setStatus("Cancelling…");
          if (this.cancelButton)
            this.cancelButton.reactive = false;
        })
  • extension.js:382
    this.entry.clutter_text.connect("activate", () => this.callbacks.search())
  • extension.js:395
    this.entry.connect("button-press-event", editInput)
  • extension.js:396
    this.entry.clutter_text.connect("button-press-event", editInput)
  • extension.js:397
    this.entry.clutter_text.connect("key-focus-in", () => this.setInputError(""))
  • extension.js:383
    this.entry.clutter_text.connect("text-changed", () => this.callbacks.input())
  • extension.js:344
    this.panelRing.connect("repaint", () => this.drawRing())
  • extension.js:405
    this.searchButton.connect("clicked", () => this.callbacks.search())
  • extension.js:355
        settings.connect("clicked", () => {
          this.button?.menu.close();
          this.callbacks.preferences();
        })
  • extension.js:394
    this.urlField.connect("button-press-event", editInput)
  • extension.js:960
    button.connect("clicked", activate)
  • extension.js:869
    this.cancel.connect("clicked", callbacks.cancel)
  • extension.js:868
    this.card.connect("notify::hover", () => this.updateActions())
  • extension.js:870
    this.progress.connect("notify::width", () => this.updateProgress())

All Versions

Version Status
0.1.1 (2) Unreviewed
0.1.0 (1) Rejected