Review of "Dash2Dock Animated-Updated" version 1

Details Page Preview

The Animated & Effectful Dock

Extension Homepage
https://github.com/Contra-BlackFlag/dash2dock-lite

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

Shexli found 9 issues that may need reviewer attention.

EGO-A-004 warning

extension files should not contain excessive ungated console logging

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

No excessive logging

  • animator.js:188
    console.error('d2da: animator animate', err)
  • animator.js:1299
    console.error('d2da: bounceIcon translateDecor', err)
  • animator.js:1321
    console.error('d2da: bounceIcon frame', err)
  • animator.js:1342
    console.error('d2da: bounceIcon frame', err)
  • animator.js:1387
    console.error('d2da: bounceIcon reset frame', err)
  • animator.js:1400
    console.error('d2da: bounceIcon end frame', err)
  • style.js:141
    console.log(`${color} ${res}`)
  • style.js:30
    console.error('d2da: style unloadAll unload_stylesheet', err)
  • style.js:44
    console.error('d2da: style unloadAll', err)
  • style.js:81
    console.error('d2da: style build unload_stylesheet', err)
  • style.js:93
    console.error('d2da: style build cleanup', err)
  • style.js:102
    console.error('d2da: style build unload_stylesheet', err)

EGO-C49-004 error

extensions targeting GNOME 49 must not call Meta.Window.get_maximized

This extension explicitly targets GNOME Shell 49 but still calls removed `Meta.Window.get_maximized()`.

Meta.Window

  • autohide.js:303
    w.get_maximized()
  • dock.js:1775
    focusedWindow.get_maximized()

EGO-A-004 warning

extension files should not contain excessive ungated console logging

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

No excessive logging

  • compat.js:29
    console.error('d2da: compat getFavorites', e)
  • compat.js:39
    console.error('d2da: compat getFavoriteMap', e)
  • compat.js:46
    console.error('d2da: compat _getIds fallback', e)
  • compat.js:157
    console.error('d2da: compat showOverviewApps', e)
  • compat.js:177
    console.error('d2da: compat maximizeWindow', e)
  • compat.js:195
    console.error('d2da: compat unmaximizeWindow', e)
  • compat.js:265
    console.error('d2da: compat setupDashProxy', e)
  • compat.js:291
    console.error('d2da: compat setDashOrientation', e)
  • compat.js:315
    console.error('d2da: compat setBoxLayoutOrientation', e)
  • compat.js:337
    console.error('d2da: compat setDashLayoutDirection', e)

EGO-A-001 manual_review

extension code must not be minified or obfuscated

File appears obfuscated: 82% of identifiers are 1–2 characters (avg length 2.2).

Code must not be obfuscated

  • effects/easing.js
    short identifier ratio: 82%, identifiers scored: 73

EGO-A-004 warning

extension files should not contain excessive ungated console logging

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

No excessive logging

  • extension.js:341
    console.log('dash2dock-lite enabled')
  • extension.js:401
    console.log('dash2dock-lite disabled')
  • extension.js:533
    console.log(`loading icon ${file.get_path()}`)
  • extension.js:549
    console.log(`loading icon ${file.get_path()}`)
  • extension.js:605
    console.log(err)
  • extension.js:1036
    console.log(err)
  • extension.js:297
    console.error('d2da: loadConfig', err)
  • extension.js:489
    console.error('d2da: loadConfig', err)
  • extension.js:556
    console.error('d2da: loadConfig', err)
  • extension.js:627
    console.error(`d2da: msg-to-ext ${value}`, err)
  • services.js:471
    console.log(`checking ${path}`)
  • services.js:617
    console.log('checking recent manager')
  • services.js:629
    console.log(err)
  • services.js:650
    console.log('not exists')
  • services.js:40
    console.error(`d2da: service ${this.name} update`, e)
  • services.js:237
    console.error(`d2da: service ${s.name} update`, e)
  • services.js:414
    console.error('d2da: services emptyTrash child delete', e)
  • services.js:422
    console.error('d2da: services emptyTrash', e)
  • services.js:459
    console.error('d2da: services checkTrash', e)
  • services.js:536
    console.error('d2da: services checkRecentFilesInFolder', e)

EGO-I-002 error

Gtk, Gdk and Adw must not be imported in shell process files

GTK library `Gtk` must not be imported in extension process files.

Do not import GTK libraries in GNOME Shell

  • preferences/prefKeys.js:2
    import Gtk from 'gi://Gtk';

EGO-A-004 warning

extension files should not contain excessive ungated console logging

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

No excessive logging

  • prefs.js:106
    console.log(`=======${val}`)
  • prefs.js:118
    console.log(`d2da: select folder: ${err.message}`)
  • prefs.js:122
    console.log(`${target} = ${path}`)
  • prefs.js:126
    console.log('No valid folder selected.')
  • prefs.js:143
    console.log(path)
  • prefs.js:146
    console.log(err)
  • prefs.js:366
    console.error(`d2da: invalid preset ${fn.get_path()}`, err)
  • prefs.js:466
    console.error(`d2da: preset ${p['meta']['title']} key ${k}`, err)

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

  • apps/overlay.js
  • apps/recents.js

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

  • dockItems.js:117
    dialog.connect('closed', cleanUp)
  • dockItems.js:118
    dialog.connect('destroy', cleanUp)

All Versions

Version Status
1 Unreviewed