mirror of
https://github.com/harness/drone.git
synced 2025-05-06 11:51:10 +08:00
feat: [CDE-275]: pass parentIdentifier in getTokenList api (#2611)
* feat: [CDE-275]: pass parentIdentifier in getTokenList api
This commit is contained in:
parent
bea4048d0e
commit
e2de9ba77e
@ -38,7 +38,7 @@
|
|||||||
div[class*='TableV2--cells'],
|
div[class*='TableV2--cells'],
|
||||||
div[class*='TableV2--header'] {
|
div[class*='TableV2--header'] {
|
||||||
display: grid !important;
|
display: grid !important;
|
||||||
grid-template-columns: 1fr 1fr 0.5fr 1fr 1fr 50px;
|
grid-template-columns: 1.5fr 1.5fr 0.5fr 0.75fr 1fr 50px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -168,6 +168,7 @@ export const RenderGitspaceName: Renderer<CellProps<TypesGitspaceConfig>> = ({ r
|
|||||||
<Layout.Horizontal spacing={'small'} flex={{ alignItems: 'center', justifyContent: 'start' }}>
|
<Layout.Horizontal spacing={'small'} flex={{ alignItems: 'center', justifyContent: 'start' }}>
|
||||||
<img src={ide === IDEType.VSCODE ? VSCode : vsCodeWebIcon} height={20} width={20} />
|
<img src={ide === IDEType.VSCODE ? VSCode : vsCodeWebIcon} height={20} width={20} />
|
||||||
<Text
|
<Text
|
||||||
|
width="90%"
|
||||||
lineClamp={1}
|
lineClamp={1}
|
||||||
color={Color.BLACK}
|
color={Color.BLACK}
|
||||||
title={name}
|
title={name}
|
||||||
@ -210,7 +211,6 @@ export const RenderRepository: Renderer<CellProps<TypesGitspaceConfig>> = ({ row
|
|||||||
const { name, branch, code_repo_url, code_repo_type } = details || {}
|
const { name, branch, code_repo_url, code_repo_type } = details || {}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout.Vertical spacing={'small'}>
|
|
||||||
<Layout.Horizontal
|
<Layout.Horizontal
|
||||||
spacing={'small'}
|
spacing={'small'}
|
||||||
className={css.repositoryCell}
|
className={css.repositoryCell}
|
||||||
@ -223,10 +223,13 @@ export const RenderRepository: Renderer<CellProps<TypesGitspaceConfig>> = ({ row
|
|||||||
<Container height={24} width={24}>
|
<Container height={24} width={24}>
|
||||||
{getIconByRepoType({ repoType: code_repo_type })}
|
{getIconByRepoType({ repoType: code_repo_type })}
|
||||||
</Container>
|
</Container>
|
||||||
|
<Container width="100%">
|
||||||
<Text lineClamp={1} color={Color.PRIMARY_7} title={name} font={{ align: 'left', size: 'normal' }}>
|
<Text lineClamp={1} color={Color.PRIMARY_7} title={name} font={{ align: 'left', size: 'normal' }}>
|
||||||
{name}
|
{name}
|
||||||
</Text>
|
</Text>
|
||||||
|
</Container>
|
||||||
<Text color={Color.PRIMARY_7}>:</Text>
|
<Text color={Color.PRIMARY_7}>:</Text>
|
||||||
|
<Container width="30%">
|
||||||
<Text
|
<Text
|
||||||
lineClamp={1}
|
lineClamp={1}
|
||||||
icon="git-branch"
|
icon="git-branch"
|
||||||
@ -236,8 +239,8 @@ export const RenderRepository: Renderer<CellProps<TypesGitspaceConfig>> = ({ row
|
|||||||
font={{ align: 'left', size: 'normal' }}>
|
font={{ align: 'left', size: 'normal' }}>
|
||||||
{branch}
|
{branch}
|
||||||
</Text>
|
</Text>
|
||||||
|
</Container>
|
||||||
</Layout.Horizontal>
|
</Layout.Horizontal>
|
||||||
</Layout.Vertical>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user