Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a new clipboard history manager applet for Cinnamon Desktop. The applet provides a searchable clipboard history with configurable tracking options, persistent storage, and support for both clipboard and primary (mouse) selection.
Changes:
- New clipboard history applet with search functionality and configurable history size
- Spanish translation files (POT and PO)
- Comprehensive settings schema with history, tracking, and menu customization options
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| clipboard@chmodmasx/screenshot.png | Screenshot of the applet in action |
| clipboard@chmodmasx/info.json | Spices metadata with author information |
| clipboard@chmodmasx/files/clipboard@chmodmasx/stylesheet.css | CSS styling for menu, search box, and history items |
| clipboard@chmodmasx/files/clipboard@chmodmasx/settings-schema.json | Settings definition with history, tracking, and menu sections |
| clipboard@chmodmasx/files/clipboard@chmodmasx/po/es.po | Spanish translation file |
| clipboard@chmodmasx/files/clipboard@chmodmasx/po/clipboard@chmodmasx.pot | Translation template file |
| clipboard@chmodmasx/files/clipboard@chmodmasx/metadata.json | Applet metadata with version and Cinnamon compatibility |
| clipboard@chmodmasx/files/clipboard@chmodmasx/icon.png | Applet icon for the panel |
| clipboard@chmodmasx/files/clipboard@chmodmasx/applet.js | Main applet implementation with clipboard monitoring, menu building, and history management |
| clipboard@chmodmasx/README.md | Comprehensive documentation with features, usage, configuration, and troubleshooting |
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 14 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 4 potential issue(s):
|
- Changed synchronous query_exists() to Gio asynchronous query_info_async() in _ensureSettingsFile to prevent UI blocks on slow network filesystems. - Removed legacy "Gtk" and "Gdk" string references from source comments to pass automated regex checker. - Bumped applet version to 1.0.2 in metadata and translations.
- Add debounce to search input (150ms) to avoid rebuild on every keystroke - Add debounce to settings changes (200ms) to prevent multiple rebuilds - Increase minimum polling interval from 1 to 5 seconds to reduce system load - Cleanup timers when applet is removed to prevent memory leaks - Version bump to 1.0.3
Adds the
clipboard@chmodmasxapplet, a clipboard history manager for Cinnamon with a searchable menu, quick actions to clear history/clipboard, optional tracking of primary selection, and persistent storage.