Page MenuHomePhabricator

Update the status of a suggested investigations case in the table pager when the dialog is closed
Closed, ResolvedPublic

Description

Background

  • In T404215: Add a dialog to change the status associated with a suggested investigation we added a dialog that allows checkusers to set the status of a suggested investigation
    • However, that ticket did not include updating the status and reason shown in the table pager to reflect the changes made in the dialog
  • We need to update the status and reason shown in the table pager after a change using the dialog because
    • A user may be confused and think that the status change was not applied if the old status is still shown
    • Refreshing the page may not get the correct status to show in the case that the replica databases are sufficiently lagged
      • Additionally refreshing the page may change what cases are shown in the page, because new cases could have pushed older cases down the page

Acceptance criteria

  • After closing the dialog for a successful change, the table pager has the relevant row updated to reflect the new status and associated reason

Event Timeline

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

[mediawiki/extensions/CheckUser@master] [Very WIP] Update DOM for status changes

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

Change #1187891 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] SI: Update DOM after status changes in the change status dialog

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