mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-04 01:18:20 +02: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,
|
optional: true,
|
||||||
backCloseModal: 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"]',
|
target: 'button[data-testid="ADD_CONSTRAINT_BUTTON"]',
|
||||||
content: (
|
content: (
|
||||||
@ -468,6 +479,17 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
</Description>
|
</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"]',
|
target: 'button[data-testid="ADD_CONSTRAINT_BUTTON"]',
|
||||||
content: (
|
content: (
|
||||||
@ -574,6 +596,17 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
</Description>
|
</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"]',
|
target: 'button[data-testid="ADD_STRATEGY_VARIANT_BUTTON"]',
|
||||||
content: (
|
content: (
|
||||||
|
@ -451,6 +451,7 @@ export const NewFeatureStrategyForm = ({
|
|||||||
<StyledTabs value={tab} onChange={handleChange}>
|
<StyledTabs value={tab} onChange={handleChange}>
|
||||||
<StyledTab label='General' />
|
<StyledTab label='General' />
|
||||||
<Tab
|
<Tab
|
||||||
|
data-testid='STRATEGY_TARGETING_TAB'
|
||||||
label={
|
label={
|
||||||
<Typography>
|
<Typography>
|
||||||
Targeting
|
Targeting
|
||||||
@ -460,6 +461,7 @@ export const NewFeatureStrategyForm = ({
|
|||||||
/>
|
/>
|
||||||
{showVariants && (
|
{showVariants && (
|
||||||
<Tab
|
<Tab
|
||||||
|
data-testid='STRATEGY_VARIANTS_TAB'
|
||||||
label={
|
label={
|
||||||
<Typography>
|
<Typography>
|
||||||
Variants
|
Variants
|
||||||
|
Loading…
Reference in New Issue
Block a user