Background
The parameter search as implemented in T272481: Add parameter search to sidebar of VE TemplateDialog only filters the parameter list in the sidebar. We would like to change it so that it also filters the parameter fields in the main right-side editing area. This solves a few issues and has some added benefits:
- It will not be possible to keep editing parameters which are no longer in the list (avoiding focus issues and the possible blocked workflow of wanting to delete a parameter not in the list)
- It will help users compare and understand the parameters which show up as a result of searching/filtering. Otherwise if they are in very different parts of the template in the order, without right-side filtering these could not be seen side-by-side.]
Requirements
- When a search term is entered, both the sidebar and main area parameters are filtered. The parameters shown and their order should match exactly.
- When a search term is cleared, all parameters are shown in both the sidebar and main area.