Skip to content

Load first note on work items

Simon Knox requested to merge psi-wi-note into master

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

  1. Create a work item for testing. To use an Epic, enable namespace_level_work_items, work_item_epics flags
  2. In rails console add lots of comments to a work item
  3. Visit the work item page, and click the link to share a comment (More actions > link to comment, or click the comment timestamp)
  4. Refresh the page
  5. Comment loads faster than the others
Edited by Simon Knox

Merge request reports

Loading