Member Junction
    Preparing search index...

    Base class for all Angular components in the MemberJunction system.

    Hierarchy (View Summary)

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    actionLogs$: Observable<MJActionExecutionLogEntity[]>
    aiAgentRunId: string
    dataHelper: AIAgentRunDataHelper
    error: string | null = null
    itemSelected: EventEmitter<TimelineItem> = ...
    loading: boolean = true
    navigateToEntity: EventEmitter<{ entityName: string; recordId: string }> = ...
    promptRuns$: Observable<MJAIPromptRunEntity[]>
    Provider: IMetadataProvider | null

    If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.

    selectedItem: TimelineItem | null = null
    steps$: Observable<MJAIAgentRunStepEntity[]>
    subRuns$: Observable<MJAIAgentRunEntity[]>
    timelineItems$: Observable<TimelineItem[]>
    "ɵdir": unknown
    "ɵfac": ɵɵFactoryDeclaration<BaseAngularComponent, never>

    Accessors

    • get ProviderToUse(): IMetadataProvider

      Returns either the default Metadata provider or the one specified in the Provider property, if it was specified

      Returns IMetadataProvider

    • get RunQueryToUse(): IRunQueryProvider

      Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified

      Returns IRunQueryProvider

    • get RunViewToUse(): IRunViewProvider

      Returns either the default RunView provider or the one specified in the Provider property, if it was specified

      Returns IRunViewProvider

    Methods

    • Expands a task-graph step into the graph's own steps, as ordinary timeline rows.

      The graph's steps are steps. They used to appear as an embedded canvas inside the list — a diagram wedged into a vertical column, in a different visual language from everything around it, and the only work in a run that could not be read, selected or navigated the same way as the rest. They are rows now, colour-coded so their provenance is obvious, with the canvas moved to the detail panel where edges have room to be seen.

      One query rather than a walk: the whole subtree arrives at once, so there is no "Loading sub-agent steps…" and no per-level round trip.

      Parameters

      • item: TimelineItem

      Returns Promise<void>

    • The graph a TaskGraph step submitted, read from the step's own output.

      executeTasksStep records parentTaskID there whether or not submission succeeded, because a rejected graph is the case where forensics matter most. A step with no id therefore means the graph never reached the dispatcher — a real state the caller renders differently, which is why this returns null rather than an empty string.

      Parameters

      • item: TimelineItem

      Returns string | null