Work item titles are not rendered in lists when `getWorkItemsSlim` completes
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/224839 changed our FE to render `titleHtml` instead of `title` but only the `getWorkItemsFull` query was updated. This means on the initial slim metadata load and before the full metadata is loaded, the title is empty: ![Screenshot_2026-04-10_at_9.42.42_PM](/uploads/a3556065274838c20f1eda0b8af8e17b/Screenshot_2026-04-10_at_9.42.42_PM.png){width=900 height=260} ### Steps to reproduce 1. Since this is hard to reproduce when the requests are fast, you can update the `getWorkItemsFull` query so it returns an error. Something like: ```diff diff --git a/ee/app/assets/javascripts/work_items/list/graphql/get_work_items_full.query.graphql b/ee/app/assets/javascripts/work_items/list/graphql/get_work_items_full.query.graphql index 50c3c9b51d881..3ce65e3a74a09 100644 --- a/ee/app/assets/javascripts/work_items/list/graphql/get_work_items_full.query.graphql +++ b/ee/app/assets/javascripts/work_items/list/graphql/get_work_items_full.query.graphql @@ -106,6 +106,7 @@ query getWorkItemsFullEE( ...PageInfo } nodes { + nonExistentField id iid author { ``` 2. Visit the work item list ### Proposed fix We can fix this by requesting `titleHTML` in `getWorkItemsSlim`. But we should also consider removing `title` so we don't request fields that we don't use on the frontend. I don't know if `title` is still used in other places though.
issue