Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
8 changes: 4 additions & 4 deletions src/embed/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,11 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
isOnBeforeGetVizDataInterceptEnabled?: boolean;
/**
* Flag to use home page search bar mode
* @version SDK : 1.33.0 | Thoughtspot : 10.2.0.cl
* @version SDK : 1.33.0 | Thoughtspot : 10.3.0.cl
*/
homePageSearchBarMode?: HomePageSearchBarMode;
/**
* This flag is used to enable the compact header in liveboard
* This flag can be used to enable the compact header in Liveboard
* @type {boolean}
* @default false
* @version SDK: 1.35.0 | ThoughtSpot:10.3.0.cl
Expand All @@ -404,7 +404,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
*/
isLiveboardCompactHeaderEnabled?: boolean;
/**
* This flag is used to show/hide verified Icon in liveboard compact header
* This flag can be used to show or hide the Liveboard verified icon in the compact header.
* @type {boolean}
* @default true
* @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
Expand All @@ -418,7 +418,7 @@ export interface AppViewConfig extends Omit<ViewConfig, 'visibleTabs'> {
*/
showLiveboardVerifiedBadge?: boolean;
/**
* This flag is used to show/hide re-verify banner in liveboard compact header
* This flag can be used to show or hide the re-verify banner on the Liveboard compact header
* @type {boolean}
* @default true
* @version SDK: 1.35.0 | ThoughtSpot:10.4.0.cl
Expand Down
18 changes: 9 additions & 9 deletions src/errors.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
export const ERROR_MESSAGE = {
INVALID_THOUGHTSPOT_HOST: 'Error parsing ThoughtSpot host. Please provide a valid URL.',
LIVEBOARD_VIZ_ID_VALIDATION: 'Please select a liveboard to embed.',
TRIGGER_TIMED_OUT: 'Trigger timedout in getting response',
SEARCHEMBED_BETA_WRANING_MESSAGE: 'Search Embed is in Beta in this release.',
SAGE_EMBED_BETA_WARNING_MESSAGE: 'Sage Embed is in Beta in this release.',
THIRD_PARTY_COOKIE_BLOCKED_ALERT: 'Third party cookie access is blocked on this browser, please allow third party cookies for this to work properly. \nYou can use `suppressNoCookieAccessAlert` to suppress this message.',
DUPLICATE_TOKEN_ERR: 'Duplicate token, please issue a new token every time getAuthToken callback is called. See https://developers.thoughtspot.com/docs/?pageid=embed-auth#trusted-auth-embed for more details.',
LIVEBOARD_VIZ_ID_VALIDATION: 'Please select a Liveboard to embed.',
TRIGGER_TIMED_OUT: 'Trigger timed-out in getting a response',
SEARCHEMBED_BETA_WRANING_MESSAGE: 'SearchEmbed is in Beta in this release.',
SAGE_EMBED_BETA_WARNING_MESSAGE: 'SageEmbed is in Beta in this release.',
THIRD_PARTY_COOKIE_BLOCKED_ALERT: 'Third-party cookie access is blocked on this browser. Please allow third-party cookies for this to work properly. \nYou can use `suppressNoCookieAccessAlert` to suppress this message.',
DUPLICATE_TOKEN_ERR: 'Duplicate token. Please issue a new token every time getAuthToken callback is called. See https://developers.thoughtspot.com/docs/?pageid=embed-auth#trusted-auth-embed for more details.',
SDK_NOT_INITIALIZED: 'SDK not initialized',
SESSION_INFO_FAILED: 'Failed to get session info',
SESSION_INFO_FAILED: 'Failed to get session information',
INVALID_TOKEN_ERROR: 'Received invalid token from getAuthToken callback or authToken endpoint.',
MIXPANEL_TOKEN_NOT_FOUND: 'Mixpanel token not found in session info',
PRERENDER_ID_MISSING: 'PreRender id is required for preRender',
PRERENDER_ID_MISSING: 'PreRender ID is required for preRender',
SYNC_STYLE_CALLED_BEFORE_RENDER: 'PreRender should be called before using syncPreRenderStyle',
CSP_VIOLATION_ALERT: 'CSP violation detected. Please check the console errors for more details.',
CSP_FRAME_HOST_VIOLATION_LOG_MESSAGE: 'Please setup CSP Correctly for the Application to start working. You can know more about setting CSP Correctly here: https://developers.thoughtspot.com/docs/security-settings#csp-viz-embed-hosts. \n In case you are still facing error, please read: https://developers.thoughtspot.com/docs/security-settings#csp-viz-embed-hosts',
CSP_FRAME_HOST_VIOLATION_LOG_MESSAGE: 'Please set up CSP correctly for the application to start working. For more information, see https://developers.thoughtspot.com/docs/security-settings#csp-viz-embed-hosts. \n If the issue persists, refer to https://developers.thoughtspot.com/docs/security-settings#csp-viz-embed-hosts',
MISSING_REPORTING_OBSERVER: 'ReportingObserver not supported',
};
7 changes: 4 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2182,7 +2182,7 @@ export enum EmbedEvent {
*
* error: Developers can customize the user facing message when execute is
* set to false using the error parameter in responder
* @version SDK : 1.29.0 | Thoughtspot : 10.2.0.cl
* @version SDK : 1.29.0 | Thoughtspot : 10.3.0.cl
* @example
*```js
* .on(EmbedEvent.OnBeforeGetVizDataIntercept,
Expand Down Expand Up @@ -2230,7 +2230,7 @@ export enum EmbedEvent {
* console.log('payload', payload);
* })
*```
* @version SDK : 1.29.0 | Thoughtspot : 10.2.0.cl
* @version SDK : 1.29.0 | Thoughtspot : 10.3.0.cl
*/
ParameterChanged = 'parameterChanged',
}
Expand Down Expand Up @@ -2962,7 +2962,8 @@ export enum HostEvent {
*
* `values` - An array of one or several values. The value definition on the
* data type you choose to filter on. For a complete list of supported data types, see
* link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Supported data types]
* link:https://developers.thoughtspot.com/docs/runtime-filters#_supported_data_types[Supported data types].
*
* `type` - To update filters for date time, specify the date format type.
* For more information and examples, see link:https://developers.thoughtspot.com/docs/embed-liveboard#_date_filters[Date filters].
*
Expand Down
Loading
Loading