Live feed

A keyed activity list with demo updates held in the visitor's own island.

Post a demo update at the top of this visitor's activity list.

Open in new tab

Each preview is its own Live page in a frame, because this site is a Vue 3.5 app built on the Pulsar starter kit. An open list or popover stays inside its frame; in your application it opens over the page.

Installation

bash
suprnova live:add live-feed

Usage

html
{% import "suprnova-ui/live-feed/live-feed.html" as live_feed %}
{% call live_feed::live_feed("activity", "Activity") %}{% call live_feed::feed_item("opened", "09:00") %}Preview opened{% endcall %}{% endcall %}

Examples

Chronological updates

Append demo updates to a bounded timeline in this visitor's island.

Open in new tab

Keyboard and accessibility

suprnova.live-feed - a keyed list refreshed by the island's stream (FDB-005). The island that mounts it declares live:stream; the runtime writes data-live-stream-state on the island root and announces every change into the status element (Updates disconnected, Connecting to updates, Updates current, Updates degraded, Reconnecting to updates, Updates closed), so a degraded, reconnecting or closed stream says so and only the current state reads current; the server renders the disconnected message as the default, and the CSS colors the status from the root's state. Items pass through live_key so a refresh keeps every surviving node. Classification: stitch slot when the island is identity-bound, shell dependency when it is a public seed.

API reference

live_feed

ParameterDefaultDescription
idRequiredThe unique feed id, also used for its heading and keyed list.
labelRequiredThe heading naming the feed.

feed_item

ParameterDefaultDescription
keyRequiredThe stable entry domain key, encoded through live_key.
timeRequiredThe visible time text associated with the entry.