Skip to content

Commit

Permalink
add link style to session name in list & set copyable to kernel id
Browse files Browse the repository at this point in the history
  • Loading branch information
yomybaby committed Feb 7, 2025
1 parent d5978b8 commit 107072a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@ const ConnectedKernelList: React.FC<ConnectedKernelListProps> = ({
title: t('kernel.KernelId'),
fixed: 'left',
dataIndex: 'row_id',
render: (row_id) => (
<>
<Typography.Text copyable ellipsis>
{row_id}
</Typography.Text>
</>
),
},
{
title: t('kernel.Role'),
Expand Down
4 changes: 4 additions & 0 deletions src/components/backend-ai-session-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3119,6 +3119,10 @@ export default class BackendAISessionList extends BackendAIPage {
word-break: break-all;
cursor: pointer;
}
#session-name-field:hover {
text-decoration: underline;
color: var(--token-colorLink);
}
#session-rename-field {
display: none;
white-space: normal;
Expand Down

0 comments on commit 107072a

Please sign in to comment.