Review of "Buoy" version 0.1.1 (1)

Details Page Preview

A living pill for the top bar. It grows when music plays, a file copies, a charger connects or a coding agent asks for permission — and shrinks back the moment it is over. Click it for a single home panel. No daemon, no setup. Clipboard: when you copy something, Buoy reads it (the text, the file names or a thumbnail of the image) to show it briefly in the pill. Turn "Show what was copied" off in its settings and it only says Copied, without reading the clipboard. Nothing is stored or sent anywhere.

Extension Homepage
https://github.com/murilegus/buoy

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

Shexli found 6 issues that may need reviewer attention.

EGO-X-003 warning

extensions should not call run_dispose in extension code

Extension code should not call `run_dispose()`.

GObject.Object.run_dispose

  • lib/kit/idle.js:182
    this._clock.run_dispose()

EGO-A-005 manual_review

extensions should not access the clipboard directly

Direct clipboard access via `St.Clipboard.get_default()` requires reviewer scrutiny.

Review Guidelines

  • lib/modules/copied/source.js:41
    St.Clipboard.get_default()

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

  • hooks/claude.js

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

  • panel.js:280
    this._gesture = new Clutter.ClickGesture()
  • panel.js:434
    this._extra = new St.BoxLayout({style_class: 'buoy-app-extra', y_align: Clutter.ActorAlign.CENTER})
  • panel.js:437
    this._extraText = new St.Label({y_align: Clutter.ActorAlign.CENTER})
  • panel.js:431
    this._icon = new St.Bin({y_align: Clutter.ActorAlign.CENTER})
  • panel.js:446
    this._menuManager = new PopupMenu.PopupMenuManager(this.actor)
  • panel.js:432
    this._text = new St.Label({style_class: 'buoy-app-name', y_align: Clutter.ActorAlign.CENTER})

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

  • panel.js:434
    this._extra = new St.BoxLayout({style_class: 'buoy-app-extra', y_align: Clutter.ActorAlign.CENTER})
  • panel.js:431
    this._icon = new St.Bin({y_align: Clutter.ActorAlign.CENTER})
  • panel.js:432
    this._text = new St.Label({style_class: 'buoy-app-name', y_align: Clutter.ActorAlign.CENTER})
  • panel.js:426
            this.actor = new St.Button({
                style_class: 'buoy-app', reactive: true, can_focus: true, track_hover: true,
                button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE, y_align: Clutter.ActorAlign.CENTER,
            })

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

  • lib/kit/present.js:168
            this._timeline.connect('new-frame', tl => {
                const t = tl.get_elapsed_time() - MARQUEE_PAUSE;
                const x = t > 0 ? -Math.round(dist * Math.min(t / scrollMs, 1)) : 0;
                this._first.translation_x = this._second.translation_x = x;
            })
  • panel.js:459
    this.actor.connect('clicked', (_b, button) => this._clicked(button))
  • panel.js:460
    this.actor.connect('scroll-event', (_a, event) => Main.wm.handleWorkspaceScroll(event))

All Versions

Version Status
0.1.1 (1) Unreviewed