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
feat: sort cloud and framework integrations alphabetically
Afrie Irham9919d3ee6a14
diff --git a/frontend/src/views/IntegrationsPage/components/CloudIntegrationSection/CloudIntegrationSection.tsx b/frontend/src/views/IntegrationsPage/components/CloudIntegrationSection/CloudIntegrationSection.tsxindex 0e927d86ca..4ce1bd083b 100644--- a/frontend/src/views/IntegrationsPage/components/CloudIntegrationSection/CloudIntegrationSection.tsx+++ b/frontend/src/views/IntegrationsPage/components/CloudIntegrationSection/CloudIntegrationSection.tsx@@ -31,6 +31,8 @@ export const CloudIntegrationSection = ({const isEmpty = !isLoading && !cloudIntegrations?.length;+ const sortedCloudIntegrations = cloudIntegrations.sort((a, b) => a.name.localeCompare(b.name));+return (<div><div className="m-4 mt-7 flex max-w-5xl flex-col items-start justify-between px-2 text-xl">@@ -43,7 +45,7 @@ export const CloudIntegrationSection = ({<Skeleton className="h-32" key={`cloud-integration-skeleton-${index + 1}`} />))}{!isLoading &&- cloudIntegrations?.map((cloudIntegration) => (+ sortedCloudIntegrations?.map((cloudIntegration) => (<divonKeyDown={() => null}role="button"diff --git a/frontend/src/views/IntegrationsPage/components/FrameworkIntegrationSection/FrameworkIntegrationSection.tsx b/frontend/src/views/IntegrationsPage/components/FrameworkIntegrationSection/FrameworkIntegrationSection.tsxindex 9b567eaaae..d77b976bc6 100644--- a/frontend/src/views/IntegrationsPage/components/FrameworkIntegrationSection/FrameworkIntegrationSection.tsx+++ b/frontend/src/views/IntegrationsPage/components/FrameworkIntegrationSection/FrameworkIntegrationSection.tsx@@ -12,6 +12,8 @@ type Props = {export const FrameworkIntegrationSection = ({ frameworks }: Props) => {const { t } = useTranslation();+ const sortedFrameworks = frameworks.sort((a, b) => a.name.localeCompare(b.name));+return (<><div className="mx-4 mt-12 mb-4 flex flex-col items-start justify-between px-2 text-xl">@@ -22,7 +24,7 @@ export const FrameworkIntegrationSection = ({ frameworks }: Props) => {className="mx-6 mt-4 grid grid-flow-dense gap-3"style={{ gridTemplateColumns: "repeat(auto-fill, minmax(120px, 1fr))" }}>- {frameworks.map((framework) => (+ {sortedFrameworks.map((framework) => (<akey={`framework-integration-${framework.slug}`}href={framework.docsLink}