Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/embed/conversation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,21 @@
* @version SDK: 1.36.0 | ThoughtSpot: 10.6.0.cl
*/
hideSampleQuestions?: boolean;
/**
* enablePastConversationsSidebar : Controls the visibility of the past conversations sidebar.

Check warning on line 108 in src/embed/conversation.ts

View workflow job for this annotation

GitHub Actions / build

Comments may not exceed 90 characters
*
* Supported embed types: `SpotterEmbed`
* @default false
* @example
* ```js
* const embed = new SpotterEmbed('#tsEmbed', {
* ... //other embed view config
* enablePastConversationsSidebar : true,
* })
* ```
* @version SDK: 1.36.0 | ThoughtSpot: 10.5.0.cl
*/
enablePastConversationsSidebar?: boolean;
/**
* The list of runtime filters to apply to a search Answer,
* visualization, or Liveboard.
Expand Down Expand Up @@ -204,6 +219,7 @@
hideSourceSelection,
dataPanelV2,
showSpotterLimitations,
enablePastConversationsSidebar,
hideSampleQuestions,
runtimeFilters,
excludeRuntimeFiltersfromURL,
Expand Down Expand Up @@ -235,6 +251,10 @@
queryParams[Param.HideSampleQuestions] = !!hideSampleQuestions;
}

if (!isUndefined(enablePastConversationsSidebar)) {
queryParams[Param.EnablePastConversationsSidebar] = !!enablePastConversationsSidebar;
}

let query = '';
const queryParamsString = getQueryParamString(queryParams, true);
if (queryParamsString) {
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
* @deprecated Use {@link SAMLRedirect} instead
* @hidden
*/
SAML = 'SSO_SAML',

Check warning on line 60 in src/types.ts

View workflow job for this annotation

GitHub Actions / build

Duplicate enum member value SSO_SAML
/**
* SSO using SAML
* Makes the host application redirect to the SAML IdP. Use this
Expand Down Expand Up @@ -102,7 +102,7 @@
* });
* ```
*/
SAMLRedirect = 'SSO_SAML',

Check warning on line 105 in src/types.ts

View workflow job for this annotation

GitHub Actions / build

Duplicate enum member value SSO_SAML
/**
* SSO using OIDC
* @hidden
Expand All @@ -114,7 +114,7 @@
* Will make the host application redirect to the OIDC IdP.
* See code samples in {@link SAMLRedirect}.
*/
OIDCRedirect = 'SSO_OIDC',

Check warning on line 117 in src/types.ts

View workflow job for this annotation

GitHub Actions / build

Duplicate enum member value SSO_OIDC
/**
* Trusted authentication server
* @hidden
Expand All @@ -138,7 +138,7 @@
* });
* ```
*/
TrustedAuthToken = 'AuthServer',

Check warning on line 141 in src/types.ts

View workflow job for this annotation

GitHub Actions / build

Duplicate enum member value AuthServer
/**
* Trusted authentication server Cookieless, Use your own authentication
* server which returns a bearer token, generated using the `secret_key`
Expand Down Expand Up @@ -1094,7 +1094,7 @@
* Hide list page columns
* For example: hiddenListColumns = [ListPageColumns.Author]
*
* **Note**: This option is currently available only in full app embedding and requires importing the ListPageColumns enum.

Check warning on line 1097 in src/types.ts

View workflow job for this annotation

GitHub Actions / build

Comments may not exceed 90 characters
* At present, it can be used with Liveboard and Answer list pages, and starting with version 10.14.0.cl, it will also be supported for the Home page.
*
* Supported embed types: `AppEmbed`
Expand Down Expand Up @@ -4316,6 +4316,7 @@
IsLiveboardStylingAndGroupingEnabled = 'isLiveboardStylingAndGroupingEnabled',
IsLazyLoadingForEmbedEnabled = 'isLazyLoadingForEmbedEnabled',
RootMarginForLazyLoad = 'rootMarginForLazyLoad',
EnablePastConversationsSidebar = 'enablePastConversationsSidebar',
LiveboardXLSXCSVDownload = 'isLiveboardXLSXCSVDownloadEnabled',
}

Expand Down
Loading