Skip to content

Conversation

@LilyL0u
Copy link
Contributor

@LilyL0u LilyL0u commented Aug 15, 2025

Resolves https://bbc.atlassian.net/browse/WS-1687 and https://bbc.atlassian.net/browse/WS-1688

Related to https://bbc.atlassian.net/browse/WS-1685

Summary

  • Adds a PersonalisedContent component containing 4 Topics served based on the users header value for x-country. Tracking is enabled as a section view and per-link clicks with click tracking also added to the Topic as subheading link.

  • Fetch the country-specific topic feed in the Next.js article handler and inject secondaryColumn.PersonalisedContent when x-country/x-bbc-edge-country matches the Mundo mapping. Slices to 4 summaries.

  • Articles are configured to still render if a topic ID is invalid/missing and fails.

  • Guard secondary data handling (secondaryData || {}) to avoid errors when secondaryColumn is absent.

  • Light tests added/adjusted as appropriate

Chile Topic:
image

Mexico Topic:
image

Argentina Topic (x-country header setting shown):
image

Code changes

  • See files changed

Developer Checklist

  • UX
    • UX Criteria met (visual UX & screenreader UX)
  • Accessibility
    • Accessibility Acceptance Criteria met
    • Accessibility swarm completed
    • Component Health updated
    • P1 accessibility bugs resolved
    • P2/P3 accessibility bugs planned (if not resolved)
  • Security
    • Security issues addressed
    • Threat Model updated
  • Documentation
    • Docs updated (runbook, READMEs)
  • Testing
    • Feature tested on relevant environments
  • Comms
    • Relevant parties notified of changes

Testing

  • Manual Testing required?
    • Local (Ready-For-Test, Local)
    • Test (Ready-For-Test, Test)
    • Preview (Ready-For-Test, Preview)
    • Live (Ready-For-Test, Live)
  • Manual Testing complete?
    • Local
    • Test
    • Preview
    • Live

Additional Testing Steps

  1. List the steps required to test this PR.

Useful Links

@LilyL0u LilyL0u changed the title Peronalised rail Personalised rail Oct 7, 2025
@pvaliani pvaliani changed the title Personalised rail WS-1685-SPIKE - Personalised Topic Rail for Adaptive Experience [DNM] [WIP] Nov 25, 2025
@pvaliani pvaliani changed the title WS-1685-SPIKE - Personalised Topic Rail for Adaptive Experience [DNM] [WIP] WS-1687 & WS-1688 - Personalised Topic Rail for Adaptive Experience [DNM] Nov 27, 2025
@pvaliani pvaliani changed the title WS-1687 & WS-1688 - Personalised Topic Rail for Adaptive Experience [DNM] WS-1687 - Personalised Topic Rail for Adaptive Experience Nov 27, 2025
@pvaliani pvaliani changed the title WS-1687 - Personalised Topic Rail for Adaptive Experience WS-1687 - Personalised Topic Rail for Adaptive Experience (Data Fetching via NextJS) Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants