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

Function pluginPageNavPath

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

Source from the content-addressed store, hash-verified

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

Callers 1

SidebarContentFunction · 0.85

Calls 1

normalizePluginPagePathFunction · 0.85

Tested by

no test coverage detected