From ce390b459a259649019e10aa7a230007c2fdb2cd Mon Sep 17 00:00:00 2001 From: Niels Kaspers Date: Sun, 22 Mar 2026 12:45:41 +0200 Subject: [PATCH] fix(ui): replace misleading permission tooltip on segment override variations (#6982) When viewing segment overrides for multivariate features, variation value inputs are read-only by design. The tooltip incorrectly suggested the user lacked permissions. Now shows an informative message explaining that variation values are set at the feature level. --- frontend/web/components/mv/VariationValueInput.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/web/components/mv/VariationValueInput.tsx b/frontend/web/components/mv/VariationValueInput.tsx index 945e714e4b70..ee883b292bbf 100644 --- a/frontend/web/components/mv/VariationValueInput.tsx +++ b/frontend/web/components/mv/VariationValueInput.tsx @@ -37,7 +37,11 @@ export const VariationValueInput: React.FC = ({ <> {Utils.renderWithPermission( canCreateFeature, - Constants.projectPermissions(ProjectPermission.CREATE_FEATURE), + readOnly + ? 'Variation values are defined at the feature level and cannot be changed per segment.' + : Constants.projectPermissions( + ProjectPermission.CREATE_FEATURE, + ),