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
improvement(ui): simplify secret name sort trigger (#8260)
Andrew Huange9f0751de4d0
diff --git a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsxindex 2b09f226a4..0f22c8d865 100644--- a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx+++ b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx@@ -11,7 +11,6 @@ import { AxiosError } from "axios";import {ArrowDownZAIcon,ArrowUpAZIcon,- ArrowUpDownIcon,ChevronDownIcon,ChevronLeftIcon,ChevronRightIcon,@@ -593,8 +592,6 @@ const OverviewPageContent = () => {getSecretSortValue(option.orderBy, option.orderDirection) ===getSecretSortValue(orderBy, orderDirection));- const ActiveSecretSortIcon = activeSecretSort?.Icon ?? ArrowUpDownIcon;-const relevantPendingApprovalsCount = useMemo(() => {// Reviewers see project-wide pending requests (existing behavior).if (canApproveAny) return pendingApprovalsCount;@@ -2885,11 +2882,11 @@ const OverviewPageContent = () => {<DropdownMenuTrigger asChild><buttontype="button"- className="flex h-full w-full cursor-pointer items-center gap-2 px-3 text-left focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none"+ className="flex h-full w-full cursor-pointer items-center justify-between px-3 text-left focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none"aria-label={`Sort secrets. Current order: ${activeSecretSort?.label ?? "Name (A to Z)"}`}><span className="text-foreground">Name</span>- <ActiveSecretSortIcon className="size-3.5 shrink-0 text-foreground" />+ <ChevronDownIcon className="size-3.5 shrink-0 text-muted" /></button></DropdownMenuTrigger><DropdownMenuContent