Raxol.UI.Components.Harness.MemoryPanel (Raxol v2.6.1)

View Source

A read-only panel over the harness's session memory projection.

Renders the materialized view folded from extract{class: :memory, op, item} meta events (source :probe_c2_memory) as an aligned key/value list. Purely a projection: no interaction, no local state beyond what's handed in via props.

Summary

Types

item()

@type item() :: %{key: String.t(), value: term()}

t()

@type t() :: %{
  id: String.t() | atom(),
  title: String.t(),
  items: [item()],
  style: map(),
  theme: map()
}

Functions

broadcast(msg)

command(cmd)

handle_event(event, state, context)

Callback implementation for Raxol.UI.Components.Base.Component.handle_event/3.

mount(state)

Callback implementation for Raxol.UI.Components.Base.Component.mount/1.

schedule(msg, delay)

unmount(state)

Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.

update(props, state)

Callback implementation for Raxol.UI.Components.Base.Component.update/2.