Countdown to next coding contests. This extension uses the API of kontests.net to get the list of all upcoming contests. A countdown to the closest upcoming contest (that you are participating in) is shown in the panel, which can be clicked on to view the list of all upcoming contests.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
1. Add to the description that this extension is using `codeforces.com`. 2. The timeout in line 82 (contests.js) should be removed in `catch` block before assigning the timeout id again. 3. Remove install.sh: https://gjs.guide/extensions/review-guidelines/review-guidelines.html#don-t-include-unnecessary-files 4. Unnecessary imports: - line 4 extension.js - line 1, 6 and 9 popupmenu.js 5. Please add GitHub or GitLab url to the metadata.json: https://gjs.guide/extensions/review-guidelines/review-guidelines.html#metadata-json-must-be-well-formed 6. You shouldn't import GTK in popupmenu.js (line 10). You can use these instead of lines 166 and 167: - `St.PolicyType.AUTOMATIC` - `St.PolicyType.NEVER`. 7. Lang is a deprecated module. Please remove it from line 175 (prefs.js): https://gjs.guide/extensions/review-guidelines/review-guidelines.html#general-advice Learn how to remove Lang from your code: https://gjs.guide/guides/gjs/legacy-class-syntax.html 8. Use `ExtensionUtils.getSettings()` instead of lines 14-22 (prefs.js) and lines 142-154 (extension.js): https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/misc/extensionUtils.js 9. Also do these in disable: ```js ccMenu = null; settings = null; ``` 10. When you are not in a method, don't use `this.`. For example line 180 `extension.js`. 11. Bad schema id in schema xml file name: https://gjs.guide/extensions/review-guidelines/review-guidelines.html#gsettings-schemas If you need any help with your extension you can ask us on: - [GNOME Matrix Channel](https://matrix.to/#/#extensions:gnome.org) - IRC Bridge: irc://irc.gimpnet.org/shell-extensions