Skip to content

Commit 0390776

Browse files
added progress bar during chart installation (#2897)
* added progress bar during chart installation Signed-off-by: msivasubramaniaan <[email protected]> * changed message string Signed-off-by: msivasubramaniaan <[email protected]> * changed message string Signed-off-by: msivasubramaniaan <[email protected]> --------- Signed-off-by: msivasubramaniaan <[email protected]>
1 parent 3fad933 commit 0390776

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/webview/helm-chart/helmChartLoader.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export class HelmCommand {
3737
show: true
3838
});
3939
await ComponentTypesView.instance.installHelmChart(event.name, event.chartName, event.version);
40+
vscode.window.showInformationMessage(`Helm Chart: ${event.name} is successfully installed and will be reflected in the tree view.`);
4041
OpenShiftExplorer.getInstance().refresh();
4142
panel.webview.postMessage({
4243
action: 'loadScreen',
@@ -45,6 +46,7 @@ export class HelmCommand {
4546
isInstalled: true
4647
});
4748
} catch (e) {
49+
vscode.window.showErrorMessage(`Installation failed: ${e.message.substring(e.message.indexOf('INSTALLATION FAILED:') + 'INSTALLATION FAILED:'.length)}`);
4850
panel.webview.postMessage({
4951
action: 'loadScreen',
5052
chartName: event.chartName,

0 commit comments

Comments
 (0)