Class TraceMasterListComponent

java.lang.Object
ai.mindconnect.adminui.ui.component.TraceMasterListComponent
All Implemented Interfaces:
UiComponent

public final class TraceMasterListComponent extends Object implements UiComponent
Master-list pane of the trace inspector — one row per top-level chat turn. Each row labels the turn with its time, total roundtrips, sub-agent count (if any), aggregated duration and token usage; the description shows a one-line preview of the user's prompt and the agent's reply (taken from the persisted conversation messages so the operator can pick a turn at a glance).

Sub-agent roundtrips fold under their root turn — they do not appear as separate master rows. The selected turn (most recent by default) is marked with a ◀ suffix.

  • Constructor Details

    • TraceMasterListComponent

      public TraceMasterListComponent(UUID sessionId, Map<UUID,List<ai.mindconnect.agent.domain.LlmCallTrace>> byTurn, List<ai.mindconnect.message.domain.Message> history, UUID selectedTurnId)
  • Method Details

    • id

      public String id()
      Description copied from interface: UiComponent
      The DOM id this component renders with. Patch operations targeting this component (REPLACE / CLEAR / REMOVE) use this id, so it must match the id on the root UiNode returned by UiComponent.render().
      Specified by:
      id in interface UiComponent
    • render

      public ai.mindconnect.ui.model.UiList render()
      Description copied from interface: UiComponent
      Full render — emit the component as a UiNode. Used both inside a page's full render and as the payload of a REPLACE patch.
      Specified by:
      render in interface UiComponent