User Story:
As a user I want to be able to favourite templates that I use frequently, so that I can recall them easily.
Acceptance criteria:
- A new OOUI template search widget has been created in TemplateData.
- The new widget is in use in both VisualEditor and MediaWiki-extensions-TemplateWizard.
- The search experience in the new widget is the same as in both previous versions (both with and without CirrusSearch).
- An editor can see whether a template is a favourite via a new icon in the search results dropdown list.
Details for QA:
- Test with all possible permutations of the above extensions being installed or not.
- Favourites are saved as a user preference.
Designs:
Subtasks:
The subtasks should be done in roughly the following order:
- T377453: Add new feature flag to TemplateData
- T385034: Add Special:TemplateSearch page for testing purposes
- T377313: New widget for searching templates
- T377417: Replace template search with new TemplateSearchWidget in VisualEditor
- T377416: Replace template search with new TemplateSearchWidget in TemplateWizard
- T377455: Add favourite icon to search results
- T387187: Add functionality to favourite icon in search results