diff --git a/webview/src/experiments/components/table/Cell.tsx b/webview/src/experiments/components/table/Cell.tsx
index a40237e3e6..9cd282e939 100644
--- a/webview/src/experiments/components/table/Cell.tsx
+++ b/webview/src/experiments/components/table/Cell.tsx
@@ -5,9 +5,8 @@ import { ErrorTooltip } from './Errors'
import { Indicator, IndicatorWithJustTheCounter } from './Indicators'
import styles from './styles.module.scss'
import { CellProp, RowProp } from './interfaces'
-import ClockIcon from '../../../shared/components/icons/Clock'
import { clickAndEnterProps } from '../../../util/props'
-import { StarFull, StarEmpty } from '../../../shared/components/icons'
+import { Clock, StarFull, StarEmpty } from '../../../shared/components/icons'
import { pluralize } from '../../../util/strings'
import { cellHasChanges } from '../../util/buildDynamicColumns'
@@ -170,7 +169,7 @@ export const FirstCell: React.FC<
plotSelections
)} selected for plots.`}
/>
- {queued && }
+ {queued && }
{isPlaceholder ? null : (
diff --git a/webview/src/experiments/components/table/Errors.tsx b/webview/src/experiments/components/table/Errors.tsx
index e87c530872..73d892d344 100644
--- a/webview/src/experiments/components/table/Errors.tsx
+++ b/webview/src/experiments/components/table/Errors.tsx
@@ -1,6 +1,6 @@
import React from 'react'
import styles from './styles.module.scss'
-import ErrorIcon from '../../../shared/components/icons/Error'
+import { Error } from '../../../shared/components/icons'
import Tooltip from '../../../shared/components/tooltip/Tooltip'
export const ErrorTooltip: React.FC<{
@@ -10,7 +10,7 @@ export const ErrorTooltip: React.FC<{
-
+
{error}
}
diff --git a/webview/src/experiments/components/table/Indicators.tsx b/webview/src/experiments/components/table/Indicators.tsx
index 5d691137ab..c5f994263e 100644
--- a/webview/src/experiments/components/table/Indicators.tsx
+++ b/webview/src/experiments/components/table/Indicators.tsx
@@ -6,9 +6,11 @@ import { FilteredCounts } from 'dvc/src/experiments/model/filterBy/collect'
import { TippyProps } from '@tippyjs/react'
import styles from './styles.module.scss'
import { Icon } from '../../../shared/components/Icon'
-import SvgSortPrecedence from '../../../shared/components/icons/SortPrecedence'
-import SvgFilter from '../../../shared/components/icons/Filter'
-import SvgGraphScatter from '../../../shared/components/icons/GraphScatter'
+import {
+ Filter,
+ GraphScatter,
+ SortPrecedence
+} from '../../../shared/components/icons'
import { sendMessage } from '../../../shared/vscode'
import Tooltip from '../../../shared/components/tooltip/Tooltip'
import tooltipStyles from '../../../shared/components/tooltip/styles.module.scss'
@@ -147,7 +149,7 @@ export const Indicators = ({
'Selected for Plotting (Max 7)'
)}
>
-
+
-
+
}
>
-
+
)
diff --git a/webview/src/shared/components/copyButton/CopyButton.tsx b/webview/src/shared/components/copyButton/CopyButton.tsx
index f12caf394f..64263b2f24 100644
--- a/webview/src/shared/components/copyButton/CopyButton.tsx
+++ b/webview/src/shared/components/copyButton/CopyButton.tsx
@@ -1,8 +1,7 @@
import React, { FC, useEffect, useRef, useState } from 'react'
import cx from 'classnames'
import styles from './styles.module.scss'
-import CopyIcon from '../icons/Copy'
-import CheckIcon from '../icons/Check'
+import { Copy, Check } from '../icons'
const enum CopyButtonState {
DEFAULT,
@@ -13,8 +12,8 @@ const enum CopyButtonState {
const FailureIcon = () => ✕
const copyIconComponents: Record = {
- [CopyButtonState.DEFAULT]: CopyIcon,
- [CopyButtonState.SUCCESS]: CheckIcon,
+ [CopyButtonState.DEFAULT]: Copy,
+ [CopyButtonState.SUCCESS]: Check,
[CopyButtonState.FAILURE]: FailureIcon
}
diff --git a/webview/src/shared/components/icons/index.ts b/webview/src/shared/components/icons/index.ts
index d17f29679e..d4e9a09851 100644
--- a/webview/src/shared/components/icons/index.ts
+++ b/webview/src/shared/components/icons/index.ts
@@ -7,7 +7,10 @@ export { default as Close } from './Close'
export { default as Copy } from './Copy'
export { default as Dots } from './Dots'
export { default as DownArrow } from './DownArrow'
+export { default as Error } from './Error'
export { default as Ellipsis } from './Ellipsis'
+export { default as Filter } from './Filter'
+export { default as GraphScatter } from './GraphScatter'
export { default as GraphLine } from './GraphLine'
export { default as Gripper } from './Gripper'
export { default as Info } from './Info'
@@ -15,5 +18,6 @@ export { default as Lines } from './Lines'
export { default as Pin } from './Pin'
export { default as Refresh } from './Refresh'
export { default as UpArrow } from './UpArrow'
+export { default as SortPrecedence } from './SortPrecedence'
export { default as StarFull } from './StarFull'
export { default as StarEmpty } from './StarEmpty'