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

Remove start page in favor of walkthrough #3248

Merged
merged 4 commits into from
Oct 4, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
"onCommand:vscode-docker.debugging.initializeForDebugging",
"onCommand:vscode-docker.help",
"onCommand:vscode-docker.help.reportIssue",
"onCommand:vscode-docker.help.openStartPage",
"onCommand:vscode-docker.images.build",
"onCommand:vscode-docker.images.configureExplorer",
"onCommand:vscode-docker.images.inspect",
Expand Down Expand Up @@ -2299,11 +2298,6 @@
"type": "string",
"description": "%vscode-docker.config.docker.scaffolding.templatePath%"
},
"docker.showStartPage": {
"type": "boolean",
"default": true,
"description": "%vscode-docker.config.docker.showStartPage%"
},
"docker.dockerPath": {
"type": "string",
"default": "docker",
Expand Down Expand Up @@ -2744,11 +2738,6 @@
"title": "%vscode-docker.commands.help.reportIssue%",
"category": "%vscode-docker.commands.category.docker%"
},
{
"command": "vscode-docker.help.openStartPage",
"title": "%vscode-docker.commands.help.openStartPage%",
"category": "%vscode-docker.commands.category.docker%"
},
{
"command": "vscode-docker.contexts.use",
"title": "%vscode-docker.commands.contexts.use%",
Expand Down Expand Up @@ -2838,7 +2827,6 @@
{
"id": "dockerStart",
"title": "%vscode-docker.walkthrough.dockerStart.title%",
"when": "never",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line makes the walkthrough no-longer-an-experiment.

"featuredFor": [
"Dockerfile",
"docker-compose.yml",
Expand Down Expand Up @@ -2997,7 +2985,6 @@
"@types/xml2js": "^0.4.8",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.4",
"@vscode/codicons": "^0.0.22",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codicons package is no longer used.

"@vscode/test-electron": "^1.6.1",
"copy-webpack-plugin": "^9.0.1",
"eslint": "^7.24.0",
Expand Down
2 changes: 0 additions & 2 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@
"vscode-docker.config.docker.dockerComposeDetached": "Set to true to include --d (detached) option when docker-compose command is invoked",
"vscode-docker.config.docker.showRemoteWorkspaceWarning": "Set to true to prompt to switch from \"UI\" extension mode to \"Workspace\" extension mode if an operation is not supported in UI mode.",
"vscode-docker.config.docker.scaffolding.templatePath": "The path to use for scaffolding templates.",
"vscode-docker.config.docker.showStartPage": "Show the Docker extension Start Page when a new update is released.",
"vscode-docker.config.docker.dockerPath": "Absolute path to Docker client executable ('docker' command). If the path contains whitespace, it needs to be quoted appropriately.",
"vscode-docker.config.docker.enableDockerComposeLanguageService": "Whether or not to enable the preview Docker Compose Language Service. Changing requires restart to take effect.",
"vscode-docker.config.deprecated": "This setting has been deprecated and will be removed in a future release.",
Expand Down Expand Up @@ -225,7 +224,6 @@
"vscode-docker.commands.debugging.initializeForDebugging": "Initialize for Docker debugging",
"vscode-docker.commands.help": "Docker Help",
"vscode-docker.commands.help.reportIssue": "Report Issue",
"vscode-docker.commands.help.openStartPage": "Open Start Page",
"vscode-docker.commands.images.build": "Build Image...",
"vscode-docker.commands.images.configureExplorer": "Configure Explorer...",
"vscode-docker.commands.images.inspect": "Inspect",
Expand Down
212 changes: 0 additions & 212 deletions resources/startPage.html.template

This file was deleted.

2 changes: 0 additions & 2 deletions src/commands/containers/inspectContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { IActionContext, openReadOnlyJson } from "vscode-azureextensionui";
import { ext } from "../../extensionVariables";
import { localize } from '../../localize';
import { ContainerTreeItem } from "../../tree/containers/ContainerTreeItem";
import { openStartPageAfterExtensionUpdate } from "../startPage/openStartPage";

export async function inspectContainer(context: IActionContext, node?: ContainerTreeItem): Promise<void> {
if (!node) {
Expand All @@ -19,6 +18,5 @@ export async function inspectContainer(context: IActionContext, node?: Container
}

const inspectInfo = await ext.dockerClient.inspectContainer(context, node.containerId);
await openStartPageAfterExtensionUpdate();
await openReadOnlyJson(node, inspectInfo);
}
2 changes: 0 additions & 2 deletions src/commands/images/inspectImage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { IActionContext, openReadOnlyJson } from "vscode-azureextensionui";
import { ext } from "../../extensionVariables";
import { localize } from '../../localize';
import { ImageTreeItem } from "../../tree/images/ImageTreeItem";
import { openStartPageAfterExtensionUpdate } from "../startPage/openStartPage";

export async function inspectImage(context: IActionContext, node?: ImageTreeItem): Promise<void> {
if (!node) {
Expand All @@ -19,6 +18,5 @@ export async function inspectImage(context: IActionContext, node?: ImageTreeItem
}

const inspectInfo = await ext.dockerClient.inspectImage(context, node.imageId);
await openStartPageAfterExtensionUpdate();
await openReadOnlyJson(node, inspectInfo);
}
3 changes: 0 additions & 3 deletions src/commands/installDocker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import * as vscode from 'vscode';
import { IActionContext } from 'vscode-azureextensionui';
import { isMac, isWindows } from '../utils/osUtils';
import { MacDockerInstaller, WindowsDockerInstaller } from './dockerInstaller';
import { openStartPageAfterExtensionUpdate } from './startPage/openStartPage';

export async function installDocker(context: IActionContext): Promise<void> {
if (isWindows()) {
Expand All @@ -17,6 +16,4 @@ export async function installDocker(context: IActionContext): Promise<void> {
} else {
await vscode.env.openExternal(vscode.Uri.parse('https://aka.ms/download-docker-linux-vscode'));
}

void openStartPageAfterExtensionUpdate();
}
Loading