Update desktoprenamer extension#27936
Conversation
- Merge branch \'contributions/merge-1778860870440\' - Pull contributions - style: improve code styles - chore: revert background sync for toggle commands - feat: background refresh for toggle command subtitles - feat: display actual toggle status in Raycast command subtitle - fix: use valid \'return\' key for shortcut in Batch Move - fix: consistent primary action in Batch Move - feat: return-to-space preference and Batch Move UI redesign - feat: add Batch Move Windows command - perf: optimize switch and move window speed - fix: use conservative move window approach - fix: pass from space parameter in move window commands - feat: add move window actions and desktop filter to List Windows - feat: add List Windows command - chore(env): update package-lock.json - fix: show clean Not Running toast instead of raw "NotRunning" - fix: show clean SpaceAPI Disabled toast instead of raw AppleScript error - fix: use full tell block for reload space labels command - fix: surface actual AppleScript error message in toast - feat: use native reload space labels command - fix: use label toggle workaround for Reload Space Labels - feat: add Reload Space Labels command - feat: add Cmd+R rename support to Move Window command - feat: add Cmd+Enter move window shortcut to Switch Desktop - feat: add Move Window command - fix: remove deprecated toggle-space-label-windows command - Sanitize ID
|
Thank you for the update! 🎉 We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days. |
…ommand configuration
- Fix TypeScript errors in Batch Move and List Windows commands - fix: remove redundant toggle menubar items command - docs: update CHANGELOG.md
|
Change log:
|
Greptile SummaryThis update extends the
Confidence Score: 5/5Safe to merge — the new commands are self-contained AppleScript wrappers with proper error handling, and the logic fixes from the previous round have been applied correctly. All functional paths in the new commands look correct: the split-guard fixes from the previous review are in place, preference values use the auto-generated type, and deleted files have corresponding command entries removed from package.json. No new runtime errors or data-loss paths were found. No files require special attention. Important Files Changed
Prompt To Fix All With AIFix the following 1 code review issue. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 1
extensions/desktoprenamer/src/list-windows.tsx:163-167
The `delay` helper is defined as a nested function inside the component, so a new function object is allocated on every render. It has no closure over any component state, making it a pure utility — moving it to module scope (or into `utils.ts` alongside the other helpers) would be the idiomatic approach and consistent with how `batch-move-windows.tsx` already hoists it outside the component.
```suggestion
return (
```
Reviews (5): Last reviewed commit: "Update CHANGELOG.md" | Re-trigger Greptile |
- fix(list-windows): fix dead empty-string guard for current space id - refactor: use auto-generated Preferences type in getPreferenceValues - chore: use PR_MERGE_DATE placeholder in changelog
- chore: add eslint.config.js for ESLint v9 flat config compatibility - style: improve code styles - refactor: extract duplicate space fetching and RenameSpaceForm to shared module - fix(batch-move): avoid double error toast on failure
- fix: correct empty-string check in returnToOriginalSpace check - refactor: use defineConfig in eslint.config.js for flat config normalization
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder