Page MenuHomePhabricator

UIC: Show number of SI cases
Closed, ResolvedPublic

Description

Summary

Similar to the "Checks" data point, we should show the suggested investigations case count for a given user in the user info card.

Specification

  • Access should be gated behind the checkuser-suggested-investigations permission
  • The row should not display if the case count is zero
  • If the case count is non-zero, the link should go to Special:SuggestedInvestigations?username={username}
  • For an icon, we could use cdxIconArticlesSearch (to be confirmed)

Acceptance criteria

  • If an account is associated with one or more suggested investigations cases, this is indicated in the user info card

Related Objects

Event Timeline

Change #1237275 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/CheckUser@master] (WIP) UserInfoCard: Show number of SI cases

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

For an icon, we could use cdxIconArticlesSearch (to be confirmed)

@KieranMcCann-WMF do you have a recommendation for what to use for the icon? Here's what it looks like with the cdxIconArticlesSearch icon

image.png (780×1,006 px, 155 KB)

@KieranMcCann-WMF do you have a recommendation for what to use for the icon? Here's what it looks like with the cdxIconArticlesSearch icon

@kostajh Yes I’m happy with that proposal. I don’t see any need to add a new icon for this particular instance.

Change #1237275 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] UserInfoCard: Show number of SI cases

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

dom_walden subscribed.

I see in UIC that, when a target user has at least one SI case and your current user has access to SI, you see the count of cases in the UIC. We count all cases, including those that are closed or invalid.