diff --git a/frontend/src/component/featureTypes/FeatureTypeEdit/FeatureTypeForm/FeatureTypeForm.tsx b/frontend/src/component/featureTypes/FeatureTypeEdit/FeatureTypeForm/FeatureTypeForm.tsx index 956e4b45f5..eadee0a4cd 100644 --- a/frontend/src/component/featureTypes/FeatureTypeEdit/FeatureTypeForm/FeatureTypeForm.tsx +++ b/frontend/src/component/featureTypes/FeatureTypeEdit/FeatureTypeForm/FeatureTypeForm.tsx @@ -145,8 +145,9 @@ export const FeatureTypeForm: VFC = ({ tooltip={ <>

- If your toggle exceeded lifetime of it's - type it will be marked as potencially stale. + If your toggle exceeds the expected lifetime + of its toggle type it will be marked as + potentially stale.


; + return ; } return ( diff --git a/frontend/src/component/integrations/IntegrationList/IntegrationList.tsx b/frontend/src/component/integrations/IntegrationList/IntegrationList.tsx index b6e1924799..3cb0531427 100644 --- a/frontend/src/component/integrations/IntegrationList/IntegrationList.tsx +++ b/frontend/src/component/integrations/IntegrationList/IntegrationList.tsx @@ -15,6 +15,7 @@ import ResponsiveButton from 'component/common/ResponsiveButton/ResponsiveButton import { ADMIN } from 'component/providers/AccessProvider/permissions'; import { IIncomingWebhook } from 'interfaces/incomingWebhook'; import { IncomingWebhooks } from 'component/incomingWebhooks/IncomingWebhooks'; +import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig'; const StyledHeader = styled('div')(() => ({ display: 'flex', @@ -32,6 +33,7 @@ const StyledActions = styled('div')({ }); export const IntegrationList: VFC = () => { + const { isEnterprise } = useUiConfig(); const { pathname } = useLocation(); const navigate = useNavigate(); const theme = useTheme(); @@ -94,9 +96,11 @@ export const IntegrationList: VFC = () => { { - If your toggle exceeds the expected lifetime of it's toggle + If your toggle exceeds the expected lifetime of its toggle type it will be marked as potentially stale. { const location = useLocation(); const { isPro, isEnterprise } = useUiConfig(); @@ -45,9 +51,9 @@ export const ProjectSettings = () => { id: 'change-requests', label: 'Change request configuration', icon: isPro() ? ( - + - + ) : undefined, }, ] @@ -71,9 +77,9 @@ export const ProjectSettings = () => { id: 'actions', label: 'Actions', icon: isPro() ? ( - + - + ) : undefined, }); } diff --git a/website/docs/reference/technical-debt.md b/website/docs/reference/technical-debt.md index d9d5e26e2a..1414648c9e 100644 --- a/website/docs/reference/technical-debt.md +++ b/website/docs/reference/technical-debt.md @@ -32,7 +32,7 @@ The report card includes some statistics of your application. It lists the overa - **Kill switch** - Used to to gracefully degrade system functionality. _(permanent)_ - **Permission** - Used to change the features or product experience that certain users receive. _(permanent)_ -If your toggle exceeds the expected lifetime of it's toggle type it will be marked as _potentially stale_. +If your toggle exceeds the expected lifetime of its toggle type it will be marked as _potentially stale_. One thing to note is that the report card and corresponding list are showing stats related to the currently selected project. If you have more than one project, you will be provided with a project selector in order to swap between the projects.