MCPcopy Index your code
hub / github.com/coder/coder / openLinkInNewTab

Function openLinkInNewTab

site/src/pages/WorkspacesPage/WorkspacesTable.tsx:321–321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

319
320 const workspacePageLink = `/@${workspace.owner_name}/${workspace.name}`;
321 const openLinkInNewTab = () => window.open(workspacePageLink, "_blank");
322 const { role, hover, ...clickableProps } = useClickableTableRow({
323 onMiddleClick: openLinkInNewTab,
324 onClick: (event) => {

Callers 1

WorkspacesRowFunction · 0.85

Calls 1

openMethod · 0.80

Tested by

no test coverage detected