Hierarchy

  • TreeWidget
    • ChatViewTreeWidget

Constructors

Properties

_scrollButtonDebounceTimer?: number

Timer for debouncing the scroll button activation (prevents flicker on auto-scroll). If user scrolls up, this delays showing the button in case auto-scroll-to-bottom kicks in.

_shouldScrollToEnd: boolean = true
_showScrollButton: boolean = false

Track the visibility of the scroll button with debounce logic. Used to prevent flickering when streaming tokens.

activationService: AIActivationService
atBottom: boolean = true

Tracks if we are at the bottom for showing the scroll-to-bottom button.

chatAgentService: ChatAgentService
chatInputs: Map<string, AIChatTreeInputWidget> = ...
chatModelId: string
chatNodeToolbarActionContributions: ContributionProvider<ChatNodeToolbarActionContribution>
chatResponsePartRenderers: ContributionProvider<ChatResponsePartRenderer<ChatResponseContent>>
chatService: ChatService
commandRegistry: CommandRegistry
hoverService: HoverService
inputWidgetFactory: AIChatTreeInputFactory
isEnabled: boolean = false
lastScrollTop: number = 0
onDidSubmitEdit: Event<ChatRequest> = ...
onDidSubmitEditEmitter: Emitter<ChatRequest> = ...
onScrollLockChange?: ((temporaryLocked) => void)

Type declaration

    • (temporaryLocked): void
    • Parameters

      • temporaryLocked: boolean

      Returns void

openerService: OpenerService
toDisposeOnChatModelChange: DisposableCollection = ...
variableService: AIVariableService
welcomeMessageProvider?: ChatWelcomeMessageProvider
CONTEXT_MENU: string[] = ...
ID: "chat-tree-widget" = 'chat-tree-widget'
SCROLL_BUTTON_GRACE_PERIOD: 100 = 100

Debounce period in ms before showing scroll-to-bottom button after scrolling up. Avoids flickering of the button during LLM token streaming.

Accessors

Methods