Function components for the sessions sidebar.
Used internally by Omni.UI.SessionsComponent. Not imported by
use Omni.UI.
Summary
Functions
Renders a list of session summaries as clickable rows.
Functions
Renders a list of session summaries as clickable rows.
Each row fires phx-click="switch_session" with the session id in
phx-value-session-id so the parent LiveView can route to it.
Sessions whose :status is non-nil are flagged with a small indicator
beside the title (:busy pulses, :paused is solid amber, :idle is
a muted dot). Sessions without a status (i.e. not currently running)
show no indicator.
Attributes
sessions(:list) (required)current_id(:string) - Defaults tonil.empty_label(:string) - Defaults to"No sessions yet".target(:any) (required)