]> source.dussan.org Git - sonarqube.git/commit
SONARCLOUD-272 Activate SonarCloud styles at a higher level, update parsable dates
authorWouter Admiraal <wouter.admiraal@sonarsource.com>
Fri, 14 Dec 2018 16:27:10 +0000 (17:27 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 20 Dec 2018 10:41:52 +0000 (11:41 +0100)
commit0b64e0734312efd38de8393f9a482d380634fd85
treedd93d0a2ba03cffdaba8c9cf85736f89bdf9fe19
parent66e365f711bccb43faeeef6e14fa3aaf167f4136
SONARCLOUD-272 Activate SonarCloud styles at a higher level, update parsable dates

* Set SonarCloud styles at the GlobalContainer level, instead of adding
  CSS classes at multiple, lower levels.
* Update the date handler to avoid having to call parseDate() in
  components unless really necessary.
13 files changed:
server/sonar-web/src/main/js/app/components/GlobalContainer.tsx
server/sonar-web/src/main/js/app/components/notifications/NotificationsSidebar.tsx
server/sonar-web/src/main/js/app/components/notifications/__tests__/__snapshots__/NotificationsSidebar-test.tsx.snap
server/sonar-web/src/main/js/app/components/notifications/notifications.css
server/sonar-web/src/main/js/app/styles/init/type.css
server/sonar-web/src/main/js/app/styles/sonarcloud.css
server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx
server/sonar-web/src/main/js/apps/create/organization/__tests__/__snapshots__/CreateOrganization-test.tsx.snap
server/sonar-web/src/main/js/apps/create/project/CreateProjectPage.tsx
server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/CreateProjectPage-test.tsx.snap
server/sonar-web/src/main/js/apps/overview/components/SonarCloudEmptyOverview.tsx
server/sonar-web/src/main/js/apps/overview/components/__tests__/__snapshots__/SonarCloudEmptyOverview-test.tsx.snap
server/sonar-web/src/main/js/helpers/dates.ts