From 6643017c7b21843283594079137705e63a883034 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Tue, 25 Aug 2026 13:44:23 +0530 Subject: [PATCH] ui: show related settings when (main) config value is changed For many CloudStack feature there is a main boolean config which controls whether the feature is enabled or not. When such configs are changed it may be useful for user to update related configurations for the feature. This UI change shows those related settings using the changed config name. Signed-off-by: Abhishek Kumar --- ui/public/locales/en.json | 2 + ui/src/views/setting/ConfigurationValue.vue | 122 +++++++++++++++++++- 2 files changed, 121 insertions(+), 3 deletions(-) diff --git a/ui/public/locales/en.json b/ui/public/locales/en.json index f57460efa482..a834162d534b 100644 --- a/ui/public/locales/en.json +++ b/ui/public/locales/en.json @@ -2202,6 +2202,7 @@ "label.reinstall.vm": "Reinstall Instance", "label.reject": "Reject", "label.related": "Related", +"label.related.settings": "Related Settings", "label.relationaloperator": "Operator", "label.release": "Release", "label.release.account": "Release from Account", @@ -3937,6 +3938,7 @@ "message.read.admin.guide.scaling.up": "Please read the dynamic scaling section in the admin guide before scaling up.", "message.recover.vm": "Please confirm that you would like to recover this Instance.", "message.reinstall.vm": "NOTE: Proceed with caution. This will cause the Instance to be reinstalled from the Template; data on the root disk will be lost. Extra data volumes, if any, will not be touched.", +"message.related.settings.changed": "'%x' has been changed. Would you like to review or update any related settings below?", "message.release.ip.failed": "Failed to release IP", "message.releasing.dedicated.cluster": "Releasing dedicated Cluster...", "message.releasing.dedicated.host": "Releasing dedicated host...", diff --git a/ui/src/views/setting/ConfigurationValue.vue b/ui/src/views/setting/ConfigurationValue.vue index 0979c3c03cbe..ea146df8cb3c 100644 --- a/ui/src/views/setting/ConfigurationValue.vue +++ b/ui/src/views/setting/ConfigurationValue.vue @@ -190,10 +190,41 @@ :disabled="(!('resetConfiguration' in $store.getters.apis) || configDisabled || valueLoading || configrecord.value === configrecord.defaultvalue)" /> + +

{{ $t('message.related.settings.changed').replace('%x', relatedSourceConfigName) }}

+ + + +