clocket@tirtha: Version 3.0.0#1745
Conversation
There was a problem hiding this comment.
Pull request overview
This is a major version 3.0.0 refactoring of the clocket desklet that addresses numerous critical usability issues including missing weather functionality, lack of translations, no 24-hour clock support, and various UI/UX problems. The PR represents a significant rewrite with extensive new features and improvements.
Changes:
- Complete refactoring of the desklet code with improved structure, error handling, and async data fetching
- Added Open-Meteo weather service with automatic location detection, replacing the non-functional default weather setup
- Comprehensive i18n support with translations for multiple languages and integration with Cinnamon system settings
Reviewed changes
Copilot reviewed 16 out of 17 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| metadata.json | Updated version to 3.0.0, fixed typo in description, removed deprecated fields |
| settings-schema.json | Complete reorganization with new tabbed layout and many new customization options |
| stylesheet.css | Simplified CSS with new class names, removed hardcoded dimensions |
| desklet.js | Major refactoring: async weather fetching, Open-Meteo integration, translations, better error handling |
| po/*.po | Updated all translation files with new strings and corrected metadata |
| CHANGELOG.md | New file documenting version history extracted from git history |
| README.md | Rewritten with clearer installation and setup instructions |
|
Hello @KopfdesDaemons, Looks good. Hope that we will see more quality contributions like this in the future. BR // Tirtha |
Pattern Check ResultsFound 1 potential issue(s): ℹ️ shell_string_spawnclocket@tirtha/files/clocket@tirtha/desklet.js:200 Prefer argument vector spawn functions over shell command strings. Automated pattern check. |
Best-practices scannerThis is a regex-based check for API usage that can pose security, performance or This check is not perfect will not replace a normal review.Found 2 potential issue(s):
|
Best-practices scannerThis is a regex-based check for API usage that can pose security, performance or This check is not perfect will not replace a normal review.Found 1 potential issue(s): ℹ️ shell_string_spawnclocket@tirtha/files/clocket@tirtha/desklet.js:200 Prefer argument vector spawn functions over shell command strings. Automated pattern check. |
This desklet needs refactoring. There are several critical issues that severely limit its usability:
@tirtharajsinha I've spent many hours over the last four days reworking this desklet. The code changes are extremely extensive. This is one of my largest pull requests.
I've kept the working functionality and respected the existing look and feel. Please take the time to review my revised version of the desklet.
I see you have a repository with this desklet and a newer version like this one. Since your version never made it into the official repository, the next logical version number is 3.0.0. Don't worry, the features you added are also included in my version.
Here are my changes:
clock-use-24hCinnamon settingclock-show-secondsCinnamon settingconstoverletletovervarshow-weather-datasettingcloses #962
closes #708
closes #729