Load first note on work items
What does this MR do and why?
Load selected comment before loading every comment (!162981 - merged) for work items.
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 |
---|---|
fast | note |
How to set up and validate locally
- Create a work item for testing. To use an Epic, enable
namespace_level_work_items
,work_item_epics
flags - In rails console add lots of comments to a work item
- Visit the work item page, and click the link to share a comment (More actions > link to comment, or click the comment timestamp)
- Refresh the page
- Comment loads faster than the others
Edited by Simon Knox