SPIKE: {T378486}
We are planning to add additional filters to Nuke. We have found that the current UX of Nuke can be frustrating if you want to adjust filters (T364224), so it's likely that we would make this situation worse if we simply added more filters. First, we could redesign the flow a little, so that pages in scope of a filter set can be viewed alongside those filters, which can subsequently be adjusted to reach the desired list of pages.
Secondarily, the browser dialog feels like a strange way of doing a deletion confirmation. Instead we could be displaying the list of pages the user is proposing deleting on a confirmation screen, and have a clearer Delete button to enact deletion. This may help when we come to add related-page deletion functionality, to clarify which other pages will be deleted.
==Design mockups==
**Form**
|Filter page |When tapping on 'continue' without listing pages first | No results for the search |
|{F57791138}|{F57791140}| {F57791150}|
* Adds a Continue button. If user clicks on 'Continue' without listing pages they will get an error message 'To continue, first ‘List pages’ and then select pages that will be queued for deletion". If the user clicks List Pages but zero results are shown, a warning message is displayed stating "0 pages match the search".
* Text at top of page:
```
This tool allows for mass deletions of pages recently added by a given user or temporary account. Input a username or IP address to get a list of pages to delete, or leave blank for all users. Inputting an IP address will list all pages created by that IP address or any temporary accounts used from that IP address.
After listing the pages, select which pages to delete, then click ‘Continue’. Redirects are displayed in italics.
```
**Listing pages**
| Pages listed | 'Continue' without selecting pages | Pages selected |
| {F57791158} | {F57791165} | {F57791160} |
* Pages matching the filters should be displayed below the form, and updated when new filters are run.
* If user clicks 'Continue' without selecting pages they get an error message "To continue select pages that will be queued for deletion.
* Clicking Continue takes users to the confirmation view:
**Confirmation view**
{F57746091}
* Pages selected by the user should be listed below, with links to the page, talk page, and history.
* This replaces the browser confirmation dialog.
* `The following X pages were selected for deletion. Provide an edit summary, and click Delete to initiate page deletion.`
**Queue confirmation**
{F57721862}
* No changes to the behaviour of this page.