Skip to content

Fix showing outdated discussions on Changes tab.

Fatih Acet requested to merge _acet-fix-outdated-discussions into master

We were showing outdated diff discussions on the Changes tab. This MR adds extra checks to know if we should render a discussion on the Changes tab. The now compare discussions against diff line baseSha, headSha and startSha. If all three properties match we render the discussion.

Before After

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/48167

Edited by Fatih Acet

Merge request reports