Page MenuHomePhabricator

Suggested investigations: Create a way for signals to define content that should be present on a detail page
Closed, ResolvedPublic

Description

Summary

Some signals may have content to add to the detail view of a case. This task is to add a method to make this possible.

Background

  • The detail view of a case will contain extended information about a given case
    • This includes the ability to see extended information associated with the matched signal
      • Often this extended information and the format it uses is considered private (and so should use private code to be defined)
  • To make it possible to do the above, we will need a way to allow private code to provide extended information to be rendered on the detail view of a case
    • This method needs to at least partly be in public code so that we can call it in the detail view

Acceptance criteria

  • It is possible to define extended information provided by signal code that is shown on the detail view of a case

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1208421 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] Add CheckUserSuggestedInvestigationsOnDetailViewRender hook

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

To ensure that we avoid exposing as much of the logic of the detail view display code, I've proposed the use of a hook that allows the handlers (defined in private code) to add to the OutputPage instance

Change #1208424 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] SI: Add i18n messages for lists of trigger IDs in detail view

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

Change #1208421 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Add CheckUserSuggestedInvestigationsOnDetailViewRender hook

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

Change #1208424 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] SI: Add i18n messages for lists of trigger IDs in detail view

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