From 85be4924e1cf8b1845d19df008eeb644cb5375a6 Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Wed, 30 Jul 2025 14:14:14 +0530 Subject: [PATCH 01/13] deprecation note --- modules/ROOT/pages/deprecated-features.adoc | 14 ++++++++++++++ modules/ROOT/pages/variables.adoc | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/deprecated-features.adoc b/modules/ROOT/pages/deprecated-features.adoc index 6af1317a0..cc0c3e9ad 100644 --- a/modules/ROOT/pages/deprecated-features.adoc +++ b/modules/ROOT/pages/deprecated-features.adoc @@ -14,6 +14,9 @@ As ThoughtSpot applications evolve, some existing features will be deprecated an [options='header'] |===== |Feature|Impacted interface and release versions|Deprecation date |End of Support / removal from the product +a|xref:deprecated-features.adoc#restApiPlayground[REST API v1 Playground] a| ThoughtSpot Cloud 10.14.0.cl and later +|November 2025 | November 2025 + a|xref:deprecated-features.adoc#SageDeprecationNotice[Sage Search and Ask Sage] a| * ThoughtSpot Cloud 10.13.0.cl and later * Visual Embed SDK version 1.40.0 and later @@ -73,6 +76,17 @@ a|xref:deprecated-features.adoc#_deprecated_parameter_in_rest_api_v2_0_authentic |||| |===== +[#restApiPlayground] +== REST API v1 Playground deprecation + +The REST API v1 Playground experience that is currently available from the *Develop* page of ThoughtSpot UI will be deprecated in the 10.14.0.cl release version. + +Impact on your instance:: +This change only removes the REST API v1 Playground from the *Develop* page in the ThoughtSpot UI. The REST API v1 endpoints will remain available for API calls from client applications and will continue to function as usual. + +Recommended action:: +If REST API v1 Playground experience is not available in the *Develop* page of the UI on your instance, ThoughtSpot recommends using the xref:rest-api-reference.adoc[REST API v1 Reference Guide] for information about the REST v1 API endpoints, request and response flows. Additionally, we recommend that you gradually migrate your application workflows to use REST API v2 endpoints because the v2 framework is frequently updated with new enhancements, bug fixes and also provides a standardized API experience. + [#SageDeprecationNotice] == Sage and Ask Sage deprecation diff --git a/modules/ROOT/pages/variables.adoc b/modules/ROOT/pages/variables.adoc index f1c95abf6..cefffeb5d 100644 --- a/modules/ROOT/pages/variables.adoc +++ b/modules/ROOT/pages/variables.adoc @@ -33,7 +33,7 @@ To map Tables properties to variables. * `CONNECTION_PROPERTY` + To define variables for connection properties. This variable allows editing connection properties such as `accountName`, `warehouse`, `user`, `password`, `role` and so on. * `CONNECTION_PROPERTY_PER_PRINCIPAL` + -To define variables for connection properties per user or user group. This variable allows modifying connection properties such as `warehouse`, `role`, `user`, `password`. The `CONNECTION_PROPERTY_PER_PRINCIPLE` variables d not support modifying core connection properties such as `accountName`, `host`, or `port`. These properties must be derived from the connection configuration and cannot be set per user or user group. +To define variables for connection properties per user or user group. This variable allows modifying connection properties such as `warehouse`, `role`, `user`, `password`. The `CONNECTION_PROPERTY_PER_PRINCIPLE` variable does not support modifying core connection properties such as `accountName`, `host`, or `port`. These properties must be derived from the connection configuration and cannot be set per user or user group. [NOTE] This feature is disabled by default. To enable this option, contact ThoughtSpot Support. From a643a090c3921db62057936df8c797a7dc7ce509 Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Wed, 30 Jul 2025 14:37:29 +0530 Subject: [PATCH 02/13] margin space --- src/assets/styles/index.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 0e5ac1d15..12dfb9a35 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -49,6 +49,12 @@ strong, b { font-weight: bold; } +.anchor { + display: block; + padding-top: 80px; /* height of sticky header */ + margin-top: -80px; +} + a { text-decoration: none; } From cceefebed1cfec3a001c02122241edb377cb47f6 Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Wed, 30 Jul 2025 14:46:14 +0530 Subject: [PATCH 03/13] header scroll issue --- src/assets/styles/index.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 12dfb9a35..e820dc3d3 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -20,6 +20,7 @@ html { scroll-behavior: smooth; + scroll-padding-top: 80px; /* match header height */ } body { From 6ae4611c9bdabf640f86939124efdf4bc6129881 Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Wed, 30 Jul 2025 15:16:00 +0530 Subject: [PATCH 04/13] header margin fix --- src/assets/styles/index.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index e820dc3d3..210d23308 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -20,7 +20,7 @@ html { scroll-behavior: smooth; - scroll-padding-top: 80px; /* match header height */ + scroll-padding-top: 40px; /* match header height */ } body { @@ -587,7 +587,8 @@ a.anchor { visibility: hidden; font-size: 0.8em; font-weight: 400; - padding-top: 0.05em; + padding-top: 80px; /* header height */ + margin-top: -80px; } .introCard { From bbe326207b4453f2862a24aeef461b332c7a571f Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Wed, 30 Jul 2025 15:26:01 +0530 Subject: [PATCH 05/13] css changes --- src/assets/styles/index.scss | 4 ++-- src/components/Document/index.scss | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 210d23308..b94a12d1a 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -42,6 +42,8 @@ main.withHeaderFooter { overflow: hidden; } + + * { box-sizing: border-box; } @@ -587,8 +589,6 @@ a.anchor { visibility: hidden; font-size: 0.8em; font-weight: 400; - padding-top: 80px; /* header height */ - margin-top: -80px; } .introCard { diff --git a/src/components/Document/index.scss b/src/components/Document/index.scss index 21300cf0f..99437fc70 100644 --- a/src/components/Document/index.scss +++ b/src/components/Document/index.scss @@ -17,6 +17,24 @@ display: none; } + [id]:target::before { + display: block; + height: 65px; /* match header height */ + margin-top: -65px; + visibility: hidden; + } + + /* Optional: apply scroll-margin to headings */ + h1[id], + h2[id], + h3[id], + h4[id], + h5[id], + h6[id] { + scroll-margin-top: 65px; + } + + h1 { margin-top: 0; } @@ -175,6 +193,8 @@ } } + + h2 { margin-top: $margin-lg; padding-bottom: $padding-sm; From 82ac2c5b7adcfa478589d10b9822671c2cf4ccb6 Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Wed, 30 Jul 2025 15:38:07 +0530 Subject: [PATCH 06/13] anchor links margin height --- src/components/Document/index.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Document/index.scss b/src/components/Document/index.scss index 99437fc70..e5e6da680 100644 --- a/src/components/Document/index.scss +++ b/src/components/Document/index.scss @@ -19,8 +19,8 @@ [id]:target::before { display: block; - height: 65px; /* match header height */ - margin-top: -65px; + height: 70px; /* match header height */ + margin-top: -70px; visibility: hidden; } @@ -31,7 +31,7 @@ h4[id], h5[id], h6[id] { - scroll-margin-top: 65px; + scroll-margin-top: 70px; } From 8963e815255cac441bdf07ec52ba303546e34d7d Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Wed, 30 Jul 2025 16:00:24 +0530 Subject: [PATCH 07/13] scroll properties --- src/components/Document/index.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/Document/index.scss b/src/components/Document/index.scss index e5e6da680..7adb26298 100644 --- a/src/components/Document/index.scss +++ b/src/components/Document/index.scss @@ -34,6 +34,14 @@ scroll-margin-top: 70px; } + .scroll-container { + scroll-behavior: smooth; + scroll-padding-top: 65px; + } + .scroll-container h2[id], + .scroll-container h3[id] { + scroll-margin-top: 65px; + } h1 { margin-top: 0; From bd1a0335b8135e29843f09fedb0b2e86b79c62cd Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Mon, 4 Aug 2025 21:55:07 +0530 Subject: [PATCH 08/13] link issue fixes --- modules/ROOT/pages/embed-actions.adoc | 1 + modules/ROOT/pages/whats-new.adoc | 2 +- src/assets/styles/index.scss | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/embed-actions.adoc b/modules/ROOT/pages/embed-actions.adoc index b7587e859..01ab782fd 100644 --- a/modules/ROOT/pages/embed-actions.adoc +++ b/modules/ROOT/pages/embed-actions.adoc @@ -180,6 +180,7 @@ For example, if a custom action is labeled as *Send Email* and its ID is set as hiddenActions: ['send-email'] ---- +[#primaryAction] == Override default primary actions For Liveboards embedded in your app, the Visual Embed SDK provides the `primaryAction` attribute that allows you to override the default action assigned to the primary button on Liveboard visualizations. diff --git a/modules/ROOT/pages/whats-new.adoc b/modules/ROOT/pages/whats-new.adoc index 41894fdfc..f80823d93 100644 --- a/modules/ROOT/pages/whats-new.adoc +++ b/modules/ROOT/pages/whats-new.adoc @@ -29,7 +29,7 @@ For a complete list of events, see the following pages: You can now override the action assigned to the primary button that appears on visualization tiles of an embedded Liveboard. The `primaryAction` parameter in the Visual Embed SDK allows developers to set that primary action for the embedded Liveboard visualizations. -For more information, see xref:embed-actions.adoc#_override_default_primary_actions[Override default primary action]. +For more information, see xref:embed-actions.adoc#primaryAction[Override default primary action]. === Enhancements to the API response format for Liveboards diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index b94a12d1a..c5dccb4d0 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -58,6 +58,10 @@ strong, b { margin-top: -80px; } +.anchor-link { + scroll-margin: 120px; +} + a { text-decoration: none; } From de4a2b4f71ea6f60c88d41ec147224d164370940 Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Thu, 7 Aug 2025 10:26:14 +0530 Subject: [PATCH 09/13] anchor link plugin --- gatsby-config.js | 8 ++++++++ package.json | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index 166faf087..51d83141a 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -247,5 +247,13 @@ module.exports = { debug: false, }, }, + 'gatsby-plugin-anchor-links', + { + resolve: 'gatsby-plugin-anchor-links', + options: { + offset: -100, // adjust for fixed headers if needed + duration: 1000, + }, + }, ], }; diff --git a/package.json b/package.json index b325c9970..5cb1319a2 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "algoliasearch": "^4.10.5", "classnames": "^2.3.1", "eventemitter3": "^4.0.7", + "gatsby-plugin-anchor-links": "^1.2.1", "gatsby-plugin-vercel": "^1.0.3", "gatsby-source-git": "^1.1.0", "html-react-parser": "^1.4.12", @@ -74,7 +75,6 @@ "identity-obj-proxy": "^3.0.0", "jest": "^26.6.3", "jsdom": "^17.0.0", - "sass": "^1.80.6", "prettier": "2.1.2", "react": "^18.0.0", "react-dom": "^18.0.0", @@ -83,6 +83,7 @@ "react-resize-detector": "^9.x.0", "react-test-renderer": "^18.0.x", "react-use-flexsearch": "^0.1.1", + "sass": "^1.80.6", "ts-jest": "^26.5.5", "ts-node": "^10.9.1", "tsx": "^4.7.1", From 0a9dc3da923f0ded4da9f765ef9dcb2e191e5be7 Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Thu, 7 Aug 2025 11:31:07 +0530 Subject: [PATCH 10/13] revert --- gatsby-config.js | 8 -------- package.json | 5 ++--- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 51d83141a..166faf087 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -247,13 +247,5 @@ module.exports = { debug: false, }, }, - 'gatsby-plugin-anchor-links', - { - resolve: 'gatsby-plugin-anchor-links', - options: { - offset: -100, // adjust for fixed headers if needed - duration: 1000, - }, - }, ], }; diff --git a/package.json b/package.json index 5cb1319a2..d0759507f 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "algoliasearch": "^4.10.5", "classnames": "^2.3.1", "eventemitter3": "^4.0.7", - "gatsby-plugin-anchor-links": "^1.2.1", "gatsby-plugin-vercel": "^1.0.3", "gatsby-source-git": "^1.1.0", "html-react-parser": "^1.4.12", @@ -75,6 +74,7 @@ "identity-obj-proxy": "^3.0.0", "jest": "^26.6.3", "jsdom": "^17.0.0", + "sass": "^1.80.6", "prettier": "2.1.2", "react": "^18.0.0", "react-dom": "^18.0.0", @@ -83,7 +83,6 @@ "react-resize-detector": "^9.x.0", "react-test-renderer": "^18.0.x", "react-use-flexsearch": "^0.1.1", - "sass": "^1.80.6", "ts-jest": "^26.5.5", "ts-node": "^10.9.1", "tsx": "^4.7.1", @@ -106,4 +105,4 @@ "globals": { "window": {} } -} +} \ No newline at end of file From 04f8e1776f1556ee1f6b6a2e02d6bd0bead969af Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Thu, 7 Aug 2025 12:41:04 +0530 Subject: [PATCH 11/13] link text update --- modules/ROOT/pages/embed-actions.adoc | 1 - modules/ROOT/pages/whats-new.adoc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ROOT/pages/embed-actions.adoc b/modules/ROOT/pages/embed-actions.adoc index 01ab782fd..b7587e859 100644 --- a/modules/ROOT/pages/embed-actions.adoc +++ b/modules/ROOT/pages/embed-actions.adoc @@ -180,7 +180,6 @@ For example, if a custom action is labeled as *Send Email* and its ID is set as hiddenActions: ['send-email'] ---- -[#primaryAction] == Override default primary actions For Liveboards embedded in your app, the Visual Embed SDK provides the `primaryAction` attribute that allows you to override the default action assigned to the primary button on Liveboard visualizations. diff --git a/modules/ROOT/pages/whats-new.adoc b/modules/ROOT/pages/whats-new.adoc index f80823d93..41894fdfc 100644 --- a/modules/ROOT/pages/whats-new.adoc +++ b/modules/ROOT/pages/whats-new.adoc @@ -29,7 +29,7 @@ For a complete list of events, see the following pages: You can now override the action assigned to the primary button that appears on visualization tiles of an embedded Liveboard. The `primaryAction` parameter in the Visual Embed SDK allows developers to set that primary action for the embedded Liveboard visualizations. -For more information, see xref:embed-actions.adoc#primaryAction[Override default primary action]. +For more information, see xref:embed-actions.adoc#_override_default_primary_actions[Override default primary action]. === Enhancements to the API response format for Liveboards From 4a18388f97a69a7ebd2d60858cafc5004930ac1c Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Thu, 7 Aug 2025 13:55:00 +0530 Subject: [PATCH 12/13] deprecation note update --- modules/ROOT/pages/deprecated-features.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/deprecated-features.adoc b/modules/ROOT/pages/deprecated-features.adoc index cc0c3e9ad..9d53375fd 100644 --- a/modules/ROOT/pages/deprecated-features.adoc +++ b/modules/ROOT/pages/deprecated-features.adoc @@ -79,13 +79,13 @@ a|xref:deprecated-features.adoc#_deprecated_parameter_in_rest_api_v2_0_authentic [#restApiPlayground] == REST API v1 Playground deprecation -The REST API v1 Playground experience that is currently available from the *Develop* page of ThoughtSpot UI will be deprecated in the 10.14.0.cl release version. +The REST API v1 Playground experience that is currently available from the *Develop* page of the ThoughtSpot UI will be removed from the UI in the 10.14.0.cl release version. Impact on your instance:: -This change only removes the REST API v1 Playground from the *Develop* page in the ThoughtSpot UI. The REST API v1 endpoints will remain available for API calls from client applications and will continue to function as usual. +Only the REST API v1 Playground will be removed from the ThoughtSpot UI. However, the REST API v1 endpoints will still be available for API calls from client applications and will continue to function as usual. Recommended action:: -If REST API v1 Playground experience is not available in the *Develop* page of the UI on your instance, ThoughtSpot recommends using the xref:rest-api-reference.adoc[REST API v1 Reference Guide] for information about the REST v1 API endpoints, request and response flows. Additionally, we recommend that you gradually migrate your application workflows to use REST API v2 endpoints because the v2 framework is frequently updated with new enhancements, bug fixes and also provides a standardized API experience. +When the REST API v1 Playground is no longer available in the ThoughtSpot UI, use the xref:rest-api-reference.adoc[REST API v1 Reference Guide] for information about the REST API v1 endpoints, request and response flows. Additionally, we recommend gradually migrating your application workflows to REST API v2 endpoints. The REST API v2 framework is regularly updated with new enhancements and bug fixes, and also offers a more standardized API experience. [#SageDeprecationNotice] == Sage and Ask Sage deprecation From 6e3600da3e403451e7277eef6b3fc1f023cb7d6c Mon Sep 17 00:00:00 2001 From: ShashiSubramanya Date: Thu, 7 Aug 2025 14:15:48 +0530 Subject: [PATCH 13/13] edits --- modules/ROOT/pages/deprecated-features.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/deprecated-features.adoc b/modules/ROOT/pages/deprecated-features.adoc index 9d53375fd..368f08f25 100644 --- a/modules/ROOT/pages/deprecated-features.adoc +++ b/modules/ROOT/pages/deprecated-features.adoc @@ -85,7 +85,7 @@ Impact on your instance:: Only the REST API v1 Playground will be removed from the ThoughtSpot UI. However, the REST API v1 endpoints will still be available for API calls from client applications and will continue to function as usual. Recommended action:: -When the REST API v1 Playground is no longer available in the ThoughtSpot UI, use the xref:rest-api-reference.adoc[REST API v1 Reference Guide] for information about the REST API v1 endpoints, request and response flows. Additionally, we recommend gradually migrating your application workflows to REST API v2 endpoints. The REST API v2 framework is regularly updated with new enhancements and bug fixes, and also offers a more standardized API experience. +When the REST API v1 Playground is no longer available in the ThoughtSpot UI, use the xref:rest-api-reference.adoc[REST API v1 Reference Guide] for information about the REST API v1 endpoints, request and response flows. Additionally, ThoughtSpot recommends that you gradually migrate your application workflows to REST API v2 endpoints. The REST API v2 framework is regularly updated with new enhancements and bug fixes, and also offers a more standardized API experience. [#SageDeprecationNotice] == Sage and Ask Sage deprecation