yera.ui.rendering.views.activity_trace

Render privacy-safe session activity traces.

Symbols

def render_activity_trace — Render chronological session activity with privacy-safe metadata.

render_activity_trace

render_activity_trace(
    rows: Iterable[ActivityTraceRow],
    active: bool = False,
) → TrustedHTML

Render chronological session activity with privacy-safe metadata.

Parameters

rows
type: Iterable[ActivityTraceRow]

Projected activity operations in first-observed order.

active
type: bool = False

Whether the session may still record further activity.

Returns

type: TrustedHTML

Trusted trace HTML with semantic states and expandable metadata.

Raises

ValueError

If the activity-trace template is missing a required slot.