Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: project feature limit UI (#4220)
- Loading branch information
Showing
6 changed files
with
112 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
frontend/src/component/project/Project/ProjectForm/FeatureTogglesLimitTooltip.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Box } from '@mui/material'; | ||
import { FC } from 'react'; | ||
import { HelpIcon } from 'component/common/HelpIcon/HelpIcon'; | ||
|
||
export const FeatureTogglesLimitTooltip: FC = () => ( | ||
<HelpIcon | ||
htmlTooltip | ||
tooltip={ | ||
<Box> | ||
Enforce an upper limit of the number of feature toggles that may | ||
be created for this project. You can create unlimited feature | ||
toggle if there is no limit set. | ||
</Box> | ||
} | ||
/> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters