Repository navigation
Update skyscanner-flights extension - #22723
Conversation
- Merge branch \'contributions/merge-1762489967391\' - Pull contributions - chore: make ux snappy
|
Thank you for your contribution! 🎉 🔔 @ayushtom 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. |
left a comment
•
There was a problem hiding this comment.
Greptile Overview
Greptile Summary
This PR improves the user experience of the skyscanner-flights extension by implementing optimistic UI behavior. The main change adds await closeMainWindow() to immediately close the Raycast window when users initiate a flight search, making the extension feel more responsive rather than keeping the window open during potentially slow operations like AI parsing and external API calls. The PR also includes minor documentation improvements to the README, changing the title from "Search Flights" to "Flight Search" and removing an embedded video asset for cleaner presentation.
The closeMainWindow() call is strategically placed after setting the parsing state but before the time-consuming search operations begin, ensuring users get immediate feedback that their action was registered while background processing continues seamlessly.
Important Files Changed
| Filename | Score | Overview |
|---|---|---|
| extensions/skyscanner-flights/src/components/FreeTextSearch.tsx | 5/5 | Adds optimistic window closing by importing and calling closeMainWindow() before flight search operations |
| extensions/skyscanner-flights/README.md | 5/5 | Updates title from "Search Flights" to "Flight Search" and removes embedded video asset for cleaner documentation |
| extensions/skyscanner-flights/CHANGELOG.md | 2/5 | Adds changelog entry but has chronological ordering issues and missing required template format |
Confidence score: 3/5
- This PR is generally safe to merge but has some documentation issues that should be addressed
- Score lowered due to CHANGELOG.md problems: entries are not in chronological order (newer entry dated 2025-11-05 appears before entry dated 2025-11-06), and the new entry title lacks the required
{PR_MERGE_DATE}template format - Pay close attention to the CHANGELOG.md file which needs to be corrected to follow proper formatting and chronological ordering
Additional Comments (1)
3 files reviewed, 2 comments
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Reorder changelog entries for clarity and update descriptions.
commented
Nov 7, 2025
|
Published to the Raycast Store: |
commented
Nov 7, 2025
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
We optimistically close the raycast window to make the UX snappy. We add
await closeMainWindow();to handle this.Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder