File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,22 @@ export enum HomePage {
109109 Modular = 'v2' ,
110110}
111111
112+ /**
113+ * Define the version of the list page
114+ * @version SDK: 1.40.0 | ThoughtSpot: 10.12.0.cl
115+ */
116+ export enum ListPage {
117+ /**
118+ * List (v2) introduces the updated List Experience.
119+ * It serves as the foundational version of the list page.
120+ */
121+ List = 'v2' ,
122+ /**
123+ * ListWithUXChanges (v3) introduces UX changes to the list page.
124+ */
125+ ListWithUXChanges = 'v3' ,
126+ }
127+
112128/**
113129 * Define the discovery experience
114130 * @version SDK: 1.40.0 | ThoughtSpot: 10.11.0.cl
@@ -122,6 +138,10 @@ export interface DiscoveryExperience {
122138 * homePage determines the version of the home page.
123139 */
124140 homePage ?: HomePage ;
141+ /**
142+ * listPageVersion determines the version of the list page.
143+ */
144+ listPageVersion ?: ListPage ;
125145}
126146
127147/**
@@ -698,6 +718,11 @@ export class AppEmbed extends V1Embed {
698718 if ( discoveryExperience . homePage === HomePage . Modular ) {
699719 params [ Param . ModularHomeExperienceEnabled ] = true ;
700720 }
721+
722+ // listPageVersion will set the version of the list page experience
723+ if ( discoveryExperience . listPageVersion ) {
724+ params [ Param . ListPageVersion ] = discoveryExperience . listPageVersion ;
725+ }
701726 }
702727
703728 const queryParams = getQueryParamString ( params , true ) ;
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {
1515 HomePageSearchBarMode ,
1616 PrimaryNavbarVersion ,
1717 HomePage ,
18+ ListPage ,
1819 DataPanelCustomColumnGroupsAccordionState ,
1920} from './embed/app' ;
2021import {
@@ -141,6 +142,7 @@ export {
141142 HomePageSearchBarMode ,
142143 PrimaryNavbarVersion ,
143144 HomePage ,
145+ ListPage ,
144146 VizPoint ,
145147 CustomActionPayload ,
146148 UIPassthroughEvent ,
Original file line number Diff line number Diff line change @@ -3876,6 +3876,7 @@ export enum Param {
38763876 Query = 'query' ,
38773877 HideHomepageLeftNav = 'hideHomepageLeftNav' ,
38783878 ModularHomeExperienceEnabled = 'modularHomeExperience' ,
3879+ ListPageVersion = 'listPageVersion' ,
38793880 PendoTrackingKey = 'additionalPendoKey' ,
38803881 LiveboardHeaderSticky = 'isLiveboardHeaderSticky' ,
38813882 IsProductTour = 'isProductTour' ,
You can’t perform that action at this time.
0 commit comments