Class SessionInfoComponent

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

public final class SessionInfoComponent extends Object implements UiComponent
The "Info" tab of a chat page — a read-only key/value list of session metadata (id, agent, status, user, started-at, title) plus a "Back to Agent" link.

Static by construction: the panel never updates incrementally. It only exposes render(); there are no patch operations.

  • Constructor Summary

    Constructors
    Constructor
    Description
    SessionInfoComponent(ai.mindconnect.agent.domain.AgentSession session, ai.mindconnect.agent.domain.AgentDefinition agent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    id()
    The DOM id this component renders with.
    ai.mindconnect.ui.model.UiDetail
    Full render — emit the component as a UiNode.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SessionInfoComponent

      public SessionInfoComponent(ai.mindconnect.agent.domain.AgentSession session, ai.mindconnect.agent.domain.AgentDefinition agent)
  • 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.UiDetail 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