gitpod-io / gitpod-io/gitpod

Change default behavior of `onOpen: open-preview` in Gateway

Open
#10,724 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

editor: jetbrains meta: never-stale type: feature request user experience
Dominant language
TypeScript
Stars
13.8k
Forks
1.4k
Avg merge
17h 58m
Merged PRs (30d)
5

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the .gitpod.yml onOpen: open-preview configuration and the JetBrains Gateway behavior described in the issue, using the spring-petclinic example to reproduce it. Confirm that opening the port produces the current browser dialog, then verify that the result is a notification and that the alert style no longer uses an exclamation mark.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.