Convert the "Assignees" feature into a widget
The goal for this is to have a sample widget that's reused across issue types and we can write technical docs for building these widgets.
Possible requirements:
-
On the backend, changing a flag or the contents of the array of widgets should hide this widget from a specific issue type.
This prepares us for custom issue types and this means that everything already depends on the backend for this widget's visibility.
-
Provide hooks that get executed when this widget is added / removed
This is useful when we want to support switching types. So that when an issue is switched into a type that does not have assignees, the "remove" hook must be triggered and vice versa.
This is needed so that we can remove the data when the widget is removed so that the issues don't show up in the issue list when filtering by assignee.
Acceptance Criteria
- Update https://docs.gitlab.com/ee/development/issue_types.html to reflect the current status of issue types, reference architectures for widgets, how to create a new type, and so on.
Availability and Testing
Manual job package-and-qa
will need to be run in the MR to ensure e2e tests do not break.