Review of "Linux Usage" version 2

Details Page Preview

Monitor Codex, Claude, and Copilot quotas from the GNOME top bar.

Extension Homepage
https://github.com/KinanLak/linux-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 5

Shexli found 5 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

  • providers/catalog.js:18
    file.load_contents(null)

EGO-X-006 warning

extensions should not use lookupByURL or lookupByUUID for current extension access

Use `this`, `this.getSettings()` or `this.path` instead of `lookupByURL()` or `lookupByUUID()` for the current extension.

`extensionUtils`

  • services/helper_client.js:7
    Extension.lookupByURL(import.meta.url)
  • ui/popup.js:15
    Extension.lookupByURL(import.meta.url)

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-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

  • helper/cache.js
  • helper/dbus.js
  • helper/helper.js
  • helper/http.js
  • helper/providers/claude.js
  • helper/providers/codex.js
  • helper/providers/copilot.js
  • helper/registry.js
  • helper/utils.js
  • preferences-app.js

EGO-C45-001 warning

45+ preferences should use fillPreferencesWindow instead of getPreferencesWidget

45+ preferences code should use `fillPreferencesWindow()` instead of `getPreferencesWidget()`.

Preferences

  • prefs.js:4
        getPreferencesWidget() {
            return buildPrefsWidget(this.getSettings("org.gnome.shell.extensions.linux-usage"), this.path);
        }

All Versions

Version Status
5 Unreviewed
4 Unreviewed
3 Rejected
2 Rejected
1 Unreviewed

Previous Reviews on this Version

Kinaneuh posted a review
Good to go, shexli warnings are false positive
Kinaneuh auto- rejected
Auto-rejected because of new version 5 was uploaded