feat: add cluster detail

This commit is contained in:
jialin
2026-01-09 20:51:48 +08:00
parent 7b5ce83cbd
commit afcd3e5693
32 changed files with 255 additions and 139 deletions
@@ -27,7 +27,7 @@ const Footer = styled.div`
type AddWorkerProps = {
open: boolean;
provider: ProviderType;
title: string;
title: React.ReactNode;
clusterList?: Global.BaseOption<number, ClusterListItem>[];
clusterLoading?: boolean;
stepList: StepName[];
@@ -310,6 +310,11 @@ const PoolForm: React.FC<AddModalProps> = forwardRef((props, ref) => {
title={title}
collapsible={collapsible}
onToggle={onToggle}
styles={{
root: {
background: 'unset'
}
}}
deleteBtn={
showDelete && (
<Button
@@ -138,7 +138,7 @@ const WorkerPools = () => {
showSelect={false}
marginBottom={22}
marginTop={22}
width={{ input: 300 }}
widths={{ input: 300 }}
buttonText={intl.formatMessage({ id: 'clusters.button.addNodePool' })}
rowSelection={rowSelection}
handleInputChange={handleNameChange}