Skip to content

Change default behavior of onOpen: open-preview in Gateway #10724

@mustard-mh

Description

@mustard-mh

Description

If we configure a port with onOpen: open-preview in .gitpod.yml, once we open it with JetBrains Gateway, it'll alert a dialog before open URL. This behavior like "Do you trust this project" alert if we don't watch its info

FYI. JetBrains currently have no whitelist for domains to avoid alert before opening URL in browser

Proposal

  • Use notification instead of open browser before we can add that whitelist
  • Change alert style to not use !

Thanks for your suggestion @gtsiolis

More details internal chat

Steps to reproduce

Open Gateway with https://github.com/gitpod-io/spring-petclinic/blob/master/.gitpod.yml

Image
SCR-20220617-oy4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions