Resolve "Intelligently pre-fetch work-item data"
What does this MR do and why?
Currently, we only start fetching task details on issue description when work item link is clicked. This MR is aimed to make UX a bit smoother by prefetching work item details data after user hovers the link for 150 ms.
Screenshots or screen recordings
No visual changes (besides the shorter loading time)
How to set up and validate locally
- Enable the work items
Feature.enable(:work_items)
- Visit any issue with work items added as tasks
- Hover the work item link for some time
- Observe the GraphQL call in the console
- Click on the link, work item should be displayed instantly or with very short loading time.
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.
Related to #360929 (closed)
Edited by Natalia Tepluhina