Conversation
- - Adds "Focus Next Same App" command - Focuses on the next window with the same application name - MacOS has same feature, but it is only available in the current space - Adds "Search Windows" command - Searches for windows managed by Yabai - Allows to search by window title or application name , it is really useful when windows have the same app name - Initial commit
|
Thank you for your contribution! 🎉 🔔 @krzysztoff1 @rubentsirunyan @webdesus @d34dh0r53 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. Due to our current reduced availability, the initial review may take up to 10-15 business days |
|
Asked a PR review bot to make the review, let's see if it finds anything |
There was a problem hiding this comment.
PR Summary
This PR adds two new commands to the Yabai extension: "Focus Next Same App" for cycling through windows of the same application and "Search Windows" for finding windows by title or app name with Pinyin support.
- Added
focus-next-same-app.tsxto cycle through windows of the same application, even across spaces - Added
search-windows.tsxwith Chinese Pinyin search support using the newtiny-pinyindependency - Created
window-utils.tshelper with a commonBaseWindowinterface andsortWindowsfunction for consistent window handling - The
launchCommandinsearch-windows.tsxshould be wrapped in a try-catch block for better error handling - Performance logging in
search-windows.tsxprovides useful debugging information but could be optimized for production
💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!
6 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile
pernielsentikaer
left a comment
There was a problem hiding this comment.
Added a few more 🙂
Request a new review when you are ready. Feel free to contact me here or at Slack if you have any questions.
Co-authored-by: Per Nielsen Tikær <per@raycast.com>
d34dh0r53
left a comment
There was a problem hiding this comment.
This is awesome! Just a nit and a suggestion from me.
|
@greptileai could you do another review |
There was a problem hiding this comment.
PR Summary
(updates since last review)
This PR enhances the Yabai extension with two new window management commands that work across spaces, providing functionality beyond macOS's native capabilities.
- The
search-windows.tsximplementation should useshowFailureToastfrom@raycast/utilsinstead of manual error handling withshowToast - The
Listcomponent insearch-windows.tsxproperly usesisLoadingstate to prevent empty state flicker - The
findAppPathfunction is duplicated in bothsearch-windows.tsxandwindows-list-current-space.tsx- consider extracting to a shared utility - The performance logging in
search-windows.tsxis thorough but could be conditionally enabled for development only - The CHANGELOG entry correctly uses the
{PR_MERGE_DATE}placeholder that will be automatically replaced
6 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
|
@krzysztoff1 do you want to check this? |
pernielsentikaer
left a comment
There was a problem hiding this comment.
Hi 👋
Looks good to me, approved 🔥
|
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. |
|
Thanks for your contribution! @lhy-a |
Description
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder