Review of "Claude Usage" version 4

Details Page Preview

Track Claude Pro usage from the GNOME top bar: current session percentage in the panel, plus a menu with every active limit (session, weekly, per-model) and reset times. Fully customizable panel icon.

Extension Homepage
https://github.com/carlozdaniel/claude-usage-gnome-extension

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-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:132
            this._menuOpenSignal = this.menu.connect('open-state-changed', (menu, isOpen) => {
                if (isOpen)
                    this._refresh();
            })

EGO-L-008 warning

Soup.Session instances should be aborted during cleanup

Soup.Session instances should be aborted during cleanup.

Soup.Session.abort

  • extension.js:104
    this._httpSession = new Soup.Session()

EGO-L-004 warning

main loop sources should be removed in disable()

Main loop sources assigned in `enable()` are missing matching removals in `disable()` or its helper methods.

Remove main loop sources

  • extension.js:151
            this._timeoutId = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, interval, () => {
                this._refresh();
                return GLib.SOURCE_CONTINUE;
            })

All Versions

Version Status
4 Unreviewed
3 Rejected
2 Rejected
1 Rejected