Review of "Codex Usage Indicator" version 3

Details Page Preview

Shows Codex usage in the GNOME top bar and a daily usage breakdown in the popup.

Extension Homepage
https://github.com/stonega/codex-usage-indicator

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 2

Shexli found 2 issues that may need reviewer attention.

EGO-L-001 warning

extension must not create GObject instances or modify shell before enable()

Resource creation or signal/source setup was found outside `enable()`.

Only use initialization for static resources

  • secret.js:9
    new Secret.Schema(
        SECRET_SCHEMA_NAME,
        Secret.SchemaFlags.NONE,
        {account: Secret.SchemaAttributeType.STRING},
    )

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:53
            this.menu.connect('open-state-changed', (_menu, isOpen) => {
                if (isOpen)
                    void this.refresh();
            })

All Versions

Version Status
3 Unreviewed
2 Rejected
1 Active