windows-alttab@samuel-ifrs: add new extension#1073
Conversation
Alt+Tab window switcher with live window thumbnails, in the classic Windows style. Middle-click a thumbnail to close that window; right-click for the window menu. Co-Authored-By: Claude Code <noreply@anthropic.com>
Best-practices scannerThis is a regex-based check for API usage that can pose security, performance or This check is not perfect and will not replace a normal review.Found 3 potential issue(s):
|
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a new Cinnamon extension that replaces the default Alt+Tab switcher with a Windows-style multi-row thumbnail switcher.
Changes:
- Introduces a custom ClassicSwitcher implementation with live window previews, multi-row wrapping, and middle/right click actions.
- Adds styling, extension metadata, and root project info.
- Documents features and usage in a new README.
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| windows-alttab@samuel-ifrs/info.json | Adds top-level project metadata for the spice/repo. |
| windows-alttab@samuel-ifrs/files/windows-alttab@samuel-ifrs/stylesheet.css | Adds CSS for the Windows-style switcher layout and selection styling. |
| windows-alttab@samuel-ifrs/files/windows-alttab@samuel-ifrs/metadata.json | Adds Cinnamon extension metadata (uuid/name/description/version). |
| windows-alttab@samuel-ifrs/files/windows-alttab@samuel-ifrs/extension.js | Hooks Cinnamon’s app switcher creation to use the custom switcher and toggles the global style setting. |
| windows-alttab@samuel-ifrs/files/windows-alttab@samuel-ifrs/classic_switcher_windows_style.js | Implements the custom switcher, window preview sizing, click handling, and row-based layout. |
| windows-alttab@samuel-ifrs/README.md | Documents features, usage, and behavior of the global style setting. |
- Replace Lang.bind() with arrow functions / .bind() (deprecated API) - Use set_child() instead of direct child property assignment - Cache _computeRows() result; invalidate on item add or icon resize - Split long inline object literal in _computeRows - Translate hardcoded PT-BR notification messages to English - Complete info.json with uuid, name and description fields - Add comment explaining why SwitcherList._init is called directly Co-Authored-By: Claude Code
This PR adds a new extension: Windows Alt+Tab (
windows-alttab@samuel-ifrs).What it does
An Alt+Tab window switcher that shows live window thumbnails (previews), in the classic Windows style:
While enabled it sets
alttab-switcher-styletowindows; the previous style is restored on disable.Checklist
./validate-spice windows-alttab@samuel-ifrspassesmetadata.jsonhasuuid,name,description; no forbidden fields; ASCII onlyinfo.jsonwith authoricon.png,screenshot.pngfiles/contains only the UUID directoryTested on Cinnamon 6.6 (Linux Mint).