mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 18:26:04 +00:00
improvement: add helper text to point vercel users to access permissions if they dont see their project listed
This commit is contained in:
@@ -58,7 +58,7 @@ export type FormHelperTextProps = {
|
|||||||
export const FormHelperText = ({ isError, text }: FormHelperTextProps) => (
|
export const FormHelperText = ({ isError, text }: FormHelperTextProps) => (
|
||||||
<div
|
<div
|
||||||
className={twMerge(
|
className={twMerge(
|
||||||
"mt-2 flex items-center font-inter text-xs text-mineshaft-300 opacity-90",
|
"mt-2 flex items-center font-inter text-xs text-mineshaft-300 text-opacity-90",
|
||||||
isError && "text-red-600"
|
isError && "text-red-600"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|||||||
+17
-2
@@ -16,7 +16,8 @@ import {
|
|||||||
FormControl,
|
FormControl,
|
||||||
Input,
|
Input,
|
||||||
Select,
|
Select,
|
||||||
SelectItem
|
SelectItem,
|
||||||
|
Tooltip
|
||||||
} from "@app/components/v2";
|
} from "@app/components/v2";
|
||||||
import { ROUTE_PATHS } from "@app/const/routes";
|
import { ROUTE_PATHS } from "@app/const/routes";
|
||||||
import { useWorkspace } from "@app/context";
|
import { useWorkspace } from "@app/context";
|
||||||
@@ -192,7 +193,21 @@ export const VercelConfigurePage = () => {
|
|||||||
placeholder="Provide a path, default is /"
|
placeholder="Provide a path, default is /"
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormControl label="Vercel App" className="px-6">
|
<FormControl
|
||||||
|
label="Vercel App"
|
||||||
|
helperText={
|
||||||
|
<Tooltip
|
||||||
|
className="max-w-md"
|
||||||
|
content="Double check Infisical's Access permissions in Vercel by navigating to Team > Integrations > Infisical > Settings > Manage Access."
|
||||||
|
>
|
||||||
|
<div>
|
||||||
|
<span>Don't see the project you're looking for?</span>{" "}
|
||||||
|
<FontAwesomeIcon icon={faCircleInfo} className="text-mineshaft-400" />
|
||||||
|
</div>
|
||||||
|
</Tooltip>
|
||||||
|
}
|
||||||
|
className="px-6"
|
||||||
|
>
|
||||||
<Select
|
<Select
|
||||||
value={targetAppId}
|
value={targetAppId}
|
||||||
onValueChange={(val) => setTargetAppId(val)}
|
onValueChange={(val) => setTargetAppId(val)}
|
||||||
|
|||||||
Reference in New Issue
Block a user