From c04692732b0b1671be24c01cf5eadacc27f3995e Mon Sep 17 00:00:00 2001 From: stanislavh Date: Mon, 13 Mar 2023 14:01:57 +0100 Subject: [PATCH] SONAR-18736 Drop and refactor UI BBTs for rules page --- .../components/ActivationFormModal.tsx | 4 ++-- .../components/RuleDetailsProfiles.tsx | 2 +- .../components/SeveritySelect.tsx | 1 + .../ActivationFormModal-test.tsx.snap | 20 +++++++++---------- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx index 98031fd3254..4568687ddb6 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx @@ -181,10 +181,10 @@ export default class ActivationFormModal extends React.PureComponent
- + diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/RuleDetailsProfiles.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/RuleDetailsProfiles.tsx index 4ac0260e43c..5dffc23758c 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/RuleDetailsProfiles.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/RuleDetailsProfiles.tsx @@ -200,7 +200,7 @@ export default class RuleDetailsProfiles extends React.PureComponent { const parentActivation = activations.find((x) => x.qProfile === profile.parentKey); return ( - + {profile.name} {profile.isBuiltIn && } diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/SeveritySelect.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/SeveritySelect.tsx index ff27e2ac8c5..69ce2fb8b60 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/SeveritySelect.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/SeveritySelect.tsx @@ -56,6 +56,7 @@ export function SeveritySelect(props: SeveritySelectProps) { return (