mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-23 00:16:25 +01:00
chore: update description/docs for the new feature creation dialog fields (#7677)
This PR updates the text used to describe the different fields used in the new creation dialog. It also removes a redundant aria attribute (that MUI already handles).
This commit is contained in:
parent
c7bb6c5179
commit
39cda30dab
@ -58,20 +58,20 @@ const StyledDialog = styled(Dialog)(({ theme }) => ({
|
|||||||
const configButtonData = {
|
const configButtonData = {
|
||||||
project: {
|
project: {
|
||||||
icon: <ProjectIcon />,
|
icon: <ProjectIcon />,
|
||||||
text: 'Projects allow you to group feature flags together in the management UI.',
|
text: 'Projects allow you to group feature flags together in the Unleash admin UI and in SDK payloads.',
|
||||||
},
|
},
|
||||||
tags: {
|
tags: {
|
||||||
icon: <Label />,
|
icon: <Label />,
|
||||||
text: 'Tags are used to group flags together in Unleash.',
|
text: 'Tags are used to label flags in Unleash. They can be used when filtering flags in the UI. Additionally, they are used by some integrations.',
|
||||||
},
|
},
|
||||||
type: {
|
type: {
|
||||||
icon: <FlagIcon />,
|
icon: <FlagIcon />,
|
||||||
text: "A flag's type conveys its purpose.",
|
text: "A flag's type conveys its purpose. All types have the same capabilities, but choosing the right type signals what kind of flag it is. You can change this at any time.",
|
||||||
},
|
},
|
||||||
|
|
||||||
impressionData: {
|
impressionData: {
|
||||||
icon: <ImpressionDataIcon />,
|
icon: <ImpressionDataIcon />,
|
||||||
text: 'Impression data is used to track how your flag is performing.',
|
text: `Impression data is used to track how your flag is performing. When enabled, you can subscribe to 'impression events' in the SDK and process them according to your needs.`,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -109,8 +109,8 @@ export const CreateFeatureDialog = ({
|
|||||||
text: string;
|
text: string;
|
||||||
link?: { url: string; label: string };
|
link?: { url: string; label: string };
|
||||||
} = {
|
} = {
|
||||||
icon: <FlagIcon aria-hidden='true' />,
|
icon: <FlagIcon />,
|
||||||
text: 'Feature flags are the core of Unleash.',
|
text: 'Feature flags are at the core of Unleash. Use them to control your feature rollouts.',
|
||||||
link: {
|
link: {
|
||||||
url: 'https://docs.getunleash.io/reference/feature-toggles',
|
url: 'https://docs.getunleash.io/reference/feature-toggles',
|
||||||
label: 'Feature flags documentation',
|
label: 'Feature flags documentation',
|
||||||
|
Loading…
Reference in New Issue
Block a user