Page MenuHomePhabricator

CU 2.0: Move input form to its own page
Closed, ResolvedPublic2 Estimated Story Points

Description

Goal

Per our past meeting discussions, it seems like a good idea to move the original form to kickstart an investigation to its own page at the beginning. Once the user submits a list of names/IPs and a reason, they are taken to the page with the three tabs - Preliminary check, Compare and Timeline.

Mock

https://prtksxna.github.io/wmf-cu-prototype/index.html

Acceptance criteria

  • The form is its own page
  • * Form header: Search for usernames, IP addresses or IP ranges
    • All three types will be added in a single text field. We should auto-complete the usernames and still allow IPs/ranges that become "capsules" once they are valid by regex. We did this with Interaction Timeline and should be able to do it here as well.
    • Placeholder for username field: UserName or 1.1.1.1
    • Placeholder text for reason input: Not required
    • Remove checkbox for Include all users who are using the same IPs as the selected users -- no longer required as we are giving an option to add other users from the table itself.

Event Timeline

Niharika triaged this task as Medium priority.Jan 9 2020, 6:53 PM
Niharika created this task.

Change 568711 had a related patch set uploaded (by Tchanders; owner: Tchanders):
[mediawiki/extensions/CheckUser@master] Do not display form on Special:Investigate after submission

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

Change 568711 merged by jenkins-bot:
[mediawiki/extensions/CheckUser@master] Do not display form on Special:Investigate after submission

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

dom_walden subscribed.

After submitting the form, the preliminary check table appears on its own page.

It is possible to then press back on the browser to return to the form.

I have been testing this as part of other work. I have not seen any problems so far.

no_form.png (587×1 px, 55 KB)

Most recent version tested: local vagrant VM: CheckUser 2.5 (9196c1f) 10:09, 13 February 2020; MediaWiki 1.35.0-alpha (1c11d17) 07:09, 13 February 2020