Auto toggle hide discussions after it is resolved

Summary

There is a UX inconsistency in the MR discussions. When you have more than 1 discussion inside a MR and you decide to resolve one of them, that discussion does not get toggled (hidden). But when you refresh the page, the discussion that was resolved becomes hidden.

Steps to reproduce

  1. Go to a MR with more than 1 discussion
  2. Resolve 1 discussion (notice how the discussion does not hide/toggle)
  3. Refresh page (notice how the discussion is now hidden)

Expected behavior

Discussion should be hidden after it is resolved to stay consistent with the UX when the page is refreshed

Relevant logs and/or screenshots

Step 1 (MR with more than 1 discussion) Screen_Shot_2016-08-22_at_12.08.49_PM

Step 2 (Resolve discussion, discussion is not hidden) Screen_Shot_2016-08-22_at_12.08.56_PM

Step 3 (Refresh page, discussion is now hidden) Screen_Shot_2016-08-22_at_12.09.04_PM

Edited Jun 16, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading