Review of "Gold Rate" version 1

Details Page Preview

Gold spot prices in your top bar, with selectable currency, grams or troy ounces, and automatic updates. Free API; no key required.

Extension Homepage
https://github.com/user9091/gnome-gold-rate

No comments.

FAQ

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:27
            this._icon = new St.Icon({
                gicon: new Gio.FileIcon({file: this.dir.get_child('icons').get_child('gold-bar.svg')}),
                icon_size: 20,
                y_align: Clutter.ActorAlign.CENTER,
            })
  • extension.js:32
    this._label = new St.Label({text: '…', y_align: Clutter.ActorAlign.CENTER})
  • extension.js:40
    this._priceItem = new PopupMenu.PopupMenuItem('Loading…', {reactive: false})
  • extension.js:42
    this._statusItem = new PopupMenu.PopupMenuItem('Connecting to Gold API…', {reactive: 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:72
    this._indicator.menu.connect('open-state-changed', () => this._render(state))

All Versions

Version Status
3 Unreviewed
2 Unreviewed
1 Rejected

Previous Reviews on this Version

Galsplained auto- rejected
Auto-rejected because of new version 2 was uploaded