-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Master
-
Component/s: Collection Display Fragment, Fragment Administration
Intro/Context:
With the recent implementation of Collection Display fragment we can append a collection to a page. However the collection might need to be filtered in order to propose more relevant content to the end user.Example : A user looking at a list of testimonies might filter by industry (insurance, banking, government etc.)
The goal of this story is to allow Marketers to provide a way for the end users to filter the content of a collection using Vocabularies and/or Categories.
Given a Marketer has created a collection page based on a manual collection
-
When the Marketer uses a "Collection filter" fragment
Then the Marketer editing the fragment can:
- select the categories that a user could use (by selecting the parent vocabulary or category)
- IMP: The mockups need to use pattern used for menu display.
- and configure if an end user could select 1 or multiple categories for the same search/filtering using Single or Multiple Editor.
Single selector:
Multiple selector (Could be moved to other story if too big):
When the user has selected 1 or multiple categories
Then the selected categories should appear as selected so that to give a visual feedback of what the Collection is currently filtering.
-
Below: Acceptance criteria common to all fragments in Epics !
As a Marketer I want to allow external users to search through the collection pages based on manual collections using combination of criteria from different filters.
-
When the user is selecting multiple criteria from filters
- categories (1 or multiple selection)
- dates (1 selection)
- ordering (1 selection)
- text (1 selection)
Then
- The collection items should be filtered by all matching filters criteria
- The number of results found should appear in the summary result section (if added to the page)
-
When selecting 1 or multiple filters criteria and no result is found
Then show a message in the result fragment:
- "No result found, please discard one or multiple criteria"
Test Scenarios
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? |
---|---|---|---|---|---|
Can filter the results of a collection page based on manual collection via selecting single category | Critical | Manual | No | Yes | Yes |
Can filter the results of a collection page based on manual collection via selecting multiple categories | Critical | Manual | No | Yes | Yes |
Can filter the results of a collection page based on manual collection via selecting multiple categories in one filter | High | Manual | No | Yes | Yes |
Can filter the results of a collection page based on manual collection with via selecting subcategories from Global site | High | Manual | No | No | Yes |
Assert no significant performance degradation when executing search | Medium | Manual | No | No | No |
- is a dependency of
-
LPS-124226 As a Marketer I want to allow users to filter the results of a dynamic collection using vocabularies and/or categories
-
- Open
-
- relates
-
LPS-125482 The selected vocabulary name is lowercased in Source field
- Closed
-
LPS-125476 LPS-111807 - Product QA | Test Automation Creation
-
- Closed
-
- Testing discovered
-
LPS-125228 The order of fragments are wrong in view mode and preview mode when select list template as List Style
- Closed