Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 6 additions & 0 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@
"containerApps.createContainerApp": "Create Container App...",
"containerApps.createContainerAppFromWorkspace": "Create Container App from Workspace...",
"containerApps.editContainerApp": "Edit Container App (Advanced)...",
<<<<<<< HEAD
"containerApps.deployImage": "Update Container App Image...",
"containerApps.deployImageApi": "Update Container App Image (API)...",
"containerApps.deployWorkspaceProject": "Deploy Workspace Project...",
"containerApps.deployWorkspaceProjectToContainerApp": "Deploy Workspace to Container App...",
=======
"containerApps.updateImage": "Update Container Image...",
"containerApps.deployImageApi": "Deploy Image to Container App (API)...",
"containerApps.deployWorkspaceProject": "Deploy Project from Workspace...",
>>>>>>> 8b6a8e78961895378a4931b7e95c79b032b7d3a1
Comment thread
MicroFish91 marked this conversation as resolved.
Outdated
"containerApps.deleteContainerApp": "Delete Container App...",
"containerApps.disableIngress": "Disable Ingress for Container App",
"containerApps.enableIngress": "Enable Ingress for Container App...",
Expand Down
8 changes: 1 addition & 7 deletions src/commands/registerCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,9 @@ export function registerCommands(): void {
registerCommandWithTreeNodeUnwrapping('containerApps.deleteManagedEnvironment', deleteManagedEnvironment);

// container apps
registerCommandWithTreeNodeUnwrapping('containerApps.createContainerApp', createContainerApp);
registerCommandWithTreeNodeUnwrapping('containerApps.createContainerAppFromWorkspace', deployWorkspaceProject);
registerCommandWithTreeNodeUnwrapping('containerApps.editContainerApp', editContainerApp);
registerCommandWithTreeNodeUnwrapping('containerApps.deleteContainerApp', deleteContainerApp);
registerCommandWithTreeNodeUnwrapping('containerApps.deployImage', deployImage);
registerCommandWithTreeNodeUnwrapping('containerApps.deployImageApi', deployImageApi);
registerCommandWithTreeNodeUnwrapping('containerApps.openConsoleInPortal', openConsoleInPortal);
registerCommandWithTreeNodeUnwrapping('containerApps.browse', browseContainerAppNode);
registerCommandWithTreeNodeUnwrapping('containerApps.createContainerApp', createContainerApp);
registerCommandWithTreeNodeUnwrapping('containerApps.createContainerAppFromWorkspace', deployWorkspaceProject);
registerCommandWithTreeNodeUnwrapping('containerApps.deleteContainerApp', deleteContainerApp);
registerCommandWithTreeNodeUnwrapping('containerApps.editContainerApp', editContainerApp);
registerCommandWithTreeNodeUnwrapping('containerApps.openConsoleInPortal', openConsoleInPortal);
Expand Down
8 changes: 7 additions & 1 deletion src/tree/ManagedEnvironmentItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ export class ManagedEnvironmentItem implements TreeElementBase {
}

private get contextValue(): string {
return ManagedEnvironmentItem.contextValue;
const values: string[] = [];

// Enable more granular tree item filtering by environment name
values.push(nonNullValueAndProp(this.managedEnvironment, 'name'));

values.push(ManagedEnvironmentItem.contextValue);
return createContextValue(values);
}

async getChildren(): Promise<ContainerAppsItem[]> {
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.