Repository navigation
Update timezone-buddy extension - #22349
Conversation
|
Thank you for your contribution! 🎉 🔔 @andrebreia @jelias you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. You can expect an initial review within five business days. |
There was a problem hiding this comment.
Greptile Overview
Summary
This PR adds Windows support to the timezone-buddy extension by migrating to ES modules. The changes include adding an ESLint config file, updating package.json with type: "module" and adding the author as a contributor.
Key changes:
- Created
eslint.config.jswith proper ES module syntax following Raycast standards - Added
"type": "module"topackage.jsonto enable ES module support - Added contributor
xulobeatsto the contributors list - Fixed missing EOF newline in
package.json - Changed "Move Up" to "Move up" in action title (line 392)
Minor issue found:
- Inconsistent capitalization between "Move up" (line 392) and "Move Down" (line 398) action titles
Confidence Score: 5/5
- This PR is safe to merge with minimal risk
- The changes are straightforward and follow Raycast best practices - properly configured ESLint, correct ES module setup, and no breaking changes. The only issue is a minor style inconsistency in action titles that doesn't affect functionality
- No files require special attention
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| extensions/timezone-buddy/eslint.config.js | 5/5 | New ESLint config file with correct ES module syntax for standard Raycast configuration |
| extensions/timezone-buddy/package.json | 5/5 | Added ES module support with type: module and contributor xulobeats, properly formatted EOF |
| extensions/timezone-buddy/src/timezone-buddy.tsx | 4/5 | Changed "Move Up" to "Move up" (lowercase 'u'), but "Move Down" remains with uppercase 'D' creating inconsistency |
Additional Comments (1)
-
extensions/timezone-buddy/src/timezone-buddy.tsx, line 398 (link)style: Inconsistent title capitalization - "Move up" on line 392 vs "Move Down" on line 398
3 files reviewed, 1 comment
|
Hi @michaelreinhard1, I can help you update it. Could you please add me as a contributor to your forked repository? |
The "Move Up" to "Move up" is something |
I'm not sure if that's necessary. I've already updated the extension for Windows compatibility and it just needs to be reviewed and approved by the contributors. @andrebreia @jelias |
The updates are not entirely accurate. You can refer to pull request #22328 for guidance on how to update it. If you need any help, I can assist with the update. |
|
Do you need any help @michaelreinhard1, then @ridemountainpig can help you here |
jelias
left a comment
There was a problem hiding this comment.
One nit, otherwise seems like a small change
There was a problem hiding this comment.
Greptile Overview
Greptile Summary
This review covers only the changes made since the last review, not the entire PR. The latest changes focus on adding Windows support to the timezone-buddy extension through modernizing the build configuration and dependencies. The developer has updated the project from legacy ESLint configuration (.eslintrc.json) to the modern flat config format (eslint.config.js), removed the "type": "module" field from package.json to resolve build compatibility issues, and updated all dependencies to current versions. Additional changes include TypeScript target alignment (ES2022 → ES2023), Windows-specific build artifacts in .gitignore, and minor code cleanup removing explicit JSX return type annotations. The CHANGELOG.md has been properly updated with the required {PR_MERGE_DATE} template format. These changes collectively ensure the extension builds successfully on Windows while maintaining compatibility with existing functionality.
Important Files Changed
| Filename | Score | Overview |
|---|---|---|
| extensions/timezone-buddy/CHANGELOG.md | 5/5 | Added Windows support entry with correct {PR_MERGE_DATE} format at top |
| extensions/timezone-buddy/eslint.config.js | 5/5 | Migrated from ES modules to CommonJS syntax following Raycast template |
| extensions/timezone-buddy/.eslintrc.json | 5/5 | Deleted legacy ESLint configuration file as part of modernization |
| extensions/timezone-buddy/package.json | 4/5 | Updated dependencies, removed "type": "module", added contributor |
| extensions/timezone-buddy/tsconfig.json | 5/5 | Updated TypeScript target from ES2022 to ES2023 for consistency |
| extensions/timezone-buddy/.gitignore | 5/5 | Added Windows-specific Raycast build artifacts to ignore list |
| extensions/timezone-buddy/src/timezone-buddy.tsx | 4/5 | Removed explicit JSX return types but introduced duplicate function call |
Confidence score: 4/5
- This PR is relatively safe to merge with proper Windows platform support improvements
- Score reflects mostly solid modernization changes but deducted one point due to a potential bug with duplicate
updateBuddiescalls in the moveDown function (lines 318-320) and the significance of dependency version jumps - Pay close attention to src/timezone-buddy.tsx for the duplicate function call issue and test the moveDown functionality thoroughly
Additional Comments (1)
-
extensions/timezone-buddy/src/timezone-buddy.tsx, line 320 (link)logic: Duplicate call to
updateBuddies- this line should be removed asupdateBuddiesis already called on line 318
7 files reviewed, 1 comment
pernielsentikaer
left a comment
There was a problem hiding this comment.
Looks good to me, approved 🔥
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username (@michaelreinhard1). Please link your GitHub account to your Raycast account to receive your credits and soon be able to exchange them for some swag. |
| } No newline at end of file | ||
| }, | ||
| "platforms": [ | ||
| "macOS" |
There was a problem hiding this comment.
I'm not sure what is required to make the extension supported on Windows, but here we are saying only macOS?
There was a problem hiding this comment.
You are right. Windows should be added there. It's strange because I checked locally and I do have Windows added there... I think I did something wrong creating this PR. This is my mistake thanks for noticing
There was a problem hiding this comment.
You make a new PR and ping me 🙂
- set RefreshStatus on all command calls - update dependencies - fix(scheduler): add missing code changes - package-lock.json update - fix: add missing BACKGROUND_REFRESH_STATUS to STORAGE_KEYS - Pull contributions - update changelog - docs: update CHANGELOG for background refresh alert feature - feat: add background refresh status alert to scheduled command form - Update CODEOWNERs (b30fad6) - Add httpperf extension (raycast#22809) - Update CODEOWNERs (a1b96be) - Add git extension (raycast#22550) - Update CODEOWNERs (9c35408) - Add logos-launcher extension (raycast#22366) - Update CODEOWNERs (792ccbd) - Add crypto-portfolio-tracker extension (raycast#22516) - Update CODEOWNERs (7c738cc) - chore: update github username (raycast#22634) - Update CODEOWNERs (2009369) - feat(screenocr): add option to disable sound and toast message (raycast#22559) - feat: Vision Support with Pixtral Models and Clipboard Integration (raycast#22724) - Update CODEOWNERs (76861a7) - Update deepcast extension (raycast#22830) - Update CODEOWNERs (4e55cf4) - [Sink] windows support + shortcuts + modernize (raycast#22850) - chore(sdk-scw): migrate to new sdk (raycast#22777) - Improve regex pattern used for Jira issue key detection (raycast#22833) - Update freeagent extension (raycast#22818) - Update CODEOWNERs (0fe6eb9) - [JWT Decoder] Update dependencies (raycast#22411) - Update CODEOWNERs (05e1779) - Add grokipedia extension (raycast#22519) - Update CHANGELOG.md (raycast#22832) - [VLC] Add commands for speed and history (raycast#22800) - Update CODEOWNERs (630baf9) - Update search-router extension (raycast#22823) - Update CODEOWNERs (660ff27) - Add excel-formula-beautifier extension (raycast#22578) - Update CODEOWNERs (f46e7f5) - Add json-resume extension (raycast#22499) - Update vps-explorer extension (raycast#22819) - Update CODEOWNERs (fae2c29) - Update prism-launcher (raycast#22801) - Update CODEOWNERs (6c53c0e) - Update video-downloader extension (raycast#22810) - Update CODEOWNERs (b4006be) - Add vps-explorer extension (raycast#22507) - [Ligue-1] Update extensions (raycast#22806) - Update `Coolify` extension - delete project (new action) (raycast#22794) - Update CODEOWNERs (f6d7e48) - Add `Firefly III` extension (raycast#22795) - Update CODEOWNERs (cfb46f5) - Add AI by vercel extension (raycast#22804) - Update review expectations message in pr-bot (raycast#22734) - Change fetch URL and parse frontend version (raycast#22751) - Update CODEOWNERs (61c928e) - fix(extension): fix zen-browser opening new tab in private window in windows (raycast#22767) - Update raycast-zoxide extension (raycast#22775) - Update browser bookmarks extension (raycast#22778) - Update CODEOWNERs (5898b65) - Add rule-of-three extension (raycast#22773) - Update twitch (raycast#22770) - Update fathom extension (raycast#22760) - [Postiz] v2 month till EoM + posts in markdown (raycast#22774) - Update CODEOWNERs (ad1c866) - Update twitch (raycast#22746) - Update CODEOWNERs (584953d) - Add Shelve extension (raycast#22287) - Update CODEOWNERs (342955a) - Add ray-code extension (raycast#22755) - Update qbittorrent (raycast#22756) - Update CODEOWNERs (c282ff1) - Update uploadthing (raycast#22763) - Update cloudflare-warp extension (raycast#22765) - Update CODEOWNERs (38c5ec8) - Add `Papra` extension (raycast#22761) - Update CODEOWNERs (ba06e8c) - add: Orshot extension (raycast#21715) - [ivpn] minor fix: error handling in logout command (raycast#22757) - Update CODEOWNERs (977815a) - Update steam (raycast#22730) - Update CODEOWNERs (52b198d) - feat(imessage-2fa): add support for the 2FA from Epos Card Japan (raycast#22593) - Update browser history extension (raycast#22749) - Update `Appwrite` extension - Show Sites, Deployments, Variables (raycast#22754) - [Multilinks] Add Perplexity Comet browser support (raycast#21476) - Update anna-s-archive extension (raycast#22739) - Update CODEOWNERs (fceb40c) - [ccusage] feat: enhance Node.js path resolution and CLI execution flexibility (raycast#22740) - Update silent-mode extension (raycast#22738) - Update CODEOWNERs (8101bc2) - AppGrid - Smart app launcher with grid view and category grouping (raycast#22709) - Update CODEOWNERs (c6c796f) - Add silent-mode extension (raycast#22732) - feat(ray-so): add nuxt theme preferences (raycast#22733) - Update CODEOWNERs (6de71ca) - Add pi-drill extension (raycast#22714) - Update CODEOWNERs (043ad9b) - Update bitbucket extension (raycast#22708) - Update CODEOWNERs (57cbf4b) - Add ping-menu extension (raycast#22299) - Docs: Update the utils docs - Update CODEOWNERs (d3ea74a) - Add udemy-coupons extension (raycast#22713) - Update CODEOWNERs (2dfb48e) - Update qbittorrent (raycast#22728) - Update CODEOWNERs (7c6269c) - Add dice-tiles extension (raycast#22021) - FuelX: Remove vulnerable, but unused, dependencies. (raycast#22727) - LingoRep: Fix security vulnerabilities. (raycast#22726) - Update CODEOWNERs (9a3fcb4) - Add zshrc-manager extension (raycast#22314) - Update CODEOWNERs (6f5ff61) - Update parallels-virtual-machines extension (raycast#22676) - Update CODEOWNERs (a92f1b8) - Add tex2typst extension (raycast#22667) - Update CODEOWNERs (dbdf418) - feat(sound-search): new extension for searching sounds 🎵 (raycast#22590) - Update skyscanner-flights extension (raycast#22723) - Update CODEOWNERs (1931677) - Add rhttp extension (raycast#22359) - Update `Capacities` extension - Maintenance + Windows Support (raycast#22694) - Update CODEOWNERs (6f7ed84) - Add `NetNewsWire` extension (raycast#22717) - [Chatwoot] search contacts + show unread convo count (raycast#22719) - Add Ghostty terminal support to Claude Code Launcher (raycast#22706) - Update knowyourmeme extension (raycast#22705) - Feature mistral medium (raycast#22633) - Update CODEOWNERs (10b7497) - Handle the search favourite space error (raycast#22689) - Update CODEOWNERs (85f8818) - Update timezone-buddy extension (raycast#22652) - Update CODEOWNERs (10af08b) - Extension: cloudflare (raycast#22660) - feat(chatgpt-search): Make query parameters configurable, simplify extension (raycast#22677) - Update CODEOWNERs (33834b7) - Add prompt-builder extension (raycast#22648) - Update CODEOWNERs (aa91051) - Add display-reinitializer extension (raycast#22678) - Update CODEOWNERs (2780fca) - Update messages extension (raycast#22687) - Update CODEOWNERs (cde25cb) - [gitignore] Windows Support and Favourites (raycast#22623) - Update CODEOWNERs (6e16a93) - [Google Search] Release for Windows (raycast#22410) - Update skyscanner-flights extension (raycast#22686) - Update jsr extension (raycast#22682) - Update CODEOWNERs (9b38b34) - Update spell extension (raycast#22657) - Update CODEOWNERs (24aabfd) - [Adhan Time] Add Windows support (raycast#22622) - Update CODEOWNERs (2a66830) - Update parcel extension (raycast#22239) - Update CODEOWNERs (5b5c73f) - Update idonthavespotify extension (raycast#22695) - Update CODEOWNERs (
Description
Add Windows support for timezone-buddy extension. Not sure if I did this PR correctly.. Using the Raycast CLI this time. I updated the package.json dependencies and platform support. Added eslint config file because the build was failing.
I just followed the Raycast docs but I'm fine leaving me out as a contributor since i didn't add a feature. Just wanted to support it on Windows.
Let me know if there is something I need to change 🙏