Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

improvement(ui): add a v3 row-link primitive and port existing link rows (#8918)

Andrew Huang5c13a7ad8de9
diff --git a/frontend/AGENTS.md b/frontend/AGENTS.md
index b1db5dfe2d..39782a3405 100644
--- a/frontend/AGENTS.md
+++ b/frontend/AGENTS.md
@@ -37,6 +37,7 @@ Middleware pages in `src/pages/middlewares/`: `authenticate.tsx` (auth guard + r
- **`src/pages/`** — Route-level components organized by product feature (secret-manager, cert-manager, kms, pam, secret-scanning, organization, project, admin, auth). Each has `route.tsx` + page component + local `components/`.
- **`src/views/`** — Reusable page-level UI composed into multiple pages. Pages import views with configuration props.
- **`src/components/v3/`** — Latest shared UI component library (preferred). Contains `generic/` (Accordion, Alert, Button, Dialog, Select, Table, etc.) and `platform/` (domain-specific components such as `PageHeader`, scope icons, `ProjectPermissionSubjects`, and `SecretManagerResources`). **Always use v3 components.** The v2 library has been removed. Policy group tiles look up `getProjectPermissionSubjectPresentation`. Secret Manager overview resources (name/slug/icon/color) come from `SecretManagerResources`, which points at that subject catalog.
+- **Navigable rows and cards** — A table row, card or command item that opens a page is a real link, so cmd/ctrl+click, middle-click and "Open link in new tab" work: set `linked` on `TableRow` or `Card` and put a `RowLink` in the main cell (`CommandItemLink` inside a `CommandItem`). Never navigate from a row's `onClick`. Controls inside a linked row are lifted above the link automatically; mark a non-interactive tooltip anchor (a badge) with `data-row-interactive`. Certificate Manager and Secret Scanning URLs have no project id, so links into a specific instance go through `getInstancePinningLink` (`helpers/project.ts`), whose legacy URL redirect pins the instance in the new tab.
### API Layer (React Query + Axios)
diff --git a/frontend/src/components/COMPONENT_LIFECYCLE.md b/frontend/src/components/COMPONENT_LIFECYCLE.md
index 08108436fe..bf73e236c2 100644
--- a/frontend/src/components/COMPONENT_LIFECYCLE.md
+++ b/frontend/src/components/COMPONENT_LIFECYCLE.md
@@ -17,6 +17,7 @@ Earlier removals: `ConfirmActionModal`, `DeleteActionModal`, `HoverCardv2`, `Sec
| Components | Status | Direction |
| ------------------------------ | ---------- | --------------------------------------------------------------------- |
| `PageHeader` | Supported | Owns the normal 40px bottom boundary (`mb-10`). Remove header-boundary parent gaps and redundant caller margins when adopting it; preserve independent body/card spacing in body containers. `className` supports intentional compact/responsive boundaries. See its spacing stories. |
+| `TableRow linked`, `Card linked`, `RowLink`, `CommandItemLink` | Supported | The way to make a row, card or command item navigate. `linked` positions the container and lifts its controls above the `RowLink` overlay, so cmd/ctrl+click, middle-click and "Open link in new tab" work without per-control `relative z-10`. Don't navigate from a row's `onClick`. For Certificate Manager and Secret Scanning destinations, build the link with `getInstancePinningLink` (`helpers/project.ts`) so a new tab opens the right instance. Move rows that still navigate from `onClick` onto it when you touch them. See the Table "Linked Rows" story. |
| `ReactSelect/FilterableSelect`, `ReactSelect/CreatableSelect` | Removed | Deleted the compatibility directory and its `generic/index.ts` export. No consumers remained at `e434f2fdfdd608f97cd4041af84062991d2645cf`. Use `Combobox`, with inline `creation` for values needing no metadata or dialog `creation` for caller-owned forms and persistence. |
## Updating the ledger
diff --git a/frontend/src/components/v3/generic/Card/Card.tsx b/frontend/src/components/v3/generic/Card/Card.tsx
index a36d8d1e42..2cfbab95bd 100644
--- a/frontend/src/components/v3/generic/Card/Card.tsx
+++ b/frontend/src/components/v3/generic/Card/Card.tsx
@@ -1,13 +1,15 @@
import * as React from "react";
import { cn } from "../../utils";
+import { rowLinkContainerClassName } from "../RowLink";
-function Card({ className, ...props }: React.ComponentProps<"div">) {
+function Card({ className, linked, ...props }: React.ComponentProps<"div"> & { linked?: boolean }) {
return (
<div
data-slot="card"
className={cn(
"flex h-fit flex-col gap-5 rounded-card border border-border bg-card p-5 text-foreground shadow-xs",
+ linked && rowLinkContainerClassName,
className
)}
{...props}
diff --git a/frontend/src/components/v3/generic/Command/Command.tsx b/frontend/src/components/v3/generic/Command/Command.tsx
index 543db7853f..98bcf6823f 100644
--- a/frontend/src/components/v3/generic/Command/Command.tsx
+++ b/frontend/src/components/v3/generic/Command/Command.tsx
@@ -1,9 +1,11 @@
import * as React from "react";
+import { createLink } from "@tanstack/react-router";
import { Command as CommandPrimitive } from "cmdk";
import { SearchIcon } from "lucide-react";
import { cn } from "../../utils";
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "../Dialog";
+import { rowLinkClassName } from "../RowLink";
function Command({
className,
@@ -167,6 +169,43 @@ function CommandItem({ className, ...props }: React.ComponentProps<typeof Comman
);
}
+// A CommandItem's href, for new tabs, copy link and the status bar preview. cmdk still owns
+// activation through onSelect, so a plain primary click skips the anchor's own navigation and
+// bubbles to cmdk, while a modified or middle click stays away from cmdk so the current tab keeps
+// its place. Pass onFocus to sync cmdk's selected value: cmdk resolves Enter against the row it
+// marks selected, not the focused element.
+const CommandItemAnchor = React.forwardRef<HTMLAnchorElement, React.ComponentProps<"a">>(
+ ({ className, onClick, href, children, ...props }, ref) => (
+ <a
+ ref={ref}
+ href={href}
+ data-row-link
+ className={cn(rowLinkClassName, "rounded-sm text-sm after:rounded-sm", className)}
+ onClick={(event) => {
+ if (
+ event.metaKey ||
+ event.ctrlKey ||
+ event.shiftKey ||
+ event.altKey ||
+ event.button !== 0
+ ) {
+ event.stopPropagation();
+ } else {
+ event.preventDefault();
+ }
+ onClick?.(event);
+ }}
+ {...props}
+ >
+ {children}
+ </a>
+ )
+);
+
+CommandItemAnchor.displayName = "CommandItemAnchor";
+
+const CommandItemLink = createLink(CommandItemAnchor);
+
function CommandShortcut({ className, ...props }: React.ComponentProps<"span">) {
return (
<span
@@ -184,6 +223,7 @@ export {
CommandGroup,
CommandInput,
CommandItem,
+ CommandItemLink,
CommandList,
CommandSeparator,
CommandShortcut
diff --git a/frontend/src/components/v3/generic/RowLink/RowLink.tsx b/frontend/src/components/v3/generic/RowLink/RowLink.tsx
new file mode 100644
index 0000000000..69a767613e
--- /dev/null
+++ b/frontend/src/components/v3/generic/RowLink/RowLink.tsx
@@ -0,0 +1,39 @@
+import * as React from "react";
+import { createLink } from "@tanstack/react-router";
+
+import { cn } from "@app/components/v3/utils";
+
+// Applied by `linked` on TableRow and Card. The container positions the RowLink overlay, and
+// every control inside it is lifted above that overlay so it keeps its own click instead of
+// opening the row. A non-interactive tooltip anchor (a span badge) opts in with
+// data-row-interactive. Absolutely positioned controls are skipped so they keep their layout.
+const rowLinkContainerClassName = cn(
+ "group relative cursor-pointer",
+ "[&_:is(button,input,select,textarea,a:not([data-row-link]),[role=checkbox],[role=combobox],[data-slot=tooltip-trigger],[data-row-interactive]):not(.absolute,.fixed)]:relative",
+ "[&_:is(button,input,select,textarea,a:not([data-row-link]),[role=checkbox],[role=combobox],[data-slot=tooltip-trigger],[data-row-interactive]):not(.absolute,.fixed)]:z-10",
+ "[&>td[data-variant=action]]:relative [&>td[data-variant=action]]:z-10"
+);
+
+const rowLinkClassName =
+ "block truncate outline-0 after:absolute after:inset-0 after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring";
+
+type RowLinkAnchorProps = React.ComponentProps<"a"> & { disabled?: boolean };
+
+const RowLinkAnchor = React.forwardRef<HTMLAnchorElement, RowLinkAnchorProps>(
+ ({ className, disabled, children, ...props }, ref) => {
+ if (disabled) {
+ return <span className={cn("block truncate", className)}>{children}</span>;
+ }
+ return (
+ <a ref={ref} data-row-link className={cn(rowLinkClassName, className)} {...props}>
+ {children}
+ </a>
+ );
+ }
+);
+
+RowLinkAnchor.displayName = "RowLinkAnchor";
+
+const RowLink = createLink(RowLinkAnchor);
+
+export { RowLink, rowLinkClassName, rowLinkContainerClassName };
diff --git a/frontend/src/components/v3/generic/RowLink/index.ts b/frontend/src/components/v3/generic/RowLink/index.ts
new file mode 100644
index 0000000000..e7dbf884d1
--- /dev/null
+++ b/frontend/src/components/v3/generic/RowLink/index.ts
@@ -0,0 +1 @@
+export * from "./RowLink";
diff --git a/frontend/src/components/v3/generic/Table/Table.stories.tsx b/frontend/src/components/v3/generic/Table/Table.stories.tsx
index 01506e5f8b..f50d46d759 100644
--- a/frontend/src/components/v3/generic/Table/Table.stories.tsx
+++ b/frontend/src/components/v3/generic/Table/Table.stories.tsx
@@ -18,7 +18,8 @@ import {
DropdownMenuItem,
DropdownMenuTrigger,
IconButton,
- Pagination
+ Pagination,
+ RowLink
} from "@app/components/v3/generic";
import { cn } from "../../utils";
@@ -685,6 +686,56 @@ export const WithActions: Story = {
)
};
+export const LinkedRows: Story = {
+ name: "Example: Linked Rows",
+ parameters: {
+ docs: {
+ description: {
+ story:
+ "For rows that open a detail page, set `linked` on the row and render a `RowLink` in its main cell. The link's overlay covers the row, so a plain click, cmd/ctrl+click, middle-click and right-click \"Open link in new tab\" all work. Buttons, inputs, selects, checkboxes, other links, tooltip triggers and `variant=action` cells are lifted above the overlay automatically; mark any other control (a badge used as a tooltip anchor) with `data-row-interactive`. `RowLink disabled` renders plain text for rows the user cannot open (the last row here); leave `linked` off for that row too. To keep a whole cell clickable for its own controls, including the padding around them, put `data-row-interactive` on the cell. `Card` takes the same `linked` prop, and `CommandItemLink` covers `CommandItem` rows. Never navigate from a row's `onClick`."
+ }
+ }
+ },
+ render: () => (
+ <Table>
+ <TableHeader>
+ <TableRow>
+ <TableHead>Name</TableHead>
+ <TableHead>Role</TableHead>
+ <TableHead variant="action" />
+ </TableRow>
+ </TableHeader>
+ <TableBody>
+ {identities.slice(0, 4).map((id, index) => (
+ <TableRow key={id.name} linked={index !== 3}>
+ <TableCell isTruncatable>
+ <RowLink to="." disabled={index === 3}>
+ {id.name}
+ </RowLink>
+ </TableCell>
+ <TableCell>{id.role}</TableCell>
+ <TableCell variant="action">
+ <DropdownMenu>
+ <DropdownMenuTrigger asChild>
+ <IconButton variant="ghost" size="xs" aria-label={`${id.name} actions`}>
+ <MoreHorizontalIcon />
+ </IconButton>
+ </DropdownMenuTrigger>
+ <DropdownMenuContent align="end" className="w-36">
+ <DropdownMenuItem>
+ <CopyIcon />
+ Copy ID
+ </DropdownMenuItem>
+ </DropdownMenuContent>
+ </DropdownMenu>
+ </TableCell>
+ </TableRow>
+ ))}
+ </TableBody>
+ </Table>
+ )
+};
+
function PaginationRender() {
const [page, setPage] = useState(1);
const [perPage, setPerPage] = useState(10);
diff --git a/frontend/src/components/v3/generic/Table/Table.tsx b/frontend/src/components/v3/generic/Table/Table.tsx
index b5fb3da124..424fab6ad8 100644
--- a/frontend/src/components/v3/generic/Table/Table.tsx
+++ b/frontend/src/components/v3/generic/Table/Table.tsx
@@ -3,6 +3,7 @@ import { useVirtualizer } from "@tanstack/react-virtual";
import { cn } from "@app/components/v3/utils";
+import { rowLinkContainerClassName } from "../RowLink";
import { Skeleton } from "../Skeleton";
const Table = React.forwardRef<
@@ -150,22 +151,24 @@ function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">) {
);
}
-const TableRow = React.forwardRef<HTMLTableRowElement, React.ComponentProps<"tr">>(
- ({ className, ...props }, ref) => {
- return (
- <tr
- ref={ref}
- data-slot="table-row"
- className={cn(
- "border-b border-border transition-colors duration-75 hover:bg-container-hover data-[state=selected]:bg-container-hover",
- props.onClick && "cursor-pointer select-none",
- className
- )}
- {...props}
- />
- );
- }
-);
+const TableRow = React.forwardRef<
+ HTMLTableRowElement,
+ React.ComponentProps<"tr"> & { linked?: boolean }
+>(({ className, linked, ...props }, ref) => {
+ return (
+ <tr
+ ref={ref}
+ data-slot="table-row"
+ className={cn(
+ "border-b border-border transition-colors duration-75 hover:bg-container-hover data-[state=selected]:bg-container-hover",
+ props.onClick && "cursor-pointer select-none",
+ linked && rowLinkContainerClassName,
+ className
+ )}
+ {...props}
+ />
+ );
+});
TableRow.displayName = "TableRow";
diff --git a/frontend/src/components/v3/generic/index.ts b/frontend/src/components/v3/generic/index.ts
index 82b5a291a1..d7fa050ce3 100644
--- a/frontend/src/components/v3/generic/index.ts
+++ b/frontend/src/components/v3/generic/index.ts
@@ -35,6 +35,7 @@ export * from "./Loader";
export * from "./Pagination";
export * from "./Popover";
export * from "./RadioGroup";
+export * from "./RowLink";
export * from "./ScrollableContent";
export * from "./Select";
export * from "./SelectedActionBar";
diff --git a/frontend/src/components/v3/platform/IdentityRoleBadges/IdentityRoleBadges.tsx b/frontend/src/components/v3/platform/IdentityRoleBadges/IdentityRoleBadges.tsx
index f7d9ec981d..71660746b7 100644
--- a/frontend/src/components/v3/platform/IdentityRoleBadges/IdentityRoleBadges.tsx
+++ b/frontend/src/components/v3/platform/IdentityRoleBadges/IdentityRoleBadges.tsx
@@ -58,7 +58,7 @@ const RoleBadge = ({ role, className }: { role: TIdentityRoleBadge; className?:
return (
<Tooltip>
- <TooltipTrigger asChild className="relative z-10">
+ <TooltipTrigger asChild data-row-interactive>
{badge}
</TooltipTrigger>
<TooltipContent className="flex flex-col gap-0.5">
@@ -91,7 +91,7 @@ export const IdentityRoleBadges = ({
{overflow.length > 0 && (
<Popover>
<Tooltip>
- <TooltipTrigger className="relative z-10 flex h-4 items-center">
+ <TooltipTrigger className="flex h-4 items-center">
<PopoverTrigger asChild>
<Badge variant="neutral" asChild>
<button type="button" onClick={(e) => e.stopPropagation()}>
diff --git a/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ApplicationSelect.tsx b/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ApplicationSelect.tsx
index f1184d12e4..d70d5450fd 100644
--- a/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ApplicationSelect.tsx
+++ b/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ApplicationSelect.tsx
@@ -9,6 +9,7 @@ import {
CommandGroup,
CommandInput,
CommandItem,
+ CommandItemLink,
CommandList,
ResourceIcon
} from "@app/components/v3";
@@ -21,23 +22,6 @@ import {
NavbarSwitcherTrigger
} from "@app/layouts/NavbarSwitcher";
-// Modified and middle clicks belong to the browser: it opens the row's href in a new tab
-// or window, so we neither preventDefault nor navigate programmatically on those paths.
-const isBrowserHandledClick = (event: React.MouseEvent) =>
- event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || event.button !== 0;
-
-// The row's anchor exists for its href (new-tab, copy link, status bar preview) while cmdk
-// owns activation via onSelect. A plain primary click therefore suppresses the anchor's own
-// navigation and bubbles up to cmdk; a browser-handled click is kept away from cmdk instead,
-// so the current tab stays put while the new one opens.
-const handleRowAnchorClick = (event: React.MouseEvent) => {
- if (isBrowserHandledClick(event)) {
- event.stopPropagation();
- return;
- }
- event.preventDefault();
-};
-
const ApplicationSelectInner = ({
applicationName,
orgId
@@ -114,16 +98,14 @@ const ApplicationSelectInner = ({
row it has marked aria-selected, never against the focused element, so
without this onFocus a tabbed-to row would activate whichever row the
arrow keys last selected and switch the user to the wrong application. */}
- <Link
+ <CommandItemLink
to={
`/organizations/${orgId}/cert-manager/applications/${app.name}` as never
}
- className="truncate rounded-sm text-sm outline-0 after:absolute after:inset-0 after:rounded-sm after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
onFocus={() => setSelectedValue(app.name)}
- onClick={handleRowAnchorClick}
>
{app.name}
- </Link>
+ </CommandItemLink>
<span className="truncate text-[11px] text-muted">
{app.description || "No description"}
</span>
diff --git a/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx b/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx
index 88046bd8cf..a54fb57815 100644
--- a/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx
+++ b/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx
@@ -12,6 +12,7 @@ import {
CommandGroup,
CommandInput,
CommandItem,
+ CommandItemLink,
CommandList,
IconButton,
ProjectIcon
@@ -37,23 +38,6 @@ import {
NavbarSwitcherTrigger
} from "@app/layouts/NavbarSwitcher";
-// Modified and middle clicks belong to the browser: it opens the row's href in a new tab
-// or window, so we neither preventDefault nor navigate programmatically on those paths.
-const isBrowserHandledClick = (event: React.MouseEvent) =>
- event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || event.button !== 0;
-
-// The row's anchor exists for its href (new-tab, copy link, status bar preview) while cmdk
-// owns activation via onSelect. A plain primary click therefore suppresses the anchor's own
-// navigation and bubbles up to cmdk; a browser-handled click is kept away from cmdk instead,
-// so the current tab stays put while the new one opens.
-const handleRowAnchorClick = (event: React.MouseEvent) => {
- if (isBrowserHandledClick(event)) {
- event.stopPropagation();
- return;
- }
- event.preventDefault();
-};
-
const ProjectSelectInner = () => {
const [open, setOpen] = useState(false);
const [selectedValue, setSelectedValue] = useState("");
@@ -186,18 +170,16 @@ const ProjectSelectInner = () => {
row it has marked aria-selected, never against the focused element, so
without this onFocus a tabbed-to row would activate whichever row the
arrow keys last selected and switch the user to the wrong project. */}
- <Link
+ <CommandItemLink
to={getProjectHomePage(workspace.type, workspace.environments)}
params={{
projectId: workspace.id,
orgId: workspace.orgId
}}
- className="truncate rounded-sm text-sm outline-0 after:absolute after:inset-0 after:rounded-sm after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
onFocus={() => setSelectedValue(workspace.id)}
- onClick={handleRowAnchorClick}
>
{workspace.name}
- </Link>
+ </CommandItemLink>
<span className="truncate text-[11px] text-muted">
{workspace.description || "No description"}
</span>
diff --git a/frontend/src/pages/organization/AccessManagementPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsTable.tsx b/frontend/src/pages/organization/AccessManagementPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsTable.tsx
index 8118172f6d..518b3ec442 100644
--- a/frontend/src/pages/organization/AccessManagementPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsTable.tsx
+++ b/frontend/src/pages/organization/AccessManagementPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsTable.tsx
@@ -1,5 +1,5 @@
import { useCallback, useState } from "react";
-import { Link, useNavigate } from "@tanstack/react-router";
+import { useNavigate } from "@tanstack/react-router";
import {
ChevronDownIcon,
CopyIcon,
@@ -32,6 +32,7 @@ import {
InputGroupInput,
OrgIcon,
Pagination,
+ RowLink,
Select,
SelectContent,
SelectItem,
@@ -310,15 +311,14 @@ export const OrgGroupsTable = ({ handlePopUpOpen }: Props) => {
const isLinkedGroup = currentOrg ? groupOrgId !== currentOrg.id : false;
const isManagedBySubOrg = currentOrg ? groupOrgId === currentOrg.id : false;
return (
- <TableRow key={`org-group-${id}`} className="relative cursor-pointer">
+ <TableRow key={`org-group-${id}`} linked>
<TableCell isTruncatable>
- <Link
+ <RowLink
to="/organizations/$orgId/groups/$groupId"
params={{ orgId, groupId: id }}
- className="block truncate outline-0 after:absolute after:inset-0 after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
>
{name}
- </Link>
+ </RowLink>
</TableCell>
<TableCell isTruncatable>{slug}</TableCell>
<TableCell>
@@ -339,7 +339,7 @@ export const OrgGroupsTable = ({ handlePopUpOpen }: Props) => {
>
<SelectTrigger
size="sm"
- className="relative z-10 w-full max-w-32 lg:max-w-64"
+ className="w-full max-w-32 lg:max-w-64"
onClick={(e) => e.stopPropagation()}
>
<SelectValue />
@@ -372,7 +372,7 @@ export const OrgGroupsTable = ({ handlePopUpOpen }: Props) => {
</Badge>
</TableCell>
)}
- <TableCell variant="action" className="relative z-10">
+ <TableCell variant="action">
<DropdownMenu>
<DropdownMenuTrigger asChild>
<IconButton
diff --git a/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityTable.tsx b/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityTable.tsx
index c13b2cb7d8..6ad3703dab 100644
--- a/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityTable.tsx
+++ b/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityTable.tsx
@@ -1,5 +1,5 @@
import { useState } from "react";
-import { Link, useNavigate } from "@tanstack/react-router";
+import { useNavigate } from "@tanstack/react-router";
import { formatDistanceToNow } from "date-fns";
import {
ChevronDownIcon,
@@ -35,6 +35,7 @@ import {
OrgIcon,
Pagination,
ProjectIcon,
+ RowLink,
Skeleton,
SubOrgIcon,
Table,
@@ -195,7 +196,7 @@ const LastUsedCell = ({ lastLoginAuthMethod, lastLoginTime }: LastUsedCellProps)
return (
<Tooltip>
<TooltipTrigger asChild>
- <span className="relative z-10 cursor-default text-sm text-foreground/80">{label}</span>
+ <span className="cursor-default text-sm text-foreground/80">{label}</span>
</TooltipTrigger>
<TooltipContent className="max-w-96 min-w-52">
<LastLoginSection
@@ -409,14 +410,9 @@ const IdentityRow = ({ membership, onDelete, onManageAuth, onAddAuthMethod }: Id
} as const);
return (
- <TableRow className="relative cursor-pointer">
+ <TableRow linked>
<TableCell isTruncatable>
- <Link
- {...identityLink}
- className="block truncate outline-0 after:absolute after:inset-0 after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
- >
- {name}
- </Link>
+ <RowLink {...identityLink}>{name}</RowLink>
</TableCell>
<TableCell>
<IdentityRoleBadges roles={membershipRoles ?? []} />
@@ -432,7 +428,7 @@ const IdentityRow = ({ membership, onDelete, onManageAuth, onAddAuthMethod }: Id
<TableCell>
<LastUsedCell lastLoginAuthMethod={lastLoginAuthMethod} lastLoginTime={lastLoginTime} />
</TableCell>
- <TableCell variant="action" className="relative z-10">
+ <TableCell variant="action">
<div className="flex items-center justify-end gap-2">
{(activeLockoutAuthMethods?.length ?? 0) > 0 && (
<Tooltip>
diff --git a/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/GroupAccessPopover.tsx b/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/GroupAccessPopover.tsx
index 0bdc18fc72..8817d31824 100644
--- a/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/GroupAccessPopover.tsx
+++ b/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/GroupAccessPopover.tsx
@@ -94,7 +94,7 @@ export const GroupAccessPopover = ({
variant="ghost"
size="sm"
aria-label="Show groups granting access"
- className="relative z-10 -mx-2.5"
+ className="-mx-2.5"
onClick={(e) => e.stopPropagation()}
>
<UsersIcon className="text-muted" />
diff --git a/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/OrgMembersTable.tsx b/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/OrgMembersTable.tsx
index ce38f72250..63184f5a7e 100644
--- a/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/OrgMembersTable.tsx
+++ b/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/OrgMembersTable.tsx
@@ -1,5 +1,5 @@
import { Dispatch, SetStateAction, useCallback, useMemo, useState } from "react";
-import { Link, useNavigate } from "@tanstack/react-router";
+import { useNavigate } from "@tanstack/react-router";
import {
ChevronDownIcon,
FilterIcon,
@@ -37,6 +37,7 @@ import {
InputGroupAddon,
InputGroupInput,
Pagination,
+ RowLink,
Select,
SelectContent,
SelectItem,
@@ -530,9 +531,10 @@ export const OrgMembersTable = ({
return (
<TableRow
key={membership ? `org-membership-${membership.id}` : `org-user-${u.id}`}
- className={twMerge("group relative", membership && "cursor-pointer")}
+ linked={Boolean(membership)}
+ className="group"
>
- <TableCell className="relative z-10">
+ <TableCell data-row-interactive>
{membership ? (
<Checkbox
id={`select-member-${membership.id}`}
@@ -571,7 +573,7 @@ export const OrgMembersTable = ({
</p>
{u.superAdmin && (
<Tooltip>
- <TooltipTrigger asChild className="relative z-10">
+ <TooltipTrigger asChild data-row-interactive>
<Badge variant="info">
<UserCogIcon />
<span className="hidden 2xl:inline">Server Admin</span>
@@ -582,7 +584,7 @@ export const OrgMembersTable = ({
)}
{membership?.lastLoginAuthMethod && membership.lastLoginTime && (
<Tooltip>
- <TooltipTrigger className="relative z-10">
+ <TooltipTrigger>
<InfoIcon className="size-3.5 text-muted opacity-0 transition-all group-hover:opacity-100" />
</TooltipTrigger>
<TooltipContent className="max-w-96 min-w-52 px-3">
@@ -597,13 +599,12 @@ export const OrgMembersTable = ({
</TableCell>
<TableCell isTruncatable className={twMerge(!isActive && "text-muted")}>
{membership ? (
- <Link
+ <RowLink
to="/organizations/$orgId/members/$membershipId"
params={{ membershipId: membership.id, orgId }}
- className="block truncate outline-0 after:absolute after:inset-0 after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
>
{username}
- </Link>
+ </RowLink>
) : (
<p className="truncate">{username}</p>
)}
@@ -646,7 +647,7 @@ export const OrgMembersTable = ({
>
<SelectTrigger
size="sm"
- className="relative z-10 w-full max-w-32 lg:max-w-64"
+ className="w-full max-w-32 lg:max-w-64"
onClick={(e) => e.stopPropagation()}
>
<SelectValue />
@@ -671,7 +672,7 @@ export const OrgMembersTable = ({
<span className="text-muted">No direct access</span>
)}
</TableCell>
- <TableCell variant="action" className="relative z-10">
+ <TableCell variant="action">
<div className="flex items-center justify-end gap-6">
{membership &&
isActive &&
diff --git a/frontend/src/pages/organization/AccessManagementPage/components/OrgRoleTabSection/OrgRoleTable.tsx b/frontend/src/pages/organization/AccessManagementPage/components/OrgRoleTabSection/OrgRoleTable.tsx
index d819b47e41..3e8cb0a6d9 100644
--- a/frontend/src/pages/organization/AccessManagementPage/components/OrgRoleTabSection/OrgRoleTable.tsx
+++ b/frontend/src/pages/organization/AccessManagementPage/components/OrgRoleTabSection/OrgRoleTable.tsx
@@ -1,5 +1,5 @@
import { useMemo } from "react";
-import { Link, useNavigate } from "@tanstack/react-router";
+import { useNavigate } from "@tanstack/react-router";
import {
ChevronDownIcon,
CopyIcon,
@@ -42,6 +42,7 @@ import {
InputGroupAddon,
InputGroupInput,
Pagination,
+ RowLink,
Skeleton,
Table,
TableBody,
@@ -321,19 +322,18 @@ export const OrgRoleTable = () => {
? id === currentOrg?.defaultMembershipRole
: slug === currentOrg?.defaultMembershipRole;
return (
- <TableRow key={`role-list-${id}`} className="relative cursor-pointer">
+ <TableRow key={`role-list-${id}`} linked>
<TableCell isTruncatable>
<div className="flex gap-x-1.5">
- <Link
+ <RowLink
to="/organizations/$orgId/roles/$roleId"
params={{ roleId: id, orgId }}
- className="truncate outline-0 after:absolute after:inset-0 after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
>
{name}
- </Link>
+ </RowLink>
{isDefaultOrgRole && (
<Tooltip>
- <TooltipTrigger asChild className="relative z-10">
+ <TooltipTrigger asChild data-row-interactive>
<Badge variant="info">Default</Badge>
</TooltipTrigger>
<TooltipContent>
@@ -360,7 +360,7 @@ export const OrgRoleTable = () => {
)}
</Badge>
</TableCell>
- <TableCell variant="action" className="relative z-10">
+ <TableCell variant="action">
<DropdownMenu>
<DropdownMenuTrigger asChild>
<IconButton
diff --git a/frontend/src/pages/organization/ProjectsPage/ProjectTypePage/ProjectTypePage.tsx b/frontend/src/pages/organization/ProjectsPage/ProjectTypePage/ProjectTypePage.tsx
index cb213e4440..74c23e8d63 100644
--- a/frontend/src/pages/organization/ProjectsPage/ProjectTypePage/ProjectTypePage.tsx
+++ b/frontend/src/pages/organization/ProjectsPage/ProjectTypePage/ProjectTypePage.tsx
@@ -54,6 +54,7 @@ import {
IconButton,
PageHeader,
Pagination,
+ RowLink,
Skeleton,
Table,
TableBody,
@@ -571,7 +572,8 @@ const MyProjectsForType = ({
return (
<Card
key={workspace.id}
- className={`group relative h-full cursor-pointer transition-all duration-200 ease-out ${tileStyle.cardHoverClassName}`}
+ linked
+ className={`h-full transition-all duration-200 ease-out ${tileStyle.cardHoverClassName}`}
>
<CardHeader>
<div className="flex min-w-0 items-start gap-3">
@@ -583,20 +585,20 @@ const MyProjectsForType = ({
{/* The name is the card's link, so the accessible name comes from visible text
rather than a duplicated label, and its stretched pseudo-element covers the
card. Siblings raised above it (CardAction) stay outside the anchor. */}
- <Link
+ <RowLink
to={getProjectHomePage(workspace.type, workspace.environments)}
params={{ orgId: currentOrg?.id || "", projectId: workspace.id }}
- className="block truncate outline-0 after:absolute after:inset-0 after:rounded-lg after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
+ className="after:rounded-lg"
>
{workspace.name}
- </Link>
+ </RowLink>
</CardTitle>
<p className="truncate text-sm leading-5 text-muted">
{getProjectTitle(workspace.type)}
</p>
</div>
</div>
- <CardAction className="relative z-10">{renderFavoriteButton(workspace)}</CardAction>
+ <CardAction data-row-interactive>{renderFavoriteButton(workspace)}</CardAction>
</CardHeader>
<CardContent className="flex flex-col gap-3">
<p className="line-clamp-2 text-sm leading-relaxed text-accent">
@@ -710,20 +712,19 @@ const MyProjectsForType = ({
{workspacesWithFaveProp.map((workspace) => {
const WorkspaceIcon = getProjectLucideIcon(workspace.type);
return (
- <TableRow key={workspace.id} className="group relative cursor-pointer">
+ <TableRow key={workspace.id} linked>
<TableCell className="w-0">
<div className="inline-flex shrink-0 items-center justify-center rounded-sm border border-border bg-muted/10 p-1 transition-colors group-hover:border-project/20 group-hover:bg-gradient-to-br group-hover:from-project/5 group-hover:to-transparent">
<WorkspaceIcon className="h-3.5 w-3.5 shrink-0 text-accent transition-colors duration-200 group-hover:text-project" />
</div>
</TableCell>
<TableCell isTruncatable>
- <Link
+ <RowLink
to={getProjectHomePage(workspace.type, workspace.environments)}
params={{ orgId: currentOrg?.id || "", projectId: workspace.id }}
- className="block truncate outline-0 after:absolute after:inset-0 after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
>
{workspace.name}
- </Link>
+ </RowLink>
</TableCell>
<TableCell isTruncatable>
{workspace.description || <span className="text-muted">—</span>}
@@ -731,7 +732,7 @@ const MyProjectsForType = ({
<TableCell className="w-0 text-xs whitespace-nowrap">
{format(new Date(workspace.createdAt), "MMM d, yyyy")}
</TableCell>
- <TableCell className="relative z-10 w-0 text-right">
+ <TableCell data-row-interactive className="w-0 text-right">
{renderFavoriteButton(workspace)}
</TableCell>
</TableRow>
@@ -952,29 +953,21 @@ const AllProjectsForType = ({
{searchedProjects?.projects?.map((workspace) => {
const WorkspaceIcon = getProjectLucideIcon(workspace.type);
return (
- <TableRow
- key={workspace.id}
- className={twMerge("group relative", workspace.isMember && "cursor-pointer")}
- >
+ <TableRow key={workspace.id} linked={workspace.isMember} className="group">
<TableCell className="w-0">
<div className="inline-flex shrink-0 items-center justify-center rounded-sm border border-border bg-muted/10 p-1 transition-colors group-hover:border-project/20 group-hover:bg-gradient-to-br group-hover:from-project/5 group-hover:to-transparent">
<WorkspaceIcon className="h-3.5 w-3.5 shrink-0 text-accent transition-colors duration-200 group-hover:text-project" />
</div>
</TableCell>
<TableCell isTruncatable>
- {/* Only members can open the project, so only their rows get the stretched
- anchor; everyone else sees plain text with no navigation. */}
- {workspace.isMember ? (
- <Link
- to={getProjectHomePage(workspace.type, workspace.environments)}
- params={{ orgId: currentOrg?.id || "", projectId: workspace.id }}
- className="block truncate outline-0 after:absolute after:inset-0 after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
- >
- {workspace.name}
- </Link>
- ) : (
- workspace.name
- )}
+ {/* Only members can open the project, so everyone else sees plain text. */}
+ <RowLink
+ to={getProjectHomePage(workspace.type, workspace.environments)}
+ params={{ orgId: currentOrg?.id || "", projectId: workspace.id }}
+ disabled={!workspace.isMember}
+ >
+ {workspace.name}
+ </RowLink>
</TableCell>
<TableCell isTruncatable>
{workspace.description || <span className="text-muted">—</span>}
@@ -982,7 +975,7 @@ const AllProjectsForType = ({
<TableCell className="w-0 text-xs whitespace-nowrap">
{format(new Date(workspace.createdAt), "MMM d, yyyy")}
</TableCell>
- <TableCell className="relative z-10 w-0 pr-3 text-right">
+ <TableCell data-row-interactive className="w-0 pr-3 text-right">
{(() => {
const joinedBadge = (
<DropdownMenu>
diff --git a/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupRoles.tsx b/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupRoles.tsx
index 969c655357..18123c3bc0 100644
--- a/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupRoles.tsx
+++ b/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupRoles.tsx
@@ -465,9 +465,7 @@ export const GroupRoles = ({
</span>
{isTemporary && (
<Tooltip>
- <TooltipTrigger className="relative z-10">
- {isExpired ? <ClockAlertIcon /> : <ClockIcon />}
- </TooltipTrigger>
+ <TooltipTrigger>{isExpired ? <ClockAlertIcon /> : <ClockIcon />}</TooltipTrigger>
<TooltipContent>
{isExpired ? "Expired access" : "Temporary access"}
</TooltipContent>
@@ -479,7 +477,7 @@ export const GroupRoles = ({
{roles.length > MAX_ROLES_TO_BE_SHOWN_IN_TABLE && (
<Popover>
<Tooltip>
- <TooltipTrigger className="relative z-10 flex h-4 items-center">
+ <TooltipTrigger className="flex h-4 items-center">
<PopoverTrigger asChild>
<Badge variant="neutral" asChild>
<button type="button" onClick={(e) => e.stopPropagation()}>
@@ -527,7 +525,6 @@ export const GroupRoles = ({
variant="ghost"
size="xs"
aria-label={`Edit roles for ${groupName}`}
- className="relative z-10"
onClick={(e) => e.stopPropagation()}
>
<EditIcon />
diff --git a/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupsTable.tsx b/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupsTable.tsx
index 586a138945..db21b1925d 100644
--- a/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupsTable.tsx
+++ b/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupsTable.tsx
@@ -1,5 +1,4 @@
import { useMemo } from "react";
-import { Link } from "@tanstack/react-router";
import { format } from "date-fns";
import { ChevronDownIcon, MoreHorizontalIcon, SearchIcon, UserRoundXIcon } from "lucide-react";
import { twMerge } from "tailwind-merge";
@@ -19,6 +18,7 @@ import {
InputGroupAddon,
InputGroupInput,
Pagination,
+ RowLink,
Skeleton,
Table,
TableBody,
@@ -202,9 +202,9 @@ export const GroupTable = ({ handlePopUpOpen }: Props) => {
const isLinkedGroup =
groupOrgId != null && currentOrg != null && groupOrgId !== currentOrg.id;
return (
- <TableRow className="group relative cursor-pointer" key={`st-v3-${id}`}>
+ <TableRow linked key={`st-v3-${id}`}>
<TableCell isTruncatable>
- <Link
+ <RowLink
{...(getInstancePinningLink(
currentOrg.id,
currentProject,
@@ -218,10 +218,9 @@ export const GroupTable = ({ handlePopUpOpen }: Props) => {
groupId: id
}
} as const))}
- className="block truncate outline-0 after:absolute after:inset-0 after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
>
{name}
- </Link>
+ </RowLink>
</TableCell>
<TableCell>
<ProjectPermissionCan
@@ -239,7 +238,7 @@ export const GroupTable = ({ handlePopUpOpen }: Props) => {
</ProjectPermissionCan>
</TableCell>
<TableCell>{format(new Date(createdAt), "MMM d, yyyy")}</TableCell>
- <TableCell className="relative z-10">
+ <TableCell data-row-interactive>
<DropdownMenu>
<DropdownMenuTrigger asChild>
<IconButton
diff --git a/frontend/src/pages/project/AccessControlPage/components/IdentityTab/IdentityTab.tsx b/frontend/src/pages/project/AccessControlPage/components/IdentityTab/IdentityTab.tsx
index c66cc9e30e..a53bd3a3b7 100644
--- a/frontend/src/pages/project/AccessControlPage/components/IdentityTab/IdentityTab.tsx
+++ b/frontend/src/pages/project/AccessControlPage/components/IdentityTab/IdentityTab.tsx
@@ -1,6 +1,5 @@
import { useCallback, useState } from "react";
import { subject } from "@casl/ability";
-import { Link } from "@tanstack/react-router";
import {
ChevronDownIcon,
FilterIcon,
@@ -48,6 +47,7 @@ import {
OrgIcon,
Pagination,
ProjectIcon,
+ RowLink,
Skeleton,
Spinner,
SubOrgIcon,
@@ -382,9 +382,9 @@ export const IdentityTab = withProjectPermission(
roles
} = identityMember;
return (
- <TableRow className="group relative cursor-pointer" key={`st-v3-${id}`}>
+ <TableRow linked key={`st-v3-${id}`}>
<TableCell isTruncatable>
- <Link
+ <RowLink
{...(getInstancePinningLink(
currentOrg.id,
currentProject,
@@ -398,10 +398,9 @@ export const IdentityTab = withProjectPermission(
identityId: id
}
} as const))}
- className="block truncate outline-0 after:absolute after:inset-0 after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
>
{name}
- </Link>
+ </RowLink>
</TableCell>
<TableCell>
<IdentityRoleBadges roles={roles} />
@@ -436,7 +435,7 @@ export const IdentityTab = withProjectPermission(
)}
</Badge>
</TableCell>
- <TableCell className="relative z-10">
+ <TableCell data-row-interactive>
<div className="flex items-center justify-end gap-2">
{(activeLockoutAuthMethods?.length ?? 0) > 0 && (
<Tooltip>
diff --git a/frontend/src/pages/project/AccessControlPage/components/MembersTab/components/MembersTable.tsx b/frontend/src/pages/project/AccessControlPage/components/MembersTab/components/MembersTable.tsx
index 478d50a9fb..05eab5812c 100644
--- a/frontend/src/pages/project/AccessControlPage/components/MembersTab/components/MembersTable.tsx
+++ b/frontend/src/pages/project/AccessControlPage/components/MembersTab/components/MembersTable.tsx
@@ -1,6 +1,5 @@
import { useCallback, useMemo, useState } from "react";
import { subject } from "@casl/ability";
-import { Link } from "@tanstack/react-router";
import {
ChevronDownIcon,
CircleAlertIcon,
@@ -40,6 +39,7 @@ import {
Popover,
PopoverContent,
PopoverTrigger,
+ RowLink,
Skeleton,
Table,
TableBody,
@@ -382,15 +382,12 @@ export const MembersTable = ({ handlePopUpOpen }: Props) => {
const detailKey = isCertManager ? u.id : membershipId;
return (
- <TableRow
- key={`membership-${membershipId}`}
- className="group relative cursor-pointer"
- >
+ <TableRow key={`membership-${membershipId}`} linked>
<TableCell isTruncatable>
{name ?? <span className="text-muted">&mdash;</span>}
</TableCell>
<TableCell isTruncatable>
- <Link
+ <RowLink
{...(getInstancePinningLink(
currentOrg.id,
currentProject,
@@ -405,10 +402,9 @@ export const MembersTable = ({ handlePopUpOpen }: Props) => {
}
} as const))}
aria-label={email ? undefined : (name ?? u.username)}
- className="block truncate outline-0 after:absolute after:inset-0 after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
>
{email}
- </Link>
+ </RowLink>
</TableCell>
<TableCell>
<div className="flex items-center gap-1.5">
@@ -431,7 +427,7 @@ export const MembersTable = ({ handlePopUpOpen }: Props) => {
</span>
{isTemporary && (
<Tooltip>
- <TooltipTrigger className="relative z-10">
+ <TooltipTrigger>
{isExpired ? <ClockAlertIcon /> : <ClockIcon />}
</TooltipTrigger>
<TooltipContent>
@@ -446,7 +442,7 @@ export const MembersTable = ({ handlePopUpOpen }: Props) => {
{roles.length > MAX_ROLES_TO_BE_SHOWN_IN_TABLE && (
<Popover>
<Tooltip>
- <TooltipTrigger className="relative z-10 flex h-4 items-center">
+ <TooltipTrigger className="flex h-4 items-center">
<PopoverTrigger asChild>
<Badge variant="neutral" asChild>
<button type="button" onClick={(e) => e.stopPropagation()}>
@@ -505,7 +501,7 @@ export const MembersTable = ({ handlePopUpOpen }: Props) => {
)}
</div>
</TableCell>
- <TableCell variant="action" className="relative z-10">
+ <TableCell variant="action">
<DropdownMenu>
<Tooltip>
<TooltipTrigger>
diff --git a/frontend/src/pages/project/AccessControlPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx b/frontend/src/pages/project/AccessControlPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
index 0acdfbc159..63537b5f8a 100644
--- a/frontend/src/pages/project/AccessControlPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
+++ b/frontend/src/pages/project/AccessControlPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
@@ -1,5 +1,5 @@
import { useMemo, useState } from "react";
-import { Link, useNavigate } from "@tanstack/react-router";
+import { useNavigate } from "@tanstack/react-router";
import {
ChevronDownIcon,
CopyIcon,
@@ -39,6 +39,7 @@ import {
InputGroupAddon,
InputGroupInput,
Pagination,
+ RowLink,
Skeleton,
Table,
TableBody,
@@ -342,14 +343,9 @@ export const ProjectRoleList = () => {
} as const);
return (
- <TableRow key={`role-list-${id}`} className="relative cursor-pointer">
+ <TableRow key={`role-list-${id}`} linked>
<TableCell isTruncatable>
- <Link
- {...roleLink}
- className="block truncate outline-0 after:absolute after:inset-0 after:content-[''] focus-visible:after:ring-2 focus-visible:after:ring-ring"
- >
- {name}
- </Link>
+ <RowLink {...roleLink}>{name}</RowLink>
</TableCell>
<TableCell isTruncatable>{slug}</TableCell>
<TableCell>
@@ -367,7 +363,7 @@ export const ProjectRoleList = () => {
)}
</Badge>
</TableCell>
- <TableCell variant="action" className="relative z-10">
+ <TableCell variant="action">
<DropdownMenu>
<DropdownMenuTrigger asChild>
<IconButton