NOTE: Must be done before first: T377186: [STORY] New widget to search and favourite templates
User Story:
As a user I want to be able to remove a favourited template if I do not need it anymore, so that I can keep my favourites list tidy.
Acceptance criteria:
- Favourite templates show as a solid icon in the search results, and it can be clicked to unfavourite the template.
- Show a bubble notification after removal
- Add undo option to the post-remove notification
- The favourites list has the same unfavourite icon, with the same behaviour (the list item will be removed on unfavouriting)
Details for QA:
- Favourites are actually removed from the user's preferences
- Undo (in the bubble notification) works and the favourite template is returned, the icon returns to solid and the template returns to the list of all favourites.