Persist diff notes highlighted diff

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Today we fetch blobs in a N+1 manner when viewing the Discussion tab in order to highlight the diff of each note. The same batch method (list_blobs_by_sha_path) currently works for /diffs tab, mainly because we're dealing with the same revision for every file, which is not the case when presenting discussion diffs

Having the notes highlighted diffs persisted (on NoteDiffFile) will avoid that.

Edited Sep 26, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading