bbc / simorgh

The BBC's Open Source Web Application. Contributions welcome! Used on some of our biggest websites, e.g.

Home Page:https://www.bbc.com/thai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optimo Editorial OJs metadata updates

amoore108 opened this issue · comments

Is your feature request related to a problem? Please describe.
REF: NEWSWORLDSERVICE-1366

To give users more depth and analysis about related stories and content, we want to extend the existing Editorial Onward Journey (horizontal scrollable) to include more metadata about each of the linked content.

AreS has been updated to return the following enriched data for these OJs:

  • Date (timestamp)

Example of the data can be found here, found under the types aresLink and aresMedia.

Editors would like to display the 'overtyped' title that will sit above the OJs. This is an optional field, displaying nothing if no title is supplied.

Editors would also like the number of lines increased to 4 for the OJ blocks.

Describe the solution you'd like

Update the Optimo Editorial OJs (horizontal scrollable promo) to include the new data returned from AreS:

  • Add the Timestamp to the block (if available)
  • Increase the number of lines displayed up to 4 lines
  • Add the overtyped title above the OJ blocks (if available)

Update the related content promo (when the links block is last block in article)

  • Update the related content block to support timestamp if available
  • Overtyped title is already supported

UX: https://zpl.io/O0RgxxQ

Further notes and full a11y Acceptance Criteria can be found in https://jira.dev.bbc.co.uk/browse/NEWSWORLDSERVICE-1366

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Testing notes
[Tester to complete]

Dev insight: Will Cypress tests be required or are unit tests sufficient? Will there be any potential regression? etc

  • This feature is expected to need manual testing.

Checklist

Additional context
Add any other context or screenshots about the feature request here.