Review of "Quick Settings NG" version 0.1.1 (1)

Details Page Preview

Adds MPRIS media controls, privacy toggles, per-application volume controls, compact layout options, and menu effects to GNOME Shell Quick Settings.

Extension Homepage
https://github.com/davidecelentano/quick-settings-ng

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) warning 5

Shexli found 5 issues that may need reviewer attention.

EGO-A-004 warning

extension files should not contain excessive ungated console logging

File contains 11 ungated console.log/warn/error calls (threshold: 5).

No excessive logging

  • core/feature-manager.js:36
    console.log(`[QSNG] enabling feature: ${id}`)
  • core/feature-manager.js:38
    console.log(`[QSNG] enabled feature: ${id}`)
  • core/feature-manager.js:44
    console.log(`[QSNG] disabling feature: ${id}`)
  • core/feature-manager.js:59
    console.log(`[QSNG] enabling feature: ${feature.id}`)
  • core/feature-manager.js:62
    console.log(`[QSNG] enabled feature: ${feature.id}`)
  • core/feature-manager.js:83
    console.log(`[QSNG] disabling feature: ${feature.id}`)
  • core/feature-manager.js:49
    console.error(`[QSNG] failed disabling feature: ${id}`, error)
  • core/feature-manager.js:66
    console.error('[QSNG] feature startup failed, rolling back', error)
  • core/feature-manager.js:72
    console.error(`[QSNG] rollback failed for feature: ${feature.id}`, cleanupError)
  • core/feature-manager.js:88
    console.error(`[QSNG] failed disabling feature: ${feature.id}`, error)

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

objects created by extension should be destroyed in disable()

Objects assigned in `enable()` are missing matching `.destroy()` calls in `disable()` or its helper methods.

Destroy all objects

  • features/volume-mixer/volume-mixer-feature.js:43
            this.#icon = new St.Icon({
                gicon: stream.get_gicon(),
                icon_size: 18,
                y_align: Clutter.ActorAlign.CENTER,
            })
  • features/volume-mixer/volume-mixer-feature.js:49
            this.#label = new St.Label({
                text: streamLabel(stream),
                x_expand: true,
                x_align: Clutter.ActorAlign.START,
                y_align: Clutter.ActorAlign.CENTER,
                style_class: 'qsng-volume-label',
            })
  • features/volume-mixer/volume-mixer-feature.js:57
            this.#muteButton = new St.Button({
                toggleMode: true,
                can_focus: true,
                reactive: true,
                track_hover: true,
                accessible_name: 'Mute application',
                child: new St.Icon({
                    icon_name: 'audio-volume-muted-symbolic',

EGO-L-005 warning

owned object references should be released in disable()

Owned references that are cleaned up in `disable()` should also be released with `null` or `undefined`.

Destroy all objects

  • features/volume-mixer/volume-mixer-feature.js:43
            this.#icon = new St.Icon({
                gicon: stream.get_gicon(),
                icon_size: 18,
                y_align: Clutter.ActorAlign.CENTER,
            })
  • features/volume-mixer/volume-mixer-feature.js:49
            this.#label = new St.Label({
                text: streamLabel(stream),
                x_expand: true,
                x_align: Clutter.ActorAlign.START,
                y_align: Clutter.ActorAlign.CENTER,
                style_class: 'qsng-volume-label',
            })
  • features/volume-mixer/volume-mixer-feature.js:57
            this.#muteButton = new St.Button({
                toggleMode: true,
                can_focus: true,
                reactive: true,
                track_hover: true,
                accessible_name: 'Mute application',
                child: new St.Icon({
                    icon_name: 'audio-volume-muted-symbolic',
  • features/volume-mixer/volume-mixer-feature.js:27
            this.item = new PopupMenu.PopupBaseMenuItem({
                reactive: false,
                can_focus: false,
                style_class: 'qsng-volume-menu-item',
            })
  • features/volume-mixer/volume-mixer-feature.js:138
    this.#expander = new PopupMenu.PopupSubMenuMenuItem('Application Volume', false)

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

  • features/volume-mixer/volume-mixer-feature.js:68
            this.#muteButton.connect('clicked', () => {
                this.#stream.change_is_muted(!this.#stream.is_muted);
            })

All Versions

Version Status
0.1.3 (3) Unreviewed
0.1.2 (2) Rejected
0.1.1 (1) Rejected

Previous Reviews on this Version

Davide Celentano auto- rejected
Auto-rejected because of new version 0.1.2 (2) was uploaded