Skip to content
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

When no container to show, provider a link to docker tutorial #1878

Merged
merged 11 commits into from
Apr 21, 2020

Conversation

ravipal
Copy link
Contributor

@ravipal ravipal commented Apr 16, 2020

image

Fixes: #1845 #1893

@ravipal ravipal requested a review from a team as a code owner April 16, 2020 20:42
@bwateratmsft
Copy link
Collaborator

I strongly feel we need to keep the "Successfully connected, but no items found" in all of the views.

@ravipal
Copy link
Contributor Author

ravipal commented Apr 16, 2020

I strongly feel we need to keep the "Successfully connected, but no items found" in all of the views.

My preference is to not show. If we don't show any error to user, they can expect that nothing is wrong with the setup and that implies the connection is successful. In fact, I prefer to not show 'successfully connected ..." in other views as well, instead show something like "Getting Started with Docker..." Lets see what others think.

@BigMorty
Copy link
Member

BigMorty commented Apr 16, 2020 via email

@karolz-ms
Copy link
Contributor

Not show anything (except the tutorial link) if there is nothing to show.
If there is an error (cannot connect to Docker endpoint), show an error.
This is most in line with the VS Code being lean and to-the-point tool IMO.

@bwateratmsft
Copy link
Collaborator

bwateratmsft commented Apr 17, 2020

@BigMorty and I chatted yesterday and he had an alternative idea that I like way better--do a Help and Feedback tab like what Dapr has. For maximum visibility, we can put it at the top of the explorer. Users can move it or hide it as desired (which is built-in and we don't need to implement).

Why do we need to put it here in Containers tab? Our average user is not a first time Docker user, they don't need help starting containers.

package.json Outdated Show resolved Hide resolved
src/tree/containers/ContainersTreeItem.ts Outdated Show resolved Hide resolved
src/tree/containers/ContainersTreeItem.ts Outdated Show resolved Hide resolved
src/tree/containers/ContainersTreeItem.ts Show resolved Hide resolved
src/tree/containers/ContainersTreeItem.ts Outdated Show resolved Hide resolved
src/tree/OpenUrlAzExtTreeItem.ts Outdated Show resolved Hide resolved
src/tree/OpenUrlTreeItem.ts Outdated Show resolved Hide resolved
src/tree/help/HelpTreeDataProvider.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package-lock.json Outdated Show resolved Hide resolved
src/tree/TreeItem.ts Outdated Show resolved Hide resolved
@ravipal ravipal merged commit 8f0a829 into master Apr 21, 2020
@ravipal ravipal deleted the ravipal/dockerTutorial branch April 21, 2020 20:33
Dmarch28 pushed a commit to Dmarch28/vscode-docker that referenced this pull request Mar 4, 2021
…oft#1878)

* Show link to docker tutorial

* Conditionally show docker tutorial

* Help and Feedback view

* cache newContainerUser

* use AzExtTreeItem

* Fix build issue

* go back to vscode package

* Use local copy of icons

* remove glob package

* Added a comment
@microsoft microsoft locked and limited conversation to collaborators Oct 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate new container tutorial
5 participants