Display "None" when a collection is empty
What does this MR do and why?
Display "None" when a collection is empty
In a GLQL rendered table, when a collection, like a list of labels or a list of assignees is empty, display "None" there using the null presenter.
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.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Enable feature flag
:glql_integration
. - In a project, assign yourself some issues.
- Create a wiki page with the following content:
```glql
---
display: table
fields: title, assignees, labels, milestone, epic
---
assignee = none and label = none
```
- Save the page.
- Notice that the assignees and labels column show "None" instead of being empty.
Edited by Himanshu Kapoor