mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-27 01:19:00 +02:00
feat: styling of info box for release plans (#9741)
This commit is contained in:
parent
3f5f43933a
commit
5d64d0ff4b
@ -109,11 +109,6 @@ const StyledBox = styled(Box)(({ theme }) => ({
|
|||||||
marginTop: theme.spacing(3.5),
|
marginTop: theme.spacing(3.5),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const StyledTargetingHeader = styled('div')(({ theme }) => ({
|
|
||||||
color: theme.palette.text.secondary,
|
|
||||||
marginTop: theme.spacing(1.5),
|
|
||||||
}));
|
|
||||||
|
|
||||||
const StyledDivider = styled(Divider)(({ theme }) => ({
|
const StyledDivider = styled(Divider)(({ theme }) => ({
|
||||||
width: '100%',
|
width: '100%',
|
||||||
}));
|
}));
|
||||||
@ -315,24 +310,24 @@ export const ReleasePlanTemplateAddStrategyForm = ({
|
|||||||
)}
|
)}
|
||||||
{activeTab === 1 && (
|
{activeTab === 1 && (
|
||||||
<>
|
<>
|
||||||
<StyledTargetingHeader>
|
<Alert severity='info' sx={{ mb: 2 }} icon={false}>
|
||||||
Segmentation and constraints allow you to set
|
Segmentation and constraints allow you to set
|
||||||
filters on your strategies, so that they will only
|
filters on your strategies, so that they will only
|
||||||
be evaluated for users and applications that match
|
be evaluated for users and applications that match
|
||||||
the specified preconditions.
|
the specified preconditions.
|
||||||
<MilestoneStrategySegment
|
</Alert>
|
||||||
segments={segments}
|
<MilestoneStrategySegment
|
||||||
setSegments={setSegments}
|
segments={segments}
|
||||||
/>
|
setSegments={setSegments}
|
||||||
<StyledBox>
|
/>
|
||||||
<StyledDivider />
|
<StyledBox>
|
||||||
<StyledConstraintSeparator />
|
<StyledDivider />
|
||||||
</StyledBox>
|
<StyledConstraintSeparator />
|
||||||
<MilestoneStrategyConstraints
|
</StyledBox>
|
||||||
strategy={currentStrategy}
|
<MilestoneStrategyConstraints
|
||||||
setStrategy={setCurrentStrategy}
|
strategy={currentStrategy}
|
||||||
/>
|
setStrategy={setCurrentStrategy}
|
||||||
</StyledTargetingHeader>
|
/>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{activeTab === 2 && showVariants && (
|
{activeTab === 2 && showVariants && (
|
||||||
|
Loading…
Reference in New Issue
Block a user