diff --git a/frontend/src/components/v2/SecretInput/SecretInput.tsx b/frontend/src/components/v2/SecretInput/SecretInput.tsx index 2dfafca74..64f6820bb 100644 --- a/frontend/src/components/v2/SecretInput/SecretInput.tsx +++ b/frontend/src/components/v2/SecretInput/SecretInput.tsx @@ -1,5 +1,7 @@ /* eslint-disable react/no-danger */ import { forwardRef, TextareaHTMLAttributes } from "react"; +import { faChevronRight, faFolder, faKey, faRecycle } from "@fortawesome/free-solid-svg-icons"; +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { twMerge } from "tailwind-merge"; import { useToggle } from "@app/hooks"; @@ -19,6 +21,10 @@ const syntaxHighlight = (content?: string | null, isVisible?: boolean) => { if (!content) return "EMPTY"; if (!isVisible) return replaceContentWithDot(content); + // List all the all the variable and the enviroments + // On Environment select list all the secret name and folder + // + let skipNext = false; const formatedContent = content.split(REGEX).flatMap((el, i) => { const isInterpolationSyntax = el.startsWith("${") && el.endsWith("}"); @@ -61,6 +67,7 @@ export const SecretInput = forwardRef( const [isSecretFocused, setIsSecretFocused] = useToggle(); return ( + // <>
( +