Dynamically loaded system note should not increase "Discussion" counter
Summary
We decided not to count system notes when displaying the count badge next to "Discussion" badge. However, when a system note is loaded dynamically (realtime loading) the counter is increased.
Steps to reproduce
- Open an issue
- Open the same page in the second tab
- Change issue description in the second tab
- Go back to the first tab
- Wait for the system note about the changed description to appear
- Observe the counter next to "Discussion"
- Reload the page
- Observe the counter next to "Discussion"
What is the current bug behavior?
It shows "Discussion 1". After reloading it shows "Discussion 0".
What is the expected correct behavior?
It should always show "Discussion 0".
Output of checks
This bug happens on GitLab.com