Review of "Workspace Switch Buttons" version 3

Details Page Preview

This GNOME Shell extension offers following features: - Buttons to switch to left and right workspace - Shows index of active workspace (click it for overview) [Can hide it in preferences] - Hides "Activities" button [Can turn this off in preferences]

Extension Homepage
https://github.com/rajan-31/Workspace-Switch-Buttons

No comments.

Diff Against

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

All Versions

Version Status
5 Active
4 Active
3 Rejected
2 Active
1 Rejected

Previous Reviews on this Version

JustPerfection rejected
1. `let settings` not `settings` (line 23 `prefs.js`). anyway, better to attach it to window to avoid garbage collecting before window close: https://gjs.guide/extensions/development/preferences.html#prefs-js 2. Every property you hold in `this` should be destroyed null out in disable (line 8-20 `extension.js`). I recommend to move everything to another class to ease up the review process.
rajan-31 posted a review
"I recommend to move everything to another class to ease up the review process" If I move them to another class say ClassA // in Extension class let props = new ClassA() // and I will use props.something instead of this.something but to destroy/null out everything do I just props = null // in destroy method is that it, instead of doing it individually unlike what I have done
JustPerfection posted a review
Yeah :)