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
- Go to a MR with more than 1 discussion
- Resolve 1 discussion (notice how the discussion does not hide/toggle)
- 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)

Edited by 🤖 GitLab Bot 🤖

