Theia API Documentation v1.73.0
    Preparing search index...
    interface ChatSessionItemComponentProps {
        actions?: ChatSessionItemAction[];
        chatAgentService: ChatAgentService;
        chatService: ChatService;
        formatTimeAgo: (date: number) => string;
        hoverService: HoverService;
        isRestored: boolean;
        markdownRenderer: MarkdownRenderer;
        onAction?: (
            action: ChatSessionItemAction,
            session: ChatSessionMetadata,
        ) => void;
        onClick: () => void;
        session: ChatSessionMetadata;
        unreadState: UnreadStateProvider;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Actions shown in the item's action bar on hover/focus, already filtered and sorted.

    chatAgentService: ChatAgentService
    chatService: ChatService
    formatTimeAgo: (date: number) => string
    hoverService: HoverService
    isRestored: boolean

    Whether the session is restored from disk (true) or actively loaded in the chat service (false).

    markdownRenderer: MarkdownRenderer
    onAction?: (action: ChatSessionItemAction, session: ChatSessionMetadata) => void

    Invoked when an action is triggered, with the action and this item's session.

    onClick: () => void
    unreadState: UnreadStateProvider