Appearance
Ledger Logs
- File:
src/features/ledger/partials/LogViewer.svelte
Overview
Displays a chronological, icon-coded timeline of an event (call session) — started / ended / joined / left — read from the GraphQL ledger query. Each log is mapped to an icon and colour, with the time on the right.
Module Functions
ts
export async function getLedgerEvents(search?): Promise<...> // ledger list
export async function getALedger(eventId): Promise<...> // event + logsLog mapping
| type | Icon | Colour |
|---|---|---|
started | Play | green |
ended | Stop | gray |
joined | UserAdd | green |
left | UserRemove | red |
UI Structure
- Header: event title + time.
- Vertical timeline: each log row has a coloured circle + icon, a connector line, the log notes, and a timestamp.
- Empty state: "There are no event logs".