Function: registerProjectOverviewSection()
function registerProjectOverviewSection(projectOverviewSection: ProjectOverviewSection): void;
Defined in: plugin/registry.tsx:1255
Register a new section in the project overview page.
This allows plugins to add custom sections to the project overview, providing additional information or functionality on the main project page.
Parameters
| Parameter | Type | Description |
|---|---|---|
projectOverviewSection | ProjectOverviewSection | The section configuration to register |
Returns
void
void
Example
registerProjectOverviewSection({
id: 'resource-usage',
component: ({ project }) => <ResourceUsageChart project={project} />,
isEnabled: async ({ project }) => project.clusters.length > 1,
});