Spotter chat history sidebar customization
The SDK introduces the SpotterSidebarViewConfig interface and the spotterSidebarConfig object with configuration controls to customize the appearance and contents of the chat history panel. Developers can use the following properties in the spotterSidebarConfig object to enable or disable chat history panel and customize the contents of the sidebar when enabled:
-
enablePastConversationsSidebar
Controls the visibility of the past conversations sidebar panel. The chat history panel is disabled by default in embed view. When this property inspotterSidebarConfigis specified, it takes precedence over the standaloneenablePastConversationsSidebarsetting, which is deprecated from v1.47.0. -
spotterSidebarTitle
Allows adding custom title text for the sidebar header. -
spotterSidebarDefaultExpanded
Sets the default state of the sidebar to expanded or collapsed view. -
spotterChatRenameLabel
Allows setting a custom label for the Rename action in the conversation edit menu. -
spotterChatDeleteLabel
Allows setting a custom label for the Delete action in the conversation edit menu. -
spotterDeleteConversationModalTitle
Allows editing the title text of the chat delete confirmation modal. -
spotterPastConversationAlertMessage
Sets a custom message text for the past conversation banner alert. Defaults to the translated alert message. -
spotterBestPracticesLabel
Allows customizing the label for the best practices button in the sidebar footer. -
spotterDocumentationUrl
The best practices documentation link shown in the sidebar footer. You can customize the link by specifying the full URL. -
spotterConversationsBatchSize
Sets the number of conversations to fetch per batch when loading conversation history. Default is30. -
spotterNewChatButtonTitle
Allows customizing the title text for the New chat button in the sidebar.