From d640ad77a9ef552540195ae54422eaf98d7b1525 Mon Sep 17 00:00:00 2001 From: Ambroise C Date: Wed, 18 Oct 2023 15:45:13 +0200 Subject: [PATCH] SONAR-20672 Remove separator between QP changelog rows with the same datetime --- .../quality-profiles/changelog/Changelog.tsx | 28 +++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx index 47c25b4fd90..e5945afe2fe 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx @@ -17,6 +17,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +import classNames from 'classnames'; import { isSameMinute } from 'date-fns'; import { CellComponent, @@ -77,7 +79,9 @@ export default function Changelog(props: Props) { return ( - + {!isBulkChange && (
@@ -100,16 +104,26 @@ export default function Changelog(props: Props) { )} - + {!isBulkChange && (event.authorName ? event.authorName : System)} - + {!isBulkChange && intl.formatMessage({ id: `quality_profiles.changelog.${event.action}` })} - + {event.ruleName && ( {event.ruleName} )} @@ -129,7 +143,11 @@ export default function Changelog(props: Props) {
- + {event.params && }
-- 2.39.5