{isLoading ? (
-
+
) : (
diff --git a/public/app/features/dashboard/components/VersionHistory/HistoryListCtrl.ts b/public/app/features/dashboard/components/VersionHistory/HistoryListCtrl.ts
index e9b461f4edd..c459734014f 100644
--- a/public/app/features/dashboard/components/VersionHistory/HistoryListCtrl.ts
+++ b/public/app/features/dashboard/components/VersionHistory/HistoryListCtrl.ts
@@ -176,7 +176,7 @@ export class HistoryListCtrl {
title: 'Restore version',
text: '',
text2: `Are you sure you want to restore the dashboard to version ${version}? All unsaved changes will be lost.`,
- icon: 'fa-history',
+ icon: 'history',
yesText: `Yes, restore to version ${version}`,
onConfirm: this.restoreConfirm.bind(this, version),
});
diff --git a/public/app/features/dashboard/components/VersionHistory/template.html b/public/app/features/dashboard/components/VersionHistory/template.html
index 768367787ef..ac42c42c890 100644
--- a/public/app/features/dashboard/components/VersionHistory/template.html
+++ b/public/app/features/dashboard/components/VersionHistory/template.html
@@ -10,7 +10,8 @@
-
+
+
Fetching history list…
@@ -63,7 +64,8 @@
-
+
+
Fetching more entries…
@@ -97,7 +99,8 @@
-
+
+
Fetching changes…
diff --git a/public/app/features/dashboard/containers/DashboardPage.tsx b/public/app/features/dashboard/containers/DashboardPage.tsx
index f7bd7a0c62f..726a4761354 100644
--- a/public/app/features/dashboard/containers/DashboardPage.tsx
+++ b/public/app/features/dashboard/containers/DashboardPage.tsx
@@ -13,7 +13,7 @@ import { DashboardGrid } from '../dashgrid/DashboardGrid';
import { DashNav } from '../components/DashNav';
import { DashboardSettings } from '../components/DashboardSettings';
import { PanelEditor } from '../components/PanelEditor/PanelEditor';
-import { Alert, Button, CustomScrollbar, HorizontalGroup, Icon, VerticalGroup } from '@grafana/ui';
+import { Alert, Button, CustomScrollbar, HorizontalGroup, Spinner, VerticalGroup } from '@grafana/ui';
// Redux
import { initDashboard } from '../state/initDashboard';
import { notifyApp, updateLocation } from 'app/core/actions';
@@ -235,7 +235,7 @@ export class DashboardPage extends PureComponent
{
- {this.props.initPhase}
+ {this.props.initPhase}
{' '}
diff --git a/public/app/features/dashboard/containers/__snapshots__/DashboardPage.test.tsx.snap b/public/app/features/dashboard/containers/__snapshots__/DashboardPage.test.tsx.snap
index 46207e3a72a..e5871f79670 100644
--- a/public/app/features/dashboard/containers/__snapshots__/DashboardPage.test.tsx.snap
+++ b/public/app/features/dashboard/containers/__snapshots__/DashboardPage.test.tsx.snap
@@ -332,9 +332,8 @@ exports[`DashboardPage Dashboard is fetching slowly Should render slow init stat
justify="center"
spacing="xs"
>
-
Fetching
diff --git a/public/app/features/explore/RunButton.tsx b/public/app/features/explore/RunButton.tsx
index ab4f7634f6c..b70d2d09985 100644
--- a/public/app/features/explore/RunButton.tsx
+++ b/public/app/features/explore/RunButton.tsx
@@ -46,7 +46,7 @@ export function RunButton(props: Props) {
'btn--radius-right-0': showDropdown,
})}
icon={loading ? 'fa fa-spinner' : 'sync'}
- iconClassName={loading ? ' fa-spin run-icon' : undefined}
+ iconClassName={loading ? ' fa-spin' : undefined}
aria-label={selectors.pages.Explore.General.runButton}
/>
);
diff --git a/public/app/features/explore/TimeSyncButton.tsx b/public/app/features/explore/TimeSyncButton.tsx
index 86061fad1ff..88e63456942 100644
--- a/public/app/features/explore/TimeSyncButton.tsx
+++ b/public/app/features/explore/TimeSyncButton.tsx
@@ -1,26 +1,6 @@
import React from 'react';
import classNames from 'classnames';
-import { css } from 'emotion';
-
-import { Tooltip, useTheme, stylesFactory, Icon } from '@grafana/ui';
-import { GrafanaTheme } from '@grafana/data';
-
-const getStyles = stylesFactory((theme: GrafanaTheme) => {
- return {
- noRightBorderStyle: css`
- label: noRightBorderStyle;
- border-right: 0;
- `,
- /*
- * Required top-padding, otherwise is fa-link icon in active state
- * cut off on top due to fontAwesome icon position
- */
- topPadding: css`
- label: topPadding;
- padding-top: 1px;
- `,
- };
-});
+import { Tooltip, Icon } from '@grafana/ui';
interface TimeSyncButtonProps {
isSynced: boolean;
@@ -29,8 +9,6 @@ interface TimeSyncButtonProps {
export function TimeSyncButton(props: TimeSyncButtonProps) {
const { onClick, isSynced } = props;
- const theme = useTheme();
- const styles = getStyles(theme);
const syncTimesTooltip = () => {
const { isSynced } = props;
@@ -47,7 +25,7 @@ export function TimeSyncButton(props: TimeSyncButtonProps) {
aria-label={isSynced ? 'Synced times' : 'Unsynced times'}
onClick={() => onClick()}
>
-
+
);
diff --git a/public/app/features/variables/pickers/shared/VariableOptions.tsx b/public/app/features/variables/pickers/shared/VariableOptions.tsx
index 4c601148b13..3171ab5d1a5 100644
--- a/public/app/features/variables/pickers/shared/VariableOptions.tsx
+++ b/public/app/features/variables/pickers/shared/VariableOptions.tsx
@@ -78,7 +78,7 @@ export class VariableOptions extends PureComponent {
className={`${tag.selected ? 'variable-option-tag pointer selected' : 'variable-option-tag pointer'}`}
onClick={this.onToggleTag(tag)}
>
-
+
{tag.text}
diff --git a/public/app/plugins/datasource/cloudwatch/components/CloudWatchLink.tsx b/public/app/plugins/datasource/cloudwatch/components/CloudWatchLink.tsx
index 20afa8f0ac5..768e7c806cb 100644
--- a/public/app/plugins/datasource/cloudwatch/components/CloudWatchLink.tsx
+++ b/public/app/plugins/datasource/cloudwatch/components/CloudWatchLink.tsx
@@ -3,6 +3,7 @@ import React, { Component } from 'react';
import { CloudWatchLogsQuery } from '../types';
import { PanelData } from '@grafana/data';
+import { Icon } from '@grafana/ui';
import { encodeUrl, AwsUrl } from '../aws_url';
import { CloudWatchDatasource } from '../datasource';
@@ -58,7 +59,7 @@ export default class CloudWatchLink extends Component {
const { href } = this.state;
return (
- CloudWatch Logs Insights
+ CloudWatch Logs Insights
);
}
diff --git a/public/app/plugins/panel/annolist/AnnoListPanel.tsx b/public/app/plugins/panel/annolist/AnnoListPanel.tsx
index 63342c6b4aa..631b4295610 100644
--- a/public/app/plugins/panel/annolist/AnnoListPanel.tsx
+++ b/public/app/plugins/panel/annolist/AnnoListPanel.tsx
@@ -266,7 +266,7 @@ export class AnnoListPanel extends PureComponent {
// Previously we showed inidication that it covered all time
// { timeInfo && (
//
- // {timeInfo}
+ // {timeInfo}
//
// )}
diff --git a/public/test/mocks/common.ts b/public/test/mocks/common.ts
index a660ea11b08..9eee9d09d3e 100644
--- a/public/test/mocks/common.ts
+++ b/public/test/mocks/common.ts
@@ -24,7 +24,7 @@ export function createNavModel(title: string, ...tabs: string[]): NavModel {
const node: NavModelItem = {
id: title,
text: title,
- icon: 'fa fa-fw fa-warning',
+ icon: 'exclamation-triangle',
subTitle: 'subTitle',
url: title,
children: [],