Add WorkItem description widget to GraphQL API
What does this MR do and why?
Implements the first widget for work item. Adds widget to the work item type (read only)
Related to #334809 (closed)
How to set up and validate locally
- Run
bundle exec rails console
- Run
Feature.enable(:work_items)
- Execute a GraphQL query like
{
workItem(id: "gid://gitlab/WorkItem/549") {
id
widgets {
type
... on WorkItemWidgetDescription {
markdown
html
}
}
}
}
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Mario Celi