MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / pluginPageNavPath

Function pluginPageNavPath

packages/react/src/multiplayer/shell.tsx:81–84  ·  view source on GitHub ↗
(pluginId: string, path: string)

Source from the content-addressed store, hash-verified

79};
80
81const pluginPageNavPath = (pluginId: string, path: string): string => {
82 const normalized = normalizePluginPagePath(path);
83 return normalized === "/" ? `/plugins/${pluginId}/` : `/plugins/${pluginId}${normalized}`;
84};
85
86/** The pathname with the active org-slug prefix stripped, for active-state
87 * comparisons against scope-relative paths. */

Callers 1

SidebarContentFunction · 0.85

Calls 1

normalizePluginPagePathFunction · 0.85

Tested by

no test coverage detected