Merge pull request #4372 from kiranpatel11/master

feat(CatalogTable): truncate long description with ellipsis and tooltip
This commit is contained in:
Fredrik Adelöw
2021-02-18 19:28:47 +01:00
committed by GitHub
11 changed files with 163 additions and 3 deletions
@@ -23,6 +23,7 @@ import {
} from '@backstage/catalog-model';
import {
CodeSnippet,
OverflowTooltip,
Table,
TableColumn,
TableFilter,
@@ -92,6 +93,12 @@ const columns: TableColumn<EntityRow>[] = [
{
title: 'Description',
field: 'entity.metadata.description',
render: ({ entity }) => (
<OverflowTooltip
text={entity.metadata.description}
placement="bottom-start"
/>
),
},
{
title: 'Tags',