Add info that an account is in 2 or more active SI case
Closed, ResolvedPublic

Description

Problem
When the users investigate cases, they need to click on each of the UICs of the accounts to see if there is an account that is in more than 1 SI case already. This would essentially help speed up the investigation. If there exist earlier identical cases, checkusers duplicate their efforts by checking the account data again, even if they don't need to.

Solution
Add an indication that ther have been other open or closed SI cases about the listed account. At the case level, show the number of related (identical) cases.

Acceptance criteria

  • Next to the user in cases show X SI cases, where X is the total number of SI cases the user is in.
    • This should be a link, leading to SuggestedInvestigations filtered by the user name
    • Show this link if X >= 2
  • The new elements should be displayed both on the main page and details page
  • Cases are considered related if they refer to the same set of users and intersection of their signals is non-empty.
  • If there are cases related to the current one, display Y related cases below the signal name in the metadata line (for now this text will be unlinked).

image.png (1,287×321 px, 47 KB)

Event Timeline

Change #1305685 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/extensions/CheckUser@master] Add links to previous SI cases for the same user

https://gerrit.wikimedia.org/r/1305685

Change #1306890 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/extensions/CheckUser@master] SI: Display number of related cases

https://gerrit.wikimedia.org/r/1306890

Change #1305685 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Add links to previous SI cases for the same user

https://gerrit.wikimedia.org/r/1305685

@mszwarc , can you add also instrumentation of the click of that link?

@mszwarc , can you add also instrumentation of the click of that link?

Yes, it's already included in the instrumentation patch (waiting for review).

Change #1306890 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] SI: Display number of related cases

https://gerrit.wikimedia.org/r/1306890

Looking at this case, it is not easy to understand what "1 related case" refers to si case, as there are also SI cases per account and per cases and different logic applied to those.

@mszwarc , can we rename if to 'identical SI cases' or 'duplicate SI cases'?

Change #1319754 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/extensions/CheckUser@master] SI: Tweak related cases label

https://gerrit.wikimedia.org/r/1319754

Change #1319754 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] SI: Tweak related cases label

https://gerrit.wikimedia.org/r/1319754