Review of "Adwita Square" version 1.0.1 (2)

Details Page Preview

Square GTK theme and GNOME Shell styling based on Adwaita

Extension Homepage
https://github.com/Mikolaj75/adwita-square

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 4

Shexli found 4 issues that may need reviewer attention.

EGO-X-004 warning

extensions should avoid synchronous file IO in shell code

Shell code should avoid synchronous file IO APIs like `GLib.file_get_contents()` and `Gio.File.load_contents()`.

File Operations

  • browserTheme.js:256
    cssFile.load_contents(null)
  • browserTheme.js:325
    cssFile.load_contents(null)
  • browserTheme.js:281
    userJsFile.load_contents(null)
  • browserTheme.js:431
    file.load_contents(null)
  • iconThemeGenerator.js:518
    GLib.file_get_contents(srcSvgPath)
  • iconThemeGenerator.js:575
    GLib.file_get_contents(srcSvgPath)
  • iconThemeGenerator.js:681
    GLib.file_get_contents(srcSvgPath)
  • iconThemeGenerator.js:1048
    GLib.file_get_contents(normalIcon)
  • iconThemeGenerator.js:1223
    GLib.file_get_contents(app.desktopPath)
  • themeGenerator.js:132
    GLib.file_get_contents(path)
  • themeGenerator.js:4235
    cssFile.load_contents(null)
  • themeGenerator.js:4301
    cssFile.load_contents(null)

EGO-A-004 warning

extension files should not contain excessive ungated console logging

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

No excessive logging

  • extension.js:1193
    console.log(`[${this.uuid}] Enabling adwita-square extension...`)
  • extension.js:1468
    console.log(`[${this.uuid}] Automatycznie zaktualizowano ikony w tle dla akcentu '${accentColor}' (${res?.generatedCount || 0} ikon).`)
  • extension.js:1661
    console.log(`[${this.uuid}] Updated style for GTK-3.0 and GTK-4.0 (variant: ${variant}, accent: ${accentColor})`)
  • extension.js:1784
    console.log(`[${this.uuid}] Loaded dynamic shell stylesheet for the top panel`)
  • extension.js:1796
    console.log(`[${this.uuid}] Restored Adwaita style – unloaded shell stylesheet`)
  • extension.js:1887
    console.log(`[${this.uuid}] Disabling adwita-square extension...`)
  • extension.js:1988
    console.log(`[${this.uuid}] Restored Adwaita style – removed adwita-square CSS from ~/.config/gtk-4.0/`)
  • extension.js:1338
    console.error(`[${this.uuid}] Error during extension initialization:`, e)
  • extension.js:1786
    console.error(`[${this.uuid}] Failed to load shell stylesheet:`, e)
  • extension.js:1990
    console.error(`[${this.uuid}] Failed to remove CSS styles:`, e)

EGO-X-002 warning

extensions should not use synchronous subprocess APIs in shell code

Shell code should avoid synchronous subprocess APIs like `GLib.spawn_command_line_sync()` and `GLib.spawn_sync()`.

Complete Examples

  • wallpaperManager.js:138
    GLib.spawn_sync(null, cmd, null, GLib.SpawnFlags.SEARCH_PATH, null)
  • wallpaperManager.js:154
    GLib.spawn_sync(null, fallbackCmd, null, GLib.SpawnFlags.SEARCH_PATH, null)

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

  • videoWallpaperRenderer.js

All Versions

Version Status
1.0.3 (4) Unreviewed
1.0.2 (3) Unreviewed
1.0.1 (2) Rejected
1.0.0 (1) Rejected

Previous Reviews on this Version

EMikolaj auto- rejected
Auto-rejected because of new version 1.0.3 (4) was uploaded