From 2a0b4e5f0c4d6d250da578107ca076515ec9d101 Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Mon, 25 Feb 2019 11:38:29 +0100 Subject: SONAR-11726 Add documentation suggestions for new PR overview --- server/sonar-docs/src/EmbedDocsSuggestions.json | 10 ++++++++++ server/sonar-web/src/main/js/apps/overview/components/App.tsx | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'server') diff --git a/server/sonar-docs/src/EmbedDocsSuggestions.json b/server/sonar-docs/src/EmbedDocsSuggestions.json index b161e8cfcf0..4d3822a9292 100644 --- a/server/sonar-docs/src/EmbedDocsSuggestions.json +++ b/server/sonar-docs/src/EmbedDocsSuggestions.json @@ -134,6 +134,16 @@ "scope": "sonarcloud" } ], + "pull_requests": [ + { + "link": "/documentation/user-guide/fixing-the-water-leak/", + "text": "Fixing the Water Leak" + }, + { + "link": "/documentation/analysis/pull-request/", + "text": "Analyzing Pull Requests" + } + ], "quality_gates": [ { "link": "/documentation/user-guide/fixing-the-water-leak/", diff --git a/server/sonar-web/src/main/js/apps/overview/components/App.tsx b/server/sonar-web/src/main/js/apps/overview/components/App.tsx index 58098c3dc98..ea2dae730bf 100644 --- a/server/sonar-web/src/main/js/apps/overview/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/overview/components/App.tsx @@ -73,7 +73,10 @@ export class App extends React.PureComponent { )} {isShortLivingBranch(branchLike) || isPullRequest(branchLike) ? ( - + <> + + + ) : ( <> -- cgit v1.2.3