Show selected comment before loading every comment
What does this MR do and why?
Load comments faster
Suggested improvements:
- Load notes before/after in correct position. Currently it just puts the note at the top of the list and adds things below it. Or we could pin it like !137544 (merged)
- Handle discussion replies (they load but not shown as nested, so they jump across while loading)
Screenshots or screen recordings
Comment is visible 12s earlier. Total loading time is the same.
Before | After |
---|---|
before | after |
How to set up and validate locally
- In rails console enable the experiment fully
Feature.enable(:instant_notes)
- Go to an issue with a lot of notes, then link to a note directly
Edited by Simon Knox