mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-27 13:49:10 +02:00
touch other kinds
This commit is contained in:
parent
0262387917
commit
80b0ace426
@ -18,7 +18,7 @@ export const ArchiveFeatureChange: FC<IArchiveFeatureChange> = ({
|
|||||||
<ChangeItemWrapper>
|
<ChangeItemWrapper>
|
||||||
<ChangeItemInfo>
|
<ChangeItemInfo>
|
||||||
<ArchiveBox>Archiving flag</ArchiveBox>
|
<ArchiveBox>Archiving flag</ArchiveBox>
|
||||||
</ChangeItemInfo>
|
|
||||||
{actions}
|
{actions}
|
||||||
|
</ChangeItemInfo>
|
||||||
</ChangeItemWrapper>
|
</ChangeItemWrapper>
|
||||||
);
|
);
|
||||||
|
@ -15,12 +15,6 @@ const StyledLink = styled(Link)(({ theme }) => ({
|
|||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const AddDependencyText = styled(Typography)(({ theme }) => ({
|
|
||||||
display: 'flex',
|
|
||||||
alignItems: 'center',
|
|
||||||
gap: theme.spacing(1),
|
|
||||||
}));
|
|
||||||
|
|
||||||
export const DependencyChange: FC<{
|
export const DependencyChange: FC<{
|
||||||
actions?: ReactNode;
|
actions?: ReactNode;
|
||||||
change: IChangeRequestAddDependency | IChangeRequestDeleteDependency;
|
change: IChangeRequestAddDependency | IChangeRequestDeleteDependency;
|
||||||
@ -33,11 +27,7 @@ export const DependencyChange: FC<{
|
|||||||
<>
|
<>
|
||||||
<ChangeItemWrapper>
|
<ChangeItemWrapper>
|
||||||
<ChangeItemInfo>
|
<ChangeItemInfo>
|
||||||
<Typography
|
<Typography component='span' color={'success.dark'}>
|
||||||
component='span'
|
|
||||||
color={'success.dark'}
|
|
||||||
// sx={{ display: 'inline' }}
|
|
||||||
>
|
|
||||||
+ Adding dependency
|
+ Adding dependency
|
||||||
</Typography>
|
</Typography>
|
||||||
<StyledLink
|
<StyledLink
|
||||||
@ -50,23 +40,25 @@ export const DependencyChange: FC<{
|
|||||||
{change.payload.variants?.length
|
{change.payload.variants?.length
|
||||||
? `(${change.payload.variants?.join(', ')})`
|
? `(${change.payload.variants?.join(', ')})`
|
||||||
: null}
|
: null}
|
||||||
</ChangeItemInfo>
|
|
||||||
{actions}
|
{actions}
|
||||||
|
</ChangeItemInfo>
|
||||||
</ChangeItemWrapper>
|
</ChangeItemWrapper>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{change.action === 'deleteDependency' && (
|
{change.action === 'deleteDependency' && (
|
||||||
<ChangeItemWrapper>
|
<ChangeItemWrapper>
|
||||||
<AddDependencyWrapper>
|
<ChangeItemInfo>
|
||||||
<Typography
|
<Typography
|
||||||
sx={(theme) => ({
|
sx={(theme) => ({
|
||||||
color: theme.palette.error.main,
|
color: theme.palette.error.main,
|
||||||
})}
|
})}
|
||||||
|
component='span'
|
||||||
|
display='inline'
|
||||||
>
|
>
|
||||||
- Deleting dependencies
|
- Deleting dependencies
|
||||||
</Typography>
|
</Typography>
|
||||||
</AddDependencyWrapper>
|
|
||||||
{actions}
|
{actions}
|
||||||
|
</ChangeItemInfo>
|
||||||
</ChangeItemWrapper>
|
</ChangeItemWrapper>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
@ -51,8 +51,8 @@ const DeleteReleasePlan: FC<{
|
|||||||
- Deleting release plan
|
- Deleting release plan
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography>{releasePlan.name}</Typography>
|
<Typography>{releasePlan.name}</Typography>
|
||||||
|
{actions}
|
||||||
</ChangeItemInfo>
|
</ChangeItemInfo>
|
||||||
<div>{actions}</div>
|
|
||||||
</ChangeItemWrapper>
|
</ChangeItemWrapper>
|
||||||
<ReleasePlan plan={releasePlan} readonly />
|
<ReleasePlan plan={releasePlan} readonly />
|
||||||
</>
|
</>
|
||||||
@ -162,8 +162,8 @@ const AddReleasePlan: FC<{
|
|||||||
+ Adding release plan
|
+ Adding release plan
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography>{planPreview.name}</Typography>
|
<Typography>{planPreview.name}</Typography>
|
||||||
|
{actions}
|
||||||
</ChangeItemInfo>
|
</ChangeItemInfo>
|
||||||
<div>{actions}</div>
|
|
||||||
</ChangeItemWrapper>
|
</ChangeItemWrapper>
|
||||||
<ReleasePlan plan={planPreview} readonly />
|
<ReleasePlan plan={planPreview} readonly />
|
||||||
</>
|
</>
|
||||||
|
Loading…
Reference in New Issue
Block a user