-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Master
-
Component/s: Content Dashboard
-
Labels:
-
Epic/Theme:
-
Epic Link:
-
Sprint:TANGO | SP_38 | Jun5 - Jun19, TANGO | SP_39 | Jun19 - Jul3
Disclaimer
This story is the backend part of https://issues.liferay.com/browse/LPS-113875 (same description in both stories)
Motivation
The content marketing teams work according to a strategy. In this marketing content strategy, they define the content they need to impact their target audiences depending on when these audiences are in the conversion funnel ( https://buzzsumo.com/blog/content-marketing-funnel/ ).
In order to evaluate the status of the content creation, the audit of the already existing content is a fundamental tool, since it allows to know which content areas are already covered and to discover gaps in the content. The Content Audit graph will provide these insights in a glance, by representing visually Stage & Audience categories' contents.
Persona
Content author / Marketer.
Design
Technical Requirements
- The X axis will be the Audience categories and the Y axis will be the Stage categories' number of contents (see exception below: no categories for Audience)
Other stories:
- Legend for stage will be also a filter by the means of checkboxes (see
LPS-113879)
BEHAVIOUR WHEN THERE ARE NO MARKETING CATEGORIES
- When there are no categories for Stage, then Audience categories will show just one bar per category representing the total number of contents labeled with that category (see Figma https://www.figma.com/file/snaydKJx2oFNZY6wcy9rWT/LPS-113344-assets-sorted-by-OTB-marketing-categories?node-id=93%3A123830 )
- When there are no categories for Audience, then Stage categories will show in the X axis with just one bar per category representing the total number of contents labeled with that category (see Figma https://www.figma.com/file/snaydKJx2oFNZY6wcy9rWT/LPS-113344-assets-sorted-by-OTB-marketing-categories?node-id=93%3A127873 )
- When there are no contents labeled with Stage & Audience categories, a void chart will show with the message: Create marketing categories to label and audit your content. See
LPS-115043
Acceptance Criteria
- Given the content dashboard
- When the user has done no action
- Then the graph shows a legend above (checkboxes https://issues.liferay.com/browse/LPS-113879) with all existing Stage's categories in the instance and in the X axis all the existing Audience's categories in the instance (default view for the graph)
- And the title will be Content per Audience and Stage
--
- Given the content audit graph
- When there are not contents with Audience's categories
- Then the X axis will show just one bar per each one of Stage's categories representing the total number of contents labeled with those categories
- And the title will be Content per Stage
--
- Given the content audit graph
- When there are not contents with Stage's categories
- Then the X axis will show just one bar per each one of Audience's categories representing the total number of contents labeled with those categories
- And the title will be Content per Audience
–
- Given the content audit graph
- When there are not contents with Stage's or Audience's categories
- Then a void chart will show with the message: Create marketing categories to label and audit your content.
- And the title will be Content
–
- Given the content audit graph
- When the portal language is RTL
- Then the chart will flip the Y-Axis and the values of X-Axis to the right
- And the legend will be displayed on the right side
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 opens the Content Dashboard, the graph shows a legend above with all existing Stage's categories in the instance and in the X axis all the existing Audience's categories in the instance. The title is Content per Stage | NO | NO | |
02 | Regression | When there are not contents with Audience's categories, the X axis will show just one bar per each one of Stage's categories representing the total number of contents labeled with those categories | NO | NO | |
03 | Regression | When there are not contents with Stage's categories, the X axis will show just one bar per each one of Audience's categories representing the total number of contents labeled with those categories | NO | NO | |
04 | Sanity | When there are not contents with Stage's or Audience's categories, a void chart will show with the message: Create marketing categories to label and audit your content. | YES | NO |
- is demanded by
-
LPS-113875 Bar graph to show number of assets by values in audience and stage
-
- Closed
-
-
LPS-113879 Filter by value checks in chart legend
-
- Closed
-
- is related to
-
LPS-111333 Empower Marketers to define and use taxonomies to perform content auditing
-
- Closed
-
-
LPS-113878 Show total count when hover in a bar
-
- Closed
-
- relates
-
LPS-114183 Show total number of assets per category
-
- Closed
-