
We should have a "No" option as well and the message could be improved too: "...but this port is not in the workspace endpoints. Would you like to expose it as an external ingress and make it accessible from your browser?".
And a "never ask me again" would be handy, as well. When developing Che-in-Che, it's really annoying to have to click it away each time I start the back end process.
I think there are another issue to have the same design that is also used in VS Code Online codespaces now
TL;DR a widget instead of tons of annoying dialogs/popups
We should never see this popup: when an endpoint is defined as public: false we should NOT ask if the user wants to redirect. That's one of the issues of the epic.
@l0rd I think if there is no widget replacement we can't remove it.
Because, else you kill the other flow: if you start from scratch by cloning a nodejs express example that will listen on the port 3000 you want to have this example working and you don't want to add a new endpoint and restart your workspace at this point.
I agree on the popup removal but by having a widget replacement else the user will be stuck.
@l0rd I think if there is no widget replacement we can't remove it.
Because, else you kill the other flow: if you start from scratch by cloning a nodejs express example that will listen on the port 3000 you want to have this example working and you don't want to add a new endpoint and restart your workspace at this point.I agree on the popup removal but by having a widget replacement else the user will be stuck.
@benoitf I am not sure we are talking about the same thing. I have created a separate issue for that #17993
I think there are another issue to have the same design that is also used in VS Code Online codespaces now
TL;DR a widget instead of tons of annoying dialogs/popups
If there is another issue let's close this one.
moving to area/plugins as the related functionality is in Ports Plugin
Most helpful comment
And a "never ask me again" would be handy, as well. When developing Che-in-Che, it's really annoying to have to click it away each time I start the back end process.