) => (
<>
-
+
{row.lastBuild?.source?.branchName}
@@ -154,7 +154,7 @@ const generatedColumns: TableColumn[] = [
<>
{row.lastBuild?.tests && (
-
+
{row.lastBuild?.tests.passed} / {row.lastBuild?.tests.total}{' '}
passed
+
See more on Jenkins{' '}
diff --git a/plugins/lighthouse/src/components/AuditList/AuditListTable.tsx b/plugins/lighthouse/src/components/AuditList/AuditListTable.tsx
index 10f29f3fd5..541bc0e22d 100644
--- a/plugins/lighthouse/src/components/AuditList/AuditListTable.tsx
+++ b/plugins/lighthouse/src/components/AuditList/AuditListTable.tsx
@@ -22,10 +22,15 @@ import {
CATEGORY_LABELS,
buildSparklinesDataForItem,
} from '../../utils';
-import { Link, generatePath } from 'react-router-dom';
+import { generatePath } from 'react-router-dom';
import AuditStatusIcon from '../AuditStatusIcon';
-import { Table, TableColumn, TrendLine } from '@backstage/core-components';
+import {
+ Link,
+ Table,
+ TableColumn,
+ TrendLine,
+} from '@backstage/core-components';
import { useApi } from '@backstage/core-plugin-api';
const columns: TableColumn[] = [
diff --git a/plugins/org/src/components/Cards/User/UserProfileCard/UserProfileCard.tsx b/plugins/org/src/components/Cards/User/UserProfileCard/UserProfileCard.tsx
index 30709fe68b..298819ed09 100644
--- a/plugins/org/src/components/Cards/User/UserProfileCard/UserProfileCard.tsx
+++ b/plugins/org/src/components/Cards/User/UserProfileCard/UserProfileCard.tsx
@@ -22,7 +22,6 @@ import {
import {
Box,
Grid,
- Link,
List,
ListItem,
ListItemIcon,
@@ -34,7 +33,12 @@ import GroupIcon from '@material-ui/icons/Group';
import PersonIcon from '@material-ui/icons/Person';
import Alert from '@material-ui/lab/Alert';
import React from 'react';
-import { Avatar, InfoCard, InfoCardVariants } from '@backstage/core-components';
+import {
+ Avatar,
+ InfoCard,
+ InfoCardVariants,
+ Link,
+} from '@backstage/core-components';
const CardTitle = ({ title }: { title?: string }) =>
title ? (
@@ -83,7 +87,7 @@ export const UserProfileCard = ({
- {profile.email}
+ {profile.email}
)}
diff --git a/plugins/scaffolder/src/components/TemplateList/TemplateList.tsx b/plugins/scaffolder/src/components/TemplateList/TemplateList.tsx
index 9b66a0a9b6..2ac0def547 100644
--- a/plugins/scaffolder/src/components/TemplateList/TemplateList.tsx
+++ b/plugins/scaffolder/src/components/TemplateList/TemplateList.tsx
@@ -24,11 +24,12 @@ import {
Content,
ContentHeader,
ItemCardGrid,
+ Link,
Progress,
WarningPanel,
} from '@backstage/core-components';
import { useEntityListProvider } from '@backstage/plugin-catalog-react';
-import { Link, Typography } from '@material-ui/core';
+import { Typography } from '@material-ui/core';
import { TemplateCard } from '../TemplateCard';
export type TemplateListProps = {
@@ -73,7 +74,7 @@ export const TemplateList = ({
{!error && !loading && !entities.length && (
No templates found that match your filter. Learn more about{' '}
-
+
adding templates
.
diff --git a/plugins/search/src/components/SearchResult/SearchResult.stories.tsx b/plugins/search/src/components/SearchResult/SearchResult.stories.tsx
index bf83b8b1ad..aebaecb8b4 100644
--- a/plugins/search/src/components/SearchResult/SearchResult.stories.tsx
+++ b/plugins/search/src/components/SearchResult/SearchResult.stories.tsx
@@ -15,9 +15,10 @@
*/
import React from 'react';
-import { List, Link, ListItem } from '@material-ui/core';
+import { List, ListItem } from '@material-ui/core';
import { SearchResult, SearchContext, DefaultResultListItem } from '../index';
import { MemoryRouter } from 'react-router';
+import { Link } from '@backstage/core-components';
export default {
title: 'Plugins/Search/SearchResult',
@@ -79,7 +80,7 @@ export const Default = () => {
default:
return (
-
+
{document.title} - {document.text}
diff --git a/plugins/sentry/src/components/ErrorCell/ErrorCell.tsx b/plugins/sentry/src/components/ErrorCell/ErrorCell.tsx
index d2da63f01f..015cf96ed1 100644
--- a/plugins/sentry/src/components/ErrorCell/ErrorCell.tsx
+++ b/plugins/sentry/src/components/ErrorCell/ErrorCell.tsx
@@ -16,9 +16,10 @@
import React from 'react';
import { SentryIssue } from '../../api';
-import { Link, Typography } from '@material-ui/core';
+import { Typography } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles';
import { BackstageTheme } from '@backstage/theme';
+import { Link } from '@backstage/core-components';
function stripText(text: string, maxLength: number) {
return text.length > maxLength ? `${text.substr(0, maxLength)}...` : text;
@@ -53,7 +54,7 @@ export const ErrorCell = ({ sentryIssue }: { sentryIssue: SentryIssue }) => {
return (
-
+
{stripText(issueType, 28)}
diff --git a/plugins/sonarqube/src/components/SonarQubeCard/RatingCard.tsx b/plugins/sonarqube/src/components/SonarQubeCard/RatingCard.tsx
index e5bcfe4f86..547c3008c0 100644
--- a/plugins/sonarqube/src/components/SonarQubeCard/RatingCard.tsx
+++ b/plugins/sonarqube/src/components/SonarQubeCard/RatingCard.tsx
@@ -14,7 +14,8 @@
* limitations under the License.
*/
-import { Grid, Typography, Link } from '@material-ui/core';
+import { Link } from '@backstage/core-components';
+import { Grid, Typography } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles';
import React, { ReactNode } from 'react';
@@ -62,7 +63,7 @@ export const RatingCard = ({
const classes = useStyles();
return (
-
+