Skip to content

WS-2469: Add live pulse to most read page rank.#13909

Open
shayneahchoon wants to merge 7 commits intolatestfrom
WS-2469
Open

WS-2469: Add live pulse to most read page rank.#13909
shayneahchoon wants to merge 7 commits intolatestfrom
WS-2469

Conversation

@shayneahchoon
Copy link
Copy Markdown
Contributor

Resolves JIRA: https://bbc.atlassian.net/browse/WS-2469

Summary

Adds live pulse to live most read ranks:
Screenshot 2026-04-15 at 10 25 00
Screenshot 2026-04-15 at 10 24 39

Code changes

  • List key code changes that have been made.

Testing

  1. List the steps required to test this PR.

Useful Links

@shayneahchoon shayneahchoon marked this pull request as ready for review April 15, 2026 14:46
};

const clickTrackerHandler = useClickTrackerHandler(eventTrackingDataExtended);
const isLiveLink = href.includes('live');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see there is a back-end PR to add an isLive prop to the response. Will that be used here instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heya, I'm going to can the PR you've mentioned. I drafted it upon waiting for a reply from product. Neil is happy for our current changes to go forward as is without needing to check the expiry date.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 on this. At the moment the logic suggests that if a live page was no longer being updated (hence, no longer live), the label and icon will still show.

I imagine we don't need this calculated down to a tee (e.g. with polling to check if an article is still live), but it seems like the other PR checks the start/end times of an article being live so that seems preferable.

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.

3 participants