Skip to content

Add pluggable overview/detail page sections for event definitions#26239

Open
dennisoelkers wants to merge 2 commits into
masterfrom
feature/edta-event-def-suggestions
Open

Add pluggable overview/detail page sections for event definitions#26239
dennisoelkers wants to merge 2 commits into
masterfrom
feature/edta-event-def-suggestions

Conversation

@dennisoelkers

@dennisoelkers dennisoelkers commented Jun 5, 2026

Copy link
Copy Markdown
Member

Description

Introduces two new plugin extension points that let plugins render custom sections on the event definitions overview and detail pages:

  • eventDefinitions.components.overviewPageSections — components rendered above the event definitions table on the overview page.
  • eventDefinitions.components.detailPageSections — components rendered on the event definition detail page, each receiving the current eventDefinition as a prop.

Both entity types support an optional order field so registered sections render in a predictable sequence. Rendering is wired up via the new useEventDefinitionOverviewSections and useEventDefinitionDetailSections hooks in EventDefinitionsContainer and ViewEventDefinitionPage respectively.

/nocl WIP feature

Motivation and Context

Plugins need a way to augment the event definition overview and detail pages without modifying core components. These extension points provide the hooks for that.

How Has This Been Tested?

Added unit tests for both hooks (useEventDefinitionOverviewSections.test.tsx, useEventDefinitionDetailSections.test.tsx) covering the empty case and ordering behaviour.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have requested a documentation update.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

Introduces the eventDefinitions.components.overviewPageSections and
eventDefinitions.components.detailPageSections plugin entities and renders
the registered components on the event definitions overview and detail
pages. Scope reduced to just these extension points (exclusions feature dropped).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dennisoelkers dennisoelkers force-pushed the feature/edta-event-def-suggestions branch from 3ad5361 to 671b5c5 Compare July 2, 2026 16:16
@dennisoelkers dennisoelkers changed the title Add exclusion rules to event definitions Add pluggable overview/detail page sections for event definitions Jul 2, 2026
@dennisoelkers dennisoelkers marked this pull request as ready for review July 2, 2026 16:19
@dennisoelkers dennisoelkers requested a review from monrax July 2, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant