Review of "GPT Usage Indicator" version 1

Details Page Preview

Show Codex subscription usage for the 5-hour and 7-day windows on the left of the top panel. Choose percentages, rings or bars. Requires the separately installed GPT Usage companion for Linux; see the homepage for installation. Sign in from Preferences. Unofficial project, not affiliated with OpenAI.

Extension Homepage
https://github.com/Ruochen0513/GPT-Usage-Indicator

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:24
    this._label = new St.Label({y_align: Clutter.ActorAlign.CENTER})

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:31
            this._button.menu.connect('open-state-changed', (_menu, open) => {
                if (open) this._render();
            })
  • extension.js:25
            this._graph.connect('repaint', area => paintGraph(area, this._view.values,
                this._settings.get_string('display-mode'), this._settings.get_boolean('show-remaining')))

All Versions

Version Status
1 Unreviewed