ampproject / ampproject/amphtml

Support data-update-time for live stories

Open
#33,551 2 comments 0 reactions 0 assignees View on GitHub
P2: Soon Stale Type: Feature Request WG: stories
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

Currently, `data-sort-time` will let us add pages to a live story. However, it's also sometimes desirable to modify the contents of a story in real time. We should add support for `data-update-time` (already supported by the underlying livelist architecture, as far as I know), so that publishers can modify page contents in real-time without having to discern between `amp-story[live-story]` and `amp-story amp-live-list`.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how data-sort-time is handled in the underlying livelist architecture, then compare the amp-story[live-story] and amp-story amp-live-list entry points. Done means data-update-time lets publishers modify live-story page contents in real time without distinguishing between those two forms.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.