Review of "Claude Usage" version 2

Details Page Preview

Monitor your Claude AI usage limits in the GNOME top bar. Shows 5-hour and 7-day usage percentages and time until quota resets.

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

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-X-004 warning

extensions should avoid synchronous file IO in shell code

Shell code should avoid synchronous file IO APIs like `GLib.file_get_contents()` and `Gio.File.load_contents()`.

File Operations

  • extension.js:181
    file.load_contents(null)

EGO-P-006 warning

unnecessary build and translation artifacts should not be shipped

Compiled GSettings schemas should not be shipped for 45+ packages.

Don't include unnecessary files

  • schemas/gschemas.compiled
    schemas/gschemas.compiled

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:101
            this.menu.connect('open-state-changed', (_self, isOpen) => {
                if (isOpen && !this._backoffTimeoutId) this._fetchUsage();
            })

All Versions

Version Status
2 Unreviewed
1 Rejected