The newest event sits large with its level, source and age, while earlier events follow in a list and the foot counts events and errors in the window, so the latest happenings read clearly from across the room. It fills the screen, sits in the middle, tucks into a corner, runs as one line or as a band along an edge, with earlier events as a list, a rail or compact cells. You set the log's name, the window for the counts, the lowest level shown, whether the card stays or leaves when quiet, and how long an event counts as recent.
Live card
Category: Operations. Tags: News and announcements, Numbers and metrics, Offices and workplaces.
Data and privacy
This card uses its configured properties and live card data.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Activity" | maxLength: 30 | The eyebrow: the log's name. |
windowMinutes | integer | 60 | minimum: 1; maximum: 10080 | The window the foot counts events and errors over. |
minLevel | string | "info" | "info", "success", "warning", "error" | The lowest level shown; lower levels are dropped from the log and its counts. error is errors only. |
presence | string | "always" | "always", "recent" | recent shows the card only while the latest event is under recentMinutes old; a quiet log leaves. |
recentMinutes | integer | 10 | minimum: 1; maximum: 1440 | How long an event keeps the card present with presence: recent. |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
events | array | [] | maxItems: 100 | |
events[].id | string | "" | maxLength: 40 | Keys the row, so an event that is already shown does not animate again. |
events[].at | string | "" | maxLength: 40 | ISO 8601 instant the event happened; it orders the log and drives the age. |
events[].source | string | "" | maxLength: 30 | Where it came from: a service, an agent or a person. |
events[].title | string | minLength: 1; maxLength: 120; Required | ||
events[].detail | string | "" | maxLength: 160 | |
events[].level | string | "" | "", "info", "success", "warning", "error" | Empty counts as info. |
Example params
{
"theme": "neomustard"
}
screenrig card create --type activity-feed --major 1 --file params.json --context-file context.md
Example data
{
"events": []
}
Layouts
This core card fits every layout: full screen, center, wide, corner, chip, strip, or any free rectangle.
Layouts: full, free, center, wide, corner, chip, strip. Forms: landscape, portrait, square, strip.
Use this card
Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.