Skip to content

Commit 8a486d2

Browse files
committed
fixes
1 parent 225bfff commit 8a486d2

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

frontend/src/components/Connect/List/List.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { ColumnDef } from '@tanstack/react-table';
88
import { useSearchParams } from 'react-router-dom';
99
import { useQueryPersister } from 'components/common/NewTable/ColumnFilter';
1010
import { useLocalStoragePersister } from 'components/common/NewTable/ColumnResizer/lib';
11+
import BreakableTextCell from 'components/common/NewTable/BreakableTextCell';
1112

1213
import ActionsCell from './ActionsCell';
1314
import TopicsCell from './TopicsCell';
@@ -24,7 +25,7 @@ const kafkaConnectColumns: ColumnDef<FullConnectorInfo, string>[] = [
2425
{
2526
header: 'Connect',
2627
accessorKey: 'connect',
27-
cell: KafkaConnectLinkCell,
28+
cell: BreakableTextCell,
2829
filterFn: 'arrIncludesSome',
2930
meta: {
3031
filterVariant: 'multi-select',
@@ -34,15 +35,14 @@ const kafkaConnectColumns: ColumnDef<FullConnectorInfo, string>[] = [
3435
{
3536
header: 'Type',
3637
accessorKey: 'type',
37-
cell: KafkaConnectLinkCell,
3838
meta: { filterVariant: 'multi-select' },
3939
filterFn: 'arrIncludesSome',
4040
size: 120,
4141
},
4242
{
4343
header: 'Plugin',
4444
accessorKey: 'connectorClass',
45-
cell: KafkaConnectLinkCell,
45+
cell: BreakableTextCell,
4646
meta: { filterVariant: 'multi-select' },
4747
filterFn: 'arrIncludesSome',
4848
enableResizing: true,

frontend/src/components/Connect/List/__tests__/List.spec.tsx

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -73,30 +73,6 @@ describe('Connectors List', () => {
7373
'hdfs-source-connector'
7474
)
7575
);
76-
expect(screen.getByText('first')).toHaveAttribute(
77-
'href',
78-
clusterConnectConnectorPath(
79-
clusterName,
80-
'first',
81-
'hdfs-source-connector'
82-
)
83-
);
84-
expect(screen.getByText('SOURCE')).toHaveAttribute(
85-
'href',
86-
clusterConnectConnectorPath(
87-
clusterName,
88-
'first',
89-
'hdfs-source-connector'
90-
)
91-
);
92-
expect(screen.getAllByText('FileStreamSource')[0]).toHaveAttribute(
93-
'href',
94-
clusterConnectConnectorPath(
95-
clusterName,
96-
'first',
97-
'hdfs-source-connector'
98-
)
99-
);
10076
});
10177
});
10278

0 commit comments

Comments
 (0)