1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-15 17:50:48 +02:00
unleash.unleash/frontend/src/component/playground/Playground/PlaygroundGuidance/PlaygroundGuidance.tsx
Thomas Heartman b61dbbd718
fix: remove lexical illusion in playground guidance (#2360)
## What

I have removed a lexical illusion lexical illusion in this guidance
step, where "context field" was repeated.

## Why

Because it's unintended and doesn't make any sense in the the sentence.
2022-11-09 13:56:34 +00:00

41 lines
1.6 KiB
XML

import { Typography, Box, Divider } from '@mui/material';
import { PlaygroundGuidanceSection } from './PlaygroundGuidanceSection/PlaygroundGuidanceSection';
export const PlaygroundGuidance = () => {
return (
<Box sx={{ ml: 4 }}>
<Typography variant="body1">
Unleash playground is for helping you to undestand how unleash
works, how feature toggles are evaluated and for you to easily
debug your feature toggles.
</Typography>
<Divider sx={{ mt: 2, mb: 2 }} />
<Typography variant="body1" sx={{ mb: 1 }}>
What you need to do is:
</Typography>
<PlaygroundGuidanceSection
headerText="Select in which environment you want to test your
feature toggle configuration"
bodyText="You can also specify specific projects, or check
toggles in all projects."
sectionNumber="1"
/>
<PlaygroundGuidanceSection
headerText="Select a context field that you'd like to check"
bodyText="You can configure as many context fields as you want. You can also leave the context empty to test against an empty context."
sectionNumber="2"
/>
<PlaygroundGuidanceSection
headerText="Submit the form to try the configuration"
bodyText="The results of evaluating your feature toggles will appear after you submit the form. Then view the results."
sectionNumber="3"
/>
</Box>
);
};