Review of "API Balance" version 1

Details Page Preview

Notice: This version is deprecated. Please install the new version at https://extensions.gnome.org/extension/10997/ai-quota/

Extension Homepage
https://github.com/0x5c0f/api-balance

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) error 2 warning 1

Shexli found 3 issues that may need reviewer attention.

EGO-P-002 error

GSettings schema path must use /org/gnome/shell/extensions base

GSettings schema path must start with `/org/gnome/shell/extensions`.

GSettings Schemas

  • schemas/org.gnome.shell.extensions.api-balance.gschema.xml
    id='org.gnome.shell.extensions.api-balance.provider' path=''
  • schemas/org.gnome.shell.extensions.api-balance.gschema.xml
    id='org.gnome.shell.extensions.api-balance.custom' path=''

EGO-P-004 error

GSettings schema XML filename must match schema id

GSettings schema filename must match `<schema-id>.gschema.xml`.

GSettings Schemas

  • schemas/org.gnome.shell.extensions.api-balance.gschema.xml
    id='org.gnome.shell.extensions.api-balance.provider' path=''
  • schemas/org.gnome.shell.extensions.api-balance.gschema.xml
    id='org.gnome.shell.extensions.api-balance.custom' path=''

EGO-L-006 warning

preferences classes should not retain window-scoped objects on instance fields without close-request cleanup

Preferences code stores window-scoped objects on the exported prefs class without `close-request` cleanup.

Destroy all objects

  • prefs.js:17
    this._settings = this.getSettings()

All Versions

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

Previous Reviews on this Version

0x5c0f auto- rejected
Auto-rejected because of new version 2 was uploaded