When looking for Fragments or Widgets it is often that users need to understand the context or category they belong to. Fragments are created in the context of a collection of fragments whereas the widget belong to a category of fragments. To allow allow the user to find the content more easily and make this distinction they need a visual help.
Today widget pages the search for widgets takes into consideration the categories (and tree hierarchy for widgets) but for content pages no. Showing the category (for widget) and the collection (for fragments) will improve the experience of the user in this regards.
The goal of this story is to have a widget/fragment search that takes into account categories (the tree) into consideration and shows it for Content Pages
Given a page creator has created a Content Page
When a Page Creator searches a widget (or fragment) for a Content Page (via page editor)
Then the results take into account the widget tree (or categories) and the fragment tree (or collection) and displays it.
- when searching for "Search results" 2 widgets appears one belongs to category "commerce" and should be visually identified as such.
When a page creator is typing the widget category (respectively: the fragment collection name )
Then all the widgets are displayed underneath the category (respectively: all the fragment names are displayed... )
|Test Scenarios||Test Strategy||Kind of test||Is it covered by FrontEnd ? (JS-Unit)||Is it covered by BackEnd ? (unit or integration)||Could it be covered by POSHI?|
|When search a fragment or widget in Fragments and Widgets panel, the relevant collection name or category name is also shown with fragment name or widget name in search results||Critical||Manual||Yes||No||Yes|
|When search a collection or category in Fragments and Widgets panel, the relevant fragments or widgets are shown with collection name or category name in search results||Critical||Manual||Yes||No||Yes|