Skip to content

Return definitions in WorkItems::Type#widgets

Heinrich Lee Yu requested to merge 463219-refactor-work-item-widgets into master

What does this MR do and why?

Refactor WorkItems::Type#widgets so that widget definitions are returned instead of widget classes. This is needed to support configuration options in widget definitions.

We will need the definition instance to return config options related to the work item type and widget.

This is extracted from !157867

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #463219

Edited by Heinrich Lee Yu

Merge request reports