]> source.dussan.org Git - sonarqube.git/commit
SONAR-9702 SONAR-9736 apply feedback on branches (#2496)
authorStas Vilchik <stas.vilchik@sonarsource.com>
Mon, 11 Sep 2017 13:02:01 +0000 (15:02 +0200)
committerJanos Gyerik <janos.gyerik@sonarsource.com>
Tue, 12 Sep 2017 09:34:59 +0000 (11:34 +0200)
commitb559ffd60b0666f7debf7ca97f3487d1d476424d
tree5d5f32bdd8c572bde8eeb4dc0f6e5de5498e5087
parenta0ff3c4c80d659bf766ed73ee4a27a3b86e7abbe
SONAR-9702 SONAR-9736 apply feedback on branches (#2496)

* show last analysis date for short-living branches
* put "main branch" badge
* display hint on branch administration page
* hide anything related to branches on sonarcloud without branch support

* fixup! fix showing administration on branch
15 files changed:
server/sonar-web/src/main/js/app/components/App.tsx
server/sonar-web/src/main/js/app/components/nav/component/ComponentNav.css
server/sonar-web/src/main/js/app/components/nav/component/ComponentNavBranch.tsx
server/sonar-web/src/main/js/app/components/nav/component/ComponentNavBranchesMenuItem.tsx
server/sonar-web/src/main/js/app/components/nav/component/ComponentNavMenu.tsx
server/sonar-web/src/main/js/app/components/nav/component/ComponentNavMeta.tsx
server/sonar-web/src/main/js/app/components/nav/component/__tests__/ComponentNavBranch-test.tsx
server/sonar-web/src/main/js/app/components/nav/component/__tests__/ComponentNavMenu-test.tsx
server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavBranchesMenuItem-test.tsx.snap
server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavMenu-test.tsx.snap
server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavMeta-test.tsx.snap
server/sonar-web/src/main/js/apps/projectBranches/components/BranchRow.tsx
server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/BranchRow-test.tsx.snap
server/sonar-web/src/main/js/apps/settings/components/App.js
sonar-core/src/main/resources/org/sonar/l10n/core.properties