From 60226e8e297485bcbe384dc766930da0a5a1c079 Mon Sep 17 00:00:00 2001 From: Grégoire Aubert Date: Thu, 11 Jul 2019 15:15:35 +0200 Subject: SC-704 Extract components into sonar-ui-common (#1714) * SC-704 Extract icons components to sonar-ui-common * Better typings for theme * Use sonar-ui-common in extensions * Extract some helpers * Extract l10n helper to sonar-ui-common * Extract requests helper to sonar-ui-common * Extract part of urls helper * Move buttons, Tooltips and ScreenPositionFixers * Move modal related components * Move IdentityProviderLink * Move GenericAvatar * Move SizeRating * Move charts and move deps to peerDeps * Move nav * Move formatMeasure * Move Rating * Move PageActions * Move the rest of ui components * Move more controls components * Include theme inside extension build * Add missing theme context provider in extensions * Update react to same version everywhere * Update sonar-ui-common * Update eslint configuration --- .../main/js/apps/component-measures/components/MeasureOverview.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/sonar-web/src/main/js/apps/component-measures/components/MeasureOverview.tsx') diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/MeasureOverview.tsx b/server/sonar-web/src/main/js/apps/component-measures/components/MeasureOverview.tsx index b53ebb6112e..1aa1f9e0d35 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/MeasureOverview.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/components/MeasureOverview.tsx @@ -18,13 +18,13 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import * as React from 'react'; +import DeferredSpinner from 'sonar-ui-common/components/ui/DeferredSpinner'; +import PageActions from 'sonar-ui-common/components/ui/PageActions'; import Breadcrumbs from './Breadcrumbs'; import LeakPeriodLegend from './LeakPeriodLegend'; import MeasureContentHeader from './MeasureContentHeader'; import A11ySkipTarget from '../../../app/components/a11y/A11ySkipTarget'; -import PageActions from '../../../components/ui/PageActions'; import BubbleChart from '../drilldown/BubbleChart'; -import DeferredSpinner from '../../../components/common/DeferredSpinner'; import SourceViewer from '../../../components/SourceViewer/SourceViewer'; import { getComponentLeaves } from '../../../api/components'; import { enhanceComponent, getBubbleMetrics, isFileType, hasFullMeasures } from '../utils'; -- cgit v1.2.3