Skip to main content

Function: registerProjectDetailsTab()

function registerProjectDetailsTab(projectDetailsTab: ProjectDetailsTab): void

Register a new tab in the project details view.

This allows plugins to add custom tabs to the project details page, extending the information displayed about a project.

Parameters

ParameterTypeDescription
projectDetailsTabProjectDetailsTabThe tab configuration to register

Returns

void

Example

registerProjectDetailsTab({
id: 'custom-metrics',
label: 'Metrics',
component: ({ project }) => <ProjectMetrics project={project} />
});

Defined in

src/plugin/registry.tsx:1092