Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
improve UI & greptile review fixes
x032205e6a76187a282
diff --git a/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/GatewayCliDeploymentMethod.tsx b/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/GatewayCliDeploymentMethod.tsxindex 279dc61c91..a98853bbbe 100644--- a/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/GatewayCliDeploymentMethod.tsx+++ b/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/GatewayCliDeploymentMethod.tsx@@ -125,25 +125,25 @@ export const GatewayCliDeploymentMethod = () => {accessTokenTrustedIps: [{ ipAddress: "0.0.0.0/0" }, { ipAddress: "::/0" }]});createNotification({- text: "Automatically enabled token authentication for this identity.",- type: "info"+ text: "Token authentication has been automatically enabled for the selected identity. By default, it is configured to allow all IP addresses with a default token TTL of 30 days. You can manage these settings in Access Control.",+ type: "warning"});}const token = await createToken({identityId: validatedIdentity.id,- name: "gateway token (autogenerated)"+ name: `gateway token for ${name} (autogenerated)`});setIdentityToken(token.accessToken);createNotification({- text: "Automatically generated a token for this identity.",+ text: "Automatically generated a token for the selected identity.",type: "info"});setStep("command");} catch (err) {console.error(err);createNotification({- text: "Failed to generate token for identity",+ text: "Failed to generate token for the selected identity",type: "error"});setIdentityToken("");diff --git a/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/GatewayDeploymentMethodSelect.tsx b/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/GatewayDeploymentMethodSelect.tsxindex 0a1fd5e127..099c7d791a 100644--- a/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/GatewayDeploymentMethodSelect.tsx+++ b/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/GatewayDeploymentMethodSelect.tsx@@ -27,21 +27,19 @@ export const GatewayDeploymentMethodSelect = ({ onSelect }: Props) => {return (<div className="grid h-118 grid-cols-4 content-start gap-2">{deploymentOptions.map((option) => {- const { image, name } = option;+ const { image, name, method } = option;return (<button+ key={method}type="button"- onClick={() => handleResourceSelect(option.method)}+ onClick={() => handleResourceSelect(method)}className="group relative flex h-28 cursor-pointer flex-col items-center justify-center rounded-md border border-mineshaft-600 bg-mineshaft-700 p-4 duration-200 hover:bg-mineshaft-600"><div className="relative"><imgsrc={`/images/integrations/${image}`}- style={{- width: "50px"- }}- className="mt-auto"+ className="mt-auto w-12"alt={`${name} logo`}/></div>diff --git a/frontend/src/pages/organization/NetworkingPage/components/RelayTab/RelayTab.tsx b/frontend/src/pages/organization/NetworkingPage/components/RelayTab/RelayTab.tsxindex 9ca3e1318d..594c9a27cd 100644--- a/frontend/src/pages/organization/NetworkingPage/components/RelayTab/RelayTab.tsx+++ b/frontend/src/pages/organization/NetworkingPage/components/RelayTab/RelayTab.tsx@@ -94,7 +94,7 @@ export const RelayTab = withPermission(replace: true});}- }, [action]);+ }, [action, handlePopUpOpen, navigate]);const deleteRelayById = useDeleteRelayById();diff --git a/frontend/src/pages/organization/NetworkingPage/components/RelayTab/components/RelayCliDeploymentMethod.tsx b/frontend/src/pages/organization/NetworkingPage/components/RelayTab/components/RelayCliDeploymentMethod.tsxindex 543d31baeb..65c20bb195 100644--- a/frontend/src/pages/organization/NetworkingPage/components/RelayTab/components/RelayCliDeploymentMethod.tsx+++ b/frontend/src/pages/organization/NetworkingPage/components/RelayTab/components/RelayCliDeploymentMethod.tsx@@ -104,25 +104,25 @@ export const RelayCliDeploymentMethod = () => {accessTokenTrustedIps: [{ ipAddress: "0.0.0.0/0" }, { ipAddress: "::/0" }]});createNotification({- text: "Automatically enabled token authentication for this identity.",- type: "info"+ text: "Token authentication has been automatically enabled for the selected identity. By default, it is configured to allow all IP addresses with a default token TTL of 30 days. You can manage these settings in Access Control.",+ type: "warning"});}const token = await createToken({identityId: validatedIdentity.id,- name: "relay token (autogenerated)"+ name: `relay token for ${name} (autogenerated)`});setIdentityToken(token.accessToken);createNotification({- text: "Automatically generated a token for this identity.",+ text: "Automatically generated a token for the selected identity.",type: "info"});setStep("command");} catch (err) {console.error(err);createNotification({- text: "Failed to generate token for identity",+ text: "Failed to generate token for the selected identity",type: "error"});setIdentityToken("");diff --git a/frontend/src/pages/organization/NetworkingPage/components/RelayTab/components/RelayDeploymentMethodSelect.tsx b/frontend/src/pages/organization/NetworkingPage/components/RelayTab/components/RelayDeploymentMethodSelect.tsxindex cb21499e41..b4a7b7d58a 100644--- a/frontend/src/pages/organization/NetworkingPage/components/RelayTab/components/RelayDeploymentMethodSelect.tsx+++ b/frontend/src/pages/organization/NetworkingPage/components/RelayTab/components/RelayDeploymentMethodSelect.tsx@@ -27,21 +27,19 @@ export const RelayDeploymentMethodSelect = ({ onSelect }: Props) => {return (<div className="grid h-118 grid-cols-4 content-start gap-2">{deploymentOptions.map((option) => {- const { image, name } = option;+ const { image, name, method } = option;return (<button+ key={method}type="button"- onClick={() => handleResourceSelect(option.method)}+ onClick={() => handleResourceSelect(method)}className="group relative flex h-28 cursor-pointer flex-col items-center justify-center rounded-md border border-mineshaft-600 bg-mineshaft-700 p-4 duration-200 hover:bg-mineshaft-600"><div className="relative"><imgsrc={`/images/integrations/${image}`}- style={{- width: "50px"- }}- className="mt-auto"+ className="mt-auto w-12"alt={`${name} logo`}/></div>