Details

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: Content Dashboard
    • Labels:

      Description

      Motivation

      The categorization and tagging of a content is one of the most important metadata for its exploitation by different areas of the organization and its possible reuse. Being able to filter by categories, not only those visible at the first level (selected in Configuration if the audit graph)) but also by the rest of them, speeds up the searches and the auditing of the content.

      Persona

      Marketer / content author / content strategist

      Design

      Filter by Category: https://www.figma.com/file/qvvdaQyBqB8cR0Me2L3tQh/LPS-114181-filtering-list-of-contents-and-audit-graph?node-id=56%3A185991

      Technical Requirements

      • The category filter will be placed in the Filter by... section
      • The selector will show in a modal where user will be able to:
        • search by writing the name of the category in the search bar
        • select one or multiple categories from different vocabularies from the tree list
        • deselect whichever categories were selected in case the filter was already applied
      • When the name of a category appears in more than one site, then the name of the site will show in parentheses after the category's name
      • The user will click on Save to apply the filter
      • The content list with filters applied will show the categories selected above the list, that can be removed by clicking on the x sign in each one of them or by clicking on "Clear all" on the right side of the page.

      Acceptance Criteria

      • Given the content dashboard
      • When the user clicks on filter and order
      • Then the "Category" filter is displayed in the Filter by... section

      • Given the filter dropdown
      • When the user clicks on Filter by... > Category
      • Then a modal with all vocabularies (Global and Site's) and categories shows

      • Given the modal for the category selection
      • When the user clicks on vocabularies and then on categories 
      • Then the categories get selected (no max. number)

      • Given the modal for the category selection
      • When the user clicks on several categories and clicks Save
      • Then the content list in the Content Dashboard filters accordingly (it will combine values with an OR operator)

      • Given the labels that represents filters on top of the list of contents
      • When there are two categories with the same name that belong to different sites 
      • Then the category's name in the label is followed by the site's name between parentheses

      Test Scenarios

      AC ID Test Strategy Test Scenarios Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd? (unit or integration) Poshi?
      01 Regression When the user clicks on filter and order, the "Category" filter is displayed in the Filter by... section NO  NO  
      02 Regression When the user clicks on Filter by... > Category, a modal with all vocabularies (Global and Site's) and categories shows NO NO   
      03 Regression When the user clicks on vocabularies and then on categories, the categories get selected (no max. number) NO  NO  
      04 Smoke When the user clicks on several categories and clicks Save, the content list in the Content Dashboard filters accordingly (it will combine values with an OR operator) NO NO   

      Makes sense to have functional tests for this Story. Frontend part in JSP files.

        Attachments

          Activity

            People

            Assignee:
            support-qa Support QA
            Reporter:
            julia.molano Julia Molano
            Engineering Assignee:
            Julia Molano
            Recent user:
            Kiyoshi Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master