Skip to content

Update skyscanner-flights extension - #22723

Merged
raycastbot merged 4 commits into
raycast:mainfrom
ayushtom:ext/skyscanner-flights
Nov 7, 2025
Merged

raycastbot merged 4 commits into
raycast:mainfrom
ayushtom:ext/skyscanner-flights

Conversation

@ayushtom

@ayushtom ayushtom commented Nov 7, 2025 •

Copy link
Copy Markdown
Contributor

Description

We optimistically close the raycast window to make the UX snappy. We add await closeMainWindow(); to handle this.

Checklist

- Merge branch \'contributions/merge-1762489967391\'
- Pull contributions
- chore: make ux snappy
@ghost ghost added extension fix / improvement Label for PRs with extension's fix improvements extension: skyscanner-flights Issues related to the skyscanner-flights extension platform: macOS platform: Windows OP is author The OP of the PR is the author of the extension labels Nov 7, 2025

ghost commented Nov 7, 2025 •

Copy link
Copy Markdown

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.

@ghost
ghost marked this pull request as ready for review November 7, 2025 04:35
@ghost ghost self-assigned this Nov 7, 2025

ghost left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

  1. extensions/skyscanner-flights/CHANGELOG.md, line 3 (link)

    syntax: Initial version entry should also follow the template format

    Context Used: Context from dashboard - For changelog entries, use a format that includes the version and the merge date, e.g., '## [Version... (source)

3 files reviewed, 2 comments

Edit Code Review Agent Settings | Greptile

Ayush Tomar and others added 2 commits November 7, 2025 10:17
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Reorder changelog entries for clarity and update descriptions.

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@ghost
ghost merged commit d9e4765 into raycast:main Nov 7, 2025

ghost commented Nov 7, 2025

Copy link
Copy Markdown

ghost commented Nov 7, 2025

Copy link
Copy Markdown

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements extension: skyscanner-flights Issues related to the skyscanner-flights extension OP is author The OP of the PR is the author of the extension platform: macOS platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants