This is an automated email from the ASF dual-hosted git repository. heneveld pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
commit 0cae4923c953f11694026ed38e637136530c937a Author: Alex Heneveld <[email protected]> AuthorDate: Wed Nov 9 15:01:39 2022 +0000 better message on expunge --- ui-modules/app-inspector/app/views/main/inspect/inspect.controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui-modules/app-inspector/app/views/main/inspect/inspect.controller.js b/ui-modules/app-inspector/app/views/main/inspect/inspect.controller.js index 896374e3..273e6397 100644 --- a/ui-modules/app-inspector/app/views/main/inspect/inspect.controller.js +++ b/ui-modules/app-inspector/app/views/main/inspect/inspect.controller.js @@ -110,8 +110,10 @@ export function inspectController($scope, $state, $stateParams, $uibModal, brSna template: confirmModalTemplate, scope: modalScope }).result.then((result)=> { + brSnackbar.create('Entity [' + entityId + '] is being submitted to be ' + (release ? 'expunged' : 'unmanaged')); entityApi.expungeEntity(applicationId, entityId, release).then((response)=> { - brSnackbar.create('Entity [' + entityId + '] will be ' + (release ? 'expunged' : 'unmanaged') + ' shortly'); + brSnackbar.create('Entity [' + entityId + '] is in the process of being ' + (release ? 'expunged' : 'unmanaged') + + '. ' + 'If this is not immediate, the details can be found in the activites tab by applying suitable filters.'); }).catch((error)=> { brSnackbar.create('Cannot expunge entity problems: the entity [' + entityId + '] is undefined'); });
