@@ -22,13 +22,13 @@ import React from 'react'; | |||
import moment from 'moment'; | |||
import Breadcrumbs from './Breadcrumbs'; | |||
import Favorite from '../../../components/controls/Favorite'; | |||
import FilesView from './drilldown/FilesView'; | |||
import FilesView from '../drilldown/FilesView'; | |||
import MeasureHeader from './MeasureHeader'; | |||
import MeasureViewSelect from './MeasureViewSelect'; | |||
import MetricNotFound from './MetricNotFound'; | |||
import PageActions from './PageActions'; | |||
import SourceViewer from '../../../components/SourceViewer/SourceViewer'; | |||
import TreeMapView from './drilldown/TreeMapView'; | |||
import TreeMapView from '../drilldown/TreeMapView'; | |||
import { getComponentTree } from '../../../api/components'; | |||
import { complementary } from '../config/complementary'; | |||
import { enhanceComponent, isFileType } from '../utils'; |
@@ -20,10 +20,10 @@ | |||
// @flow | |||
import React from 'react'; | |||
import classNames from 'classnames'; | |||
import QualifierIcon from '../../../../components/shared/QualifierIcon'; | |||
import { splitPath } from '../../../../helpers/path'; | |||
import { getComponentUrl } from '../../../../helpers/urls'; | |||
import type { Component } from '../../types'; | |||
import QualifierIcon from '../../../components/shared/QualifierIcon'; | |||
import { splitPath } from '../../../helpers/path'; | |||
import { getComponentUrl } from '../../../helpers/urls'; | |||
import type { Component } from '../types'; | |||
type Props = { | |||
component: Component, |
@@ -21,10 +21,10 @@ | |||
import React from 'react'; | |||
import ComponentsListRow from './ComponentsListRow'; | |||
import EmptyComponentsList from './EmptyComponentsList'; | |||
import { complementary } from '../../config/complementary'; | |||
import { getLocalizedMetricName } from '../../../../helpers/l10n'; | |||
import type { Component } from '../../types'; | |||
import type { Metric } from '../../../../store/metrics/actions'; | |||
import { complementary } from '../config/complementary'; | |||
import { getLocalizedMetricName } from '../../../helpers/l10n'; | |||
import type { Component } from '../types'; | |||
import type { Metric } from '../../../store/metrics/actions'; | |||
type Props = {| | |||
components: Array<Component>, |
@@ -21,8 +21,8 @@ | |||
import React from 'react'; | |||
import ComponentCell from './ComponentCell'; | |||
import MeasureCell from './MeasureCell'; | |||
import type { Component } from '../../types'; | |||
import type { Metric } from '../../../../store/metrics/actions'; | |||
import type { Component } from '../types'; | |||
import type { Metric } from '../../../store/metrics/actions'; | |||
type Props = {| | |||
component: Component, |
@@ -19,7 +19,7 @@ | |||
*/ | |||
// @flow | |||
import React from 'react'; | |||
import { translate } from '../../../../helpers/l10n'; | |||
import { translate } from '../../../helpers/l10n'; | |||
export default function EmptyComponentsList() { | |||
return ( |
@@ -20,9 +20,9 @@ | |||
// @flow | |||
import React from 'react'; | |||
import ComponentsList from './ComponentsList'; | |||
import ListFooter from '../../../../components/controls/ListFooter'; | |||
import type { ComponentEnhanced, Paging } from '../../types'; | |||
import type { Metric } from '../../../../store/metrics/actions'; | |||
import ListFooter from '../../../components/controls/ListFooter'; | |||
import type { ComponentEnhanced, Paging } from '../types'; | |||
import type { Metric } from '../../../store/metrics/actions'; | |||
type Props = {| | |||
components: Array<ComponentEnhanced>, |
@@ -19,9 +19,9 @@ | |||
*/ | |||
// @flow | |||
import React from 'react'; | |||
import Measure from '../../../../components/measure/Measure'; | |||
import type { Component } from '../../types'; | |||
import type { Metric } from '../../../../store/metrics/actions'; | |||
import Measure from '../../../components/measure/Measure'; | |||
import type { Component } from '../types'; | |||
import type { Metric } from '../../../store/metrics/actions'; | |||
type Props = { | |||
component: Component, |
@@ -21,18 +21,14 @@ | |||
import React from 'react'; | |||
import { AutoSizer } from 'react-virtualized'; | |||
import { scaleLinear, scaleOrdinal } from 'd3-scale'; | |||
import QualifierIcon from '../../../../components/shared/QualifierIcon'; | |||
import TreeMap from '../../../../components/charts/TreeMap'; | |||
import { | |||
translate, | |||
translateWithParameters, | |||
getLocalizedMetricName | |||
} from '../../../../helpers/l10n'; | |||
import { formatMeasure, isDiffMetric } from '../../../../helpers/measures'; | |||
import { getComponentUrl } from '../../../../helpers/urls'; | |||
import type { Metric } from '../../../../store/metrics/actions'; | |||
import type { ComponentEnhanced } from '../../types'; | |||
import type { TreeMapItem } from '../../../../components/charts/TreeMap'; | |||
import QualifierIcon from '../../../components/shared/QualifierIcon'; | |||
import TreeMap from '../../../components/charts/TreeMap'; | |||
import { translate, translateWithParameters, getLocalizedMetricName } from '../../../helpers/l10n'; | |||
import { formatMeasure, isDiffMetric } from '../../../helpers/measures'; | |||
import { getComponentUrl } from '../../../helpers/urls'; | |||
import type { Metric } from '../../../store/metrics/actions'; | |||
import type { ComponentEnhanced } from '../types'; | |||
import type { TreeMapItem } from '../../../components/charts/TreeMap'; | |||
type Props = {| | |||
components: Array<ComponentEnhanced>, |