Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-121658

As a content author, I want to go to see the page /edit the content when clicking on the title

    Details

      Description

      Motivation

      After the user's test carried out in the LPS-117343 epic, we've confirmed that users expect to visit the page of the content when clicking on the title. Additionally, for those contents that have not an associated display page, we will do the title lead to the web content editor.

      Technical Requirements

      • When the web content has an associated display page and it has an approved status, even if the user has permission to edit it, the title will lead him to the page view, unless it has also a draft version of which the user is its owner (see next)
      • When the web content has a draft version and the user is its owner, the title will lead him to the web content editor regardless of whether it has an associated display page or not.
      • When the web content has only a Scheduled status, and the user has permissions to edit it, he will be led to the web content editor regardless of whether it has a DPT or not.
      • When the web content has not an associated display page and the user has permission to edit it, the title will lead him to the web content editor
      • The case when the web content has not an associated web page and the user has not permission to edit it will be tackled in a different story.
      • The case of web contents in Pending status will be tackled in a different story

      Design

      https://www.figma.com/file/dxHZl52WvhiAJ2R0xCZ7Nm/LPS-121658-see-the-page-edit-the-content-when-clicking-on-the-title?node-id=1%3A56

      Acceptance Criteria

      Note: Approved status prevails over other statuses when they coexist.

      • Given the content dashboard
      • When the user clicks on the title of an approved web content with an associated DPT
      • Then s/hes led to the page view

      • Given a content with a draft version in the content dashboard
      • When the user is its owner
      • Then s/hes led to the web content editor

      • Given a content with no associated DPT
      • When the user has editing permissions 
      • Then s/hes led to the web content editor

      • Given a content with scheduled status
      • When the user has permission to edit and clicks on the title
      • Then s/hes led to the web content editor

      • Given a content with pending or scheduled status
      • When the user has no permission to edit and clicks on the title
      • Then nothing happens besides that the tooltip shows

      • Given a content with no associated DPT
      • When the user hasn't editing permissions 
      • Then nothing happens besides that the tooltip shows

      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 Low When a user with no edit permissions clicks on the title of a content with no associated DPT, a tooltip with the WC title is shown NO NO  
      02 Medium When a user with edit permissions clicks on the title of a content with no associated DPT, the user is led to the web content editor NO NO  
      03 Low When a user clicks on the title of a content with Pending or Scheduled status, a tooltip with the WC title is shown NO NO  
      04 High When a user clicks on the title of a content with an associated DPT, the user is led to the page view NO NO  
      05 High When a user (owner) clicks on the title of a content with a draft version, the user is led to the web content editor NO NO  
      05 Low When a user (not owner) clicks on the title of a content with a draft version, a tooltip with the WC title is shown NO NO  
      06 Low When a user with no edit permissions clicks on the title of a content with a draft version, a tooltip with the WC title is shown NO NO  

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            julia.molano Julia Molano
            Engineering Assignee:
            Cristina Gonzalez
            Recent user:
            Julia Molano
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                Master