mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
fix: add new steps to demo guide (#6112)
This PR adds the necessary steps for the demo guidance to work properly with the new form
This commit is contained in:
parent
c83c43718c
commit
6a70ba0cd0
@ -151,6 +151,17 @@ export const TOPICS: ITutorialTopic[] = [
|
||||
optional: true,
|
||||
backCloseModal: true,
|
||||
},
|
||||
{
|
||||
target: 'button[data-testid="STRATEGY_TARGETING_TAB"]',
|
||||
content: (
|
||||
<>
|
||||
<Description>
|
||||
<Typography>Select the Targeting tab.</Typography>
|
||||
</Description>
|
||||
</>
|
||||
),
|
||||
backCloseModal: true,
|
||||
},
|
||||
{
|
||||
target: 'button[data-testid="ADD_CONSTRAINT_BUTTON"]',
|
||||
content: (
|
||||
@ -468,6 +479,17 @@ export const TOPICS: ITutorialTopic[] = [
|
||||
</Description>
|
||||
),
|
||||
},
|
||||
{
|
||||
target: 'button[data-testid="STRATEGY_TARGETING_TAB"]',
|
||||
content: (
|
||||
<>
|
||||
<Description>
|
||||
<Typography>Select the Targeting tab.</Typography>
|
||||
</Description>
|
||||
</>
|
||||
),
|
||||
backCloseModal: true,
|
||||
},
|
||||
{
|
||||
target: 'button[data-testid="ADD_CONSTRAINT_BUTTON"]',
|
||||
content: (
|
||||
@ -574,6 +596,17 @@ export const TOPICS: ITutorialTopic[] = [
|
||||
</Description>
|
||||
),
|
||||
},
|
||||
{
|
||||
target: 'button[data-testid="STRATEGY_VARIANTS_TAB"]',
|
||||
content: (
|
||||
<>
|
||||
<Description>
|
||||
<Typography>Select the Variants tab.</Typography>
|
||||
</Description>
|
||||
</>
|
||||
),
|
||||
backCloseModal: true,
|
||||
},
|
||||
{
|
||||
target: 'button[data-testid="ADD_STRATEGY_VARIANT_BUTTON"]',
|
||||
content: (
|
||||
|
@ -451,6 +451,7 @@ export const NewFeatureStrategyForm = ({
|
||||
<StyledTabs value={tab} onChange={handleChange}>
|
||||
<StyledTab label='General' />
|
||||
<Tab
|
||||
data-testid='STRATEGY_TARGETING_TAB'
|
||||
label={
|
||||
<Typography>
|
||||
Targeting
|
||||
@ -460,6 +461,7 @@ export const NewFeatureStrategyForm = ({
|
||||
/>
|
||||
{showVariants && (
|
||||
<Tab
|
||||
data-testid='STRATEGY_VARIANTS_TAB'
|
||||
label={
|
||||
<Typography>
|
||||
Variants
|
||||
|
Loading…
Reference in New Issue
Block a user