Change default behavior of `onOpen: open-preview` in Gateway
Nobody has claimed this yet.
- 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 |
|---|
![]() |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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
