Skip to content

Commit fec8dbf

Browse files
committed
fix: hide broken command of upgrading manifest
1 parent 1e7404f commit fec8dbf

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed

packages/vscode-extension/package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -715,12 +715,6 @@
715715
"enablement": "fx-extension.isTeamsFx && fx-extension.isAadManifestEnabled && isWorkspaceTrusted && !fx-extension.isSPFx",
716716
"category": "Microsoft 365 Agents"
717717
},
718-
{
719-
"command": "fx-extension.migrateTeamsManifest",
720-
"title": "%teamstoolkit.commands.migrateManifest.title%",
721-
"enablement": "isWorkspaceTrusted",
722-
"category": "Microsoft 365 Agents"
723-
},
724718
{
725719
"command": "fx-extension.migrateTeamsTabApp",
726720
"title": "%teamstoolkit.commands.migrateApp.title%",

packages/vscode-extension/package.nls.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696
"teamstoolkit.commands.debugInTestTool.title": "Debug in Microsoft 365 Agents Playground",
9797
"teamstoolkit.commands.m365AccountSettings.title": "Microsoft 365 Portal",
9898
"teamstoolkit.commands.migrateApp.title": "Upgrade Teams JS SDK and Code References",
99-
"teamstoolkit.commands.migrateManifest.title": "Upgrade App Manifest",
10099
"teamstoolkit.commands.openDocumentLink.title": "Get More Info",
101100
"teamstoolkit.commands.openInPortal.title": "Open in Portal",
102101
"teamstoolkit.commands.openManifestSchema.title": "Open Manifest Schema",
@@ -651,4 +650,4 @@
651650
"teamstoolkit.MCP.LocalMcpCommandMissing": "Local MCP command is missing.",
652651
"teamstoolkit.MCP.ToolsNotFound": "No tools found for the MCP server. Please run the server first.",
653652
"teamstoolkit.MCP.SelectServerFailed": "Failed to select MCP server."
654-
}
653+
}

packages/vscode-extension/src/extension.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,7 @@ import {
137137
updatePreviewManifest,
138138
validateManifestHandler,
139139
} from "./handlers/manifestHandlers";
140-
import {
141-
migrateTeamsManifestHandler,
142-
migrateTeamsTabAppHandler,
143-
} from "./handlers/migrationHandler";
140+
import { migrateTeamsTabAppHandler } from "./handlers/migrationHandler";
144141
import * as officeDevHandlers from "./handlers/officeDevHandlers";
145142
import {
146143
findGitHubSimilarIssue,
@@ -192,7 +189,6 @@ import { signOutAzure, signOutM365 } from "./utils/accountUtils";
192189
import { acpInstalled, delay, hasAdaptiveCardInWorkspace } from "./utils/commonUtils";
193190
import { updateAutoOpenGlobalKey } from "./utils/globalStateUtils";
194191
import { loadLocalizedStrings } from "./utils/localizeUtils";
195-
import { setupMCPServer } from "./utils/mcpUtils";
196192
import { checkProjectTypeAndSendTelemetry, isM365Project } from "./utils/projectChecker";
197193
import { ReleaseNote } from "./utils/releaseNote";
198194
import { ExtensionSurvey } from "./utils/survey";
@@ -458,13 +454,6 @@ function registerActivateCommands(context: vscode.ExtensionContext) {
458454
// commmand: check copilot access
459455
registerInCommandController(context, CommandKeys.CheckCopilotAccess, checkCopilotAccessHandler);
460456

461-
// Upgrade command to update Teams manifest
462-
const migrateTeamsManifestCmd = vscode.commands.registerCommand(
463-
"fx-extension.migrateTeamsManifest",
464-
() => Correlator.run(migrateTeamsManifestHandler)
465-
);
466-
context.subscriptions.push(migrateTeamsManifestCmd);
467-
468457
// Upgrade command to update Teams Client SDK
469458
const migrateTeamsTabAppCmd = vscode.commands.registerCommand(
470459
"fx-extension.migrateTeamsTabApp",

0 commit comments

Comments
 (0)