Skip to content

[API Feature Request] Auto-close extension view after running command #244

@jaklan

Description

@jaklan

Describe the feature and the current behavior/state.

I noticed quite frustrating behaviour of extensions - when I open a tab from the Chrome extension, or open a repo from the GitLab extension, or open a formula from the Brew extension etc. - the extension is not closed when I open Raycast again, I have to manually click Escape / Backspace to return to the main view.

For example I nonstop start to search for some command in Raycast after switching tab using the Chrome extension and then I discover that I’m actually still searching within Chrome tabs… The behaviour I expect should be similar to the silent mode of script commands, but actually it's rather similar to the fullOutput mode.

Imho there should be different modes for extension commands (as they are for script commands), so extension developers can:

  • decide then if it makes sense to close the extension view or not
  • provide an option for their commands to allow users to select the preferred behaviour
    (maybe it can even be a default option for all extension commands?)

PS Pop to root search setting doesn’t do the job, because it affects the behaviour of Raycast in all scenarios, and here we discuss only about the behaviour after executing the command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiIssues related to APIfeature requestNew feature or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions