From d0feebf94738f1699ee189186c722c8caf0563f6 Mon Sep 17 00:00:00 2001 From: Mathieu Suen Date: Wed, 31 Aug 2022 11:10:39 +0200 Subject: [PATCH] SONAR-16841 Button: Button does not have a name --- .../crossComponentSourceViewer/IssueSourceViewerHeader.tsx | 5 ++++- .../__snapshots__/IssueSourceViewerHeader-test.tsx.snap | 4 ++++ sonar-core/src/main/resources/org/sonar/l10n/core.properties | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx index e5695f6ec99..c8875ca4beb 100644 --- a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx +++ b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx @@ -121,7 +121,10 @@ export default function IssueSourceViewerHeader(props: Props) { {expandable && (
- +
diff --git a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/__tests__/__snapshots__/IssueSourceViewerHeader-test.tsx.snap b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/__tests__/__snapshots__/IssueSourceViewerHeader-test.tsx.snap index da1a9623544..aa530aecd30 100644 --- a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/__tests__/__snapshots__/IssueSourceViewerHeader-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/__tests__/__snapshots__/IssueSourceViewerHeader-test.tsx.snap @@ -73,6 +73,7 @@ exports[`should render correctly 1`] = ` className="flex-0 big-spacer-left" > @@ -151,6 +152,7 @@ exports[`should render correctly: no link to project 1`] = ` className="flex-0 big-spacer-left" > @@ -218,6 +220,7 @@ exports[`should render correctly: no project name 1`] = ` className="flex-0 big-spacer-left" > @@ -261,6 +264,7 @@ exports[`should render correctly: project root 1`] = ` className="flex-0 big-spacer-left" > diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index 304b0f418e8..f1966319dc2 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -2828,6 +2828,7 @@ component_viewer.no_component=The component has been removed or never existed. component_viewer.copy_path_to_clipboard=Copy the file path to the clipboard source_viewer.view_all_issues=See all issues in this file +source_viewer.expand_all_lines=Show all lines of code source_viewer.covered=Covered by the following tests source_viewer.not_covered=Not covered by tests source_viewer.conditions=conditions -- 2.39.5