diff --git a/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/StrategyExecution/StrategyExecution.tsx b/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/StrategyExecution/StrategyExecution.tsx index 1883d9fb9a1f..41574fea6fc3 100644 --- a/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/StrategyExecution/StrategyExecution.tsx +++ b/frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/StrategyExecution/StrategyExecution.tsx @@ -21,6 +21,7 @@ import { BuiltInStrategies } from 'utils/strategyNames'; interface IStrategyExecutionProps { strategy: IFeatureStrategyPayload | CreateFeatureStrategySchema; + displayGroupId?: boolean; } const StyledContainer = styled(Box, { @@ -77,6 +78,7 @@ const StyledValueSeparator = styled('span')(({ theme }) => ({ export const StrategyExecution: FC = ({ strategy, + displayGroupId = false, }) => { const { parameters, constraints = [] } = strategy; const stickiness = parameters?.stickiness; @@ -133,6 +135,18 @@ export const StrategyExecution: FC = ({ is included. + {displayGroupId && parameters.groupId && ( + ({ + ml: 1, + color: theme.palette.info.contrastText, + })} + > + + GroupId: {parameters.groupId} + + + )} ); } diff --git a/frontend/src/component/feature/FeatureView/FeatureOverview/ReleasePlan/ReleasePlanMilestone/ReleasePlanMilestoneStrategy.tsx b/frontend/src/component/feature/FeatureView/FeatureOverview/ReleasePlan/ReleasePlanMilestone/ReleasePlanMilestoneStrategy.tsx index 0f421af5ec23..462310dac54a 100644 --- a/frontend/src/component/feature/FeatureView/FeatureOverview/ReleasePlan/ReleasePlanMilestone/ReleasePlanMilestoneStrategy.tsx +++ b/frontend/src/component/feature/FeatureView/FeatureOverview/ReleasePlan/ReleasePlanMilestone/ReleasePlanMilestoneStrategy.tsx @@ -40,7 +40,7 @@ export const ReleasePlanMilestoneStrategy = ({ {`${formatStrategyName(String(strategy.strategyName))}${strategy.title ? `: ${strategy.title}` : ''}`} - + {strategy.variants && strategy.variants.length > 0 && (strategy.disabled ? (