diff --git a/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/ConfigButtons/ChangeRequestTableConfigButton.tsx b/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/ConfigButtons/ChangeRequestTableConfigButton.tsx index 58a31a21a9..964e90c5cb 100644 --- a/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/ConfigButtons/ChangeRequestTableConfigButton.tsx +++ b/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/ConfigButtons/ChangeRequestTableConfigButton.tsx @@ -10,7 +10,7 @@ import { type ChangeRequestTableConfigButtonProps = Pick< ConfigButtonProps, - 'button' | 'onOpen' | 'onClose' | 'description' + 'button' | 'onOpen' | 'onClose' | 'description' | 'tooltipHeader' > & { search: { label: string; diff --git a/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/ConfigButtons/ConfigButton.tsx b/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/ConfigButtons/ConfigButton.tsx index 06aaa4d8b5..6e1621c991 100644 --- a/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/ConfigButtons/ConfigButton.tsx +++ b/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/ConfigButtons/ConfigButton.tsx @@ -7,6 +7,7 @@ import { HiddenDescription, ButtonLabel, } from './ConfigButton.styles'; +import { TooltipResolver } from 'component/common/TooltipResolver/TooltipResolver'; export type ConfigButtonProps = { button: { label: string; icon: ReactNode; labelWidth?: string }; @@ -16,6 +17,7 @@ export type ConfigButtonProps = { preventOpen?: boolean; anchorEl: HTMLDivElement | null | undefined; setAnchorEl: (el: HTMLDivElement | null | undefined) => void; + tooltipHeader: string; }; export const ConfigButton: FC> = ({ @@ -27,6 +29,7 @@ export const ConfigButton: FC> = ({ preventOpen, anchorEl, setAnchorEl, + tooltipHeader, }) => { const ref = useRef(null); const descriptionId = uuidv4(); @@ -44,20 +47,30 @@ export const ConfigButton: FC> = ({ return ( <> - + + & Pick & { selectedOptions: Set; diff --git a/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/ConfigButtons/SingleSelectConfigButton.tsx b/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/ConfigButtons/SingleSelectConfigButton.tsx index e47d175418..be26d8c273 100644 --- a/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/ConfigButtons/SingleSelectConfigButton.tsx +++ b/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/ConfigButtons/SingleSelectConfigButton.tsx @@ -4,7 +4,7 @@ import { DropdownList, type DropdownListProps } from './DropdownList'; type SingleSelectConfigButtonProps = Pick< ConfigButtonProps, - 'button' | 'onOpen' | 'onClose' | 'description' + 'button' | 'onOpen' | 'onClose' | 'description' | 'tooltipHeader' > & Pick; diff --git a/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/NewProjectForm.tsx b/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/NewProjectForm.tsx index a1edb0f92e..5783a6518a 100644 --- a/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/NewProjectForm.tsx +++ b/frontend/src/component/project/Project/CreateProject/NewCreateProjectForm/NewProjectForm.tsx @@ -180,6 +180,7 @@ export const NewProjectForm: React.FC = ({ ({ @@ -206,6 +207,7 @@ export const NewProjectForm: React.FC = ({ /> ({ value: key, @@ -233,6 +235,7 @@ export const NewProjectForm: React.FC = ({ condition={isEnterprise()} show={ { @@ -258,6 +261,7 @@ export const NewProjectForm: React.FC = ({ condition={isEnterprise()} show={