nextspace
    Preparing search index...

    Function Transcript

    • Transcript component - Sidebar style

      This component renders a live transcript of messages as a sidebar that spans full height. Opens/closes with a toggle button at the top, displays as a thin sliver when closed.

      Parameters

      • props: {
            category?: string;
            conversationId: string;
            focusTimeRange?: { end: Date; start: Date } | null;
            lastReconnectTime?: number | null;
            showControls?: boolean;
            socket: Socket<DefaultEventsMap, DefaultEventsMap> | null;
            transcriptPasscode?: string;
        }
        • Optionalcategory?: string
        • conversationId: string
        • OptionalfocusTimeRange?: { end: Date; start: Date } | null
        • OptionallastReconnectTime?: number | null

          Pass the lastReconnectTime value from useSessionJoin. When this changes to a non-null value the transcript will re-fetch its message history from the REST API to fill any gap that occurred while the socket was disconnected.

        • OptionalshowControls?: boolean
        • socket: Socket<DefaultEventsMap, DefaultEventsMap> | null
        • OptionaltranscriptPasscode?: string

      Returns Element