Allow selecting date for content teasers

Created on 19 January 2024, 5 months ago
Updated 12 March 2024, 4 months ago

When a Promo card is used in a list, the ‘Last saved’ Publish date of the referenced node displays on the card. This needs to be updated to display the date from ‘Authoring information’. The reason being, this card is often used to promote ‘news’ type pages in a list, if the date is updated every time the referenced node is edited the date of the news will be misleading.

This, or, we need a specific date override.

Acceptance Criteria

Given I’m an authenticated user
When I view the date on the Promo card when used in a list
Then it matches the date in the referenced node’s Authored on field
When I manually change the date in the Authored on field
Then the new date is displayed on the Promo card

✨ Feature request
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

🇦🇺Australia alex.skrypnyk Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @alex.skrypnyk
  • Assigned to fionamorrison23
  • Status changed to Postponed: needs info 4 months ago
  • 🇦🇺Australia alex.skrypnyk Melbourne

    @fionamorrison23
    Promo card is one of the teaser display modes for a content type. So the logic could potentially apply to other content types shown as different cards etc.

    I suggest introducing a per-content type setting in the theme settings (similar to what we have for components) to let the site owner to choose what date is shown in teasers for what content type. These settings will also per-content type settings for other properties specified in other tickets (for example - per-content type node Light or Dark theme).

    Once introduced, it will be up to the site owner to choose how this is displayed.

Production build 0.69.0 2024