Skip to content

Add a button to VS Code Ports View that adds the port to .gitpod.yml in case it's missing there #13069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
felladrin opened this issue Sep 19, 2022 · 2 comments
Labels
aspect: desktop IDE aspect: user config drift Gitpod UX ephemerality where users mutate their environment but forget to update their configuration editor: code (browser) editor: code (desktop) feature: ports meta: never-stale This issue can never become stale team: IDE type: improvement Improves an existing feature or existing code

Comments

@felladrin
Copy link
Contributor

felladrin commented Sep 19, 2022

Add a button to VS Code Ports View that adds the port to .gitpod.yml in case it's missing there.

For cases when ports are decided during the development, or when we notice a third-party service is using some port and we want to set its 'onOpen' behavior to 'ignore', for example.

There could be another button, along with the four that already exist, to add it to .gitpod.yml.
Displaying the button as 'disabled' when the port is already listed in .gitpod.yml would also help to spot missing ports.

Here's a screenshot of what the Ports View looks like at this moment:
image

@loujaybee
Copy link
Member

Copying internal comment from discussion:


We indeed should probably think about the “drift” of a users configurations when in a workspace more generally, e.g.

  • When user installs tools
  • When user installs extensions
  • When user copies secrets

As these can all be “lost” when the user starts a new ephemeral workspace and adds friction. We should where we can “nudge” users towards codifying these settings in the YAML when they take manual actions. Maybe for ports this view is the right touchpoint. (edited)

@loujaybee loujaybee added the aspect: user config drift Gitpod UX ephemerality where users mutate their environment but forget to update their configuration label Sep 19, 2022
@stale

This comment was marked as resolved.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Dec 20, 2022
@felladrin felladrin removed the meta: stale This issue/PR is stale and will be closed soon label Dec 23, 2022
@mustard-mh mustard-mh added the meta: never-stale This issue can never become stale label Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aspect: desktop IDE aspect: user config drift Gitpod UX ephemerality where users mutate their environment but forget to update their configuration editor: code (browser) editor: code (desktop) feature: ports meta: never-stale This issue can never become stale team: IDE type: improvement Improves an existing feature or existing code
Projects
None yet
Development

No branches or pull requests

3 participants