1
0
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:
Jaanus Sellin 2025-04-10 12:22:07 +03:00 committed by GitHub
parent 3f5f43933a
commit 5d64d0ff4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,11 +310,12 @@ 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.
</Alert>
<MilestoneStrategySegment <MilestoneStrategySegment
segments={segments} segments={segments}
setSegments={setSegments} setSegments={setSegments}
@ -332,7 +328,6 @@ export const ReleasePlanTemplateAddStrategyForm = ({
strategy={currentStrategy} strategy={currentStrategy}
setStrategy={setCurrentStrategy} setStrategy={setCurrentStrategy}
/> />
</StyledTargetingHeader>
</> </>
)} )}
{activeTab === 2 && showVariants && ( {activeTab === 2 && showVariants && (