LLMs.txt: Complete documentation index for AI agents
Customize home page experience

Customize home page experience

Developers can customize the home page experience in full application embedding to show either the modular home page experience or the focused home page experience, using the homePage attribute in the discoveryExperience object.

Home page customization settingsπŸ”—

The following customization settings are available in the SDK to configure the home page experience for the embedding application users:

  • HomePage.ModularWithStylingChanges (Default)
    Enables the modular home page experience with customizable components, styling options, and enhanced layout. This experience includes charts in the Watchlist module that are arranged horizontally. Each chart includes menu actions to remove the KPI charts from the watchlist and create alerts, and allows drag-and-drop reordering.

  • HomePage.Focused
    Enables the focused home page experience, which consolidates the Watchlist and Recents sections into a single, focused view.

To customize the layout and visibility of the home page contents, the SDK provides the following settings:

FeatureModular homepage experienceFocused homepage experience

hideHomepageLeftNav
Hides the left navigation panel on the home page.

βœ“ Supported

βœ“ Supported

hiddenHomepageModules
Hides specific modules on the home page.

βœ“ Supported

x Not supported

reorderedHomepageModules
Reorders modules on the home page.

βœ“ Supported

x Not supported

homePageModules
Specifies which modules to show on the home page.

βœ“ Supported

x Not supported

homePageSearchBarMode
Sets the search experience on the home page.

βœ“ Supported

x Not supported
If Spotter is enabled on your instance, the Spotter interface is set as the default experience in the focused home page layout.

Modular home page experienceπŸ”—

By default, the homePage attribute is set to HomePage.ModularWithStylingChanges in the discoveryExperience object. This enables the modular layout, which includes components such as Search, Spotter (if Spotter is enabled), Watchlist, Library, Trending, and Learning in home page view.

  • The Search module is displayed by default in the embed view. If Spotter is enabled in your instance, you can configure the home page search experience to show the Spotter AI search interface.

  • The charts in the Watchlist module are arranged horizontally. Each chart includes menu actions to remove the KPI charts from the watchlist and create alerts, and allows drag-and-drop reordering.

  • The Trending module displays Liveboards and Answers trending over the last 15 days, or based on overall views, or both.

  • The Library module displays the objects available to the user.

Modular home page experience

Modular home page experience

Focused home page experienceπŸ”—

The focused home page provides a contemporary experience that highlights the most relevant content immediately. It provides quick access to the Spotter interface and consolidates the Watchlist KPIs and Recents sections into a unified, focused layout.

To enable this layout in your embed, set the homePage attribute to HomePage.Focused in the discoveryExperience object.

Note

The focused home page experience requires Spotter to be enabled on your instance. If Spotter is not enabled, the embed always renders the modular home page experience, regardless of the homePage value set in discoveryExperience.

// Import required components and enums
import {
    AppEmbed,
    HomePage // Enum for home page experience settings
} from '@thoughtspot/visual-embed-sdk';

const embed = new AppEmbed("#embed", {
     discoveryExperience: {
         homePage: HomePage.Focused, // Enable focused home page experience
     },
     showPrimaryNavbar: true,
     //... other embed view configuration attributes
});

Focused home page experience

Focused home page experience

Customizing home page modulesπŸ”—

If you are using the modular home page experience, you can hide specific modules or change the order of the modules using the hiddenHomepageModules and reorderedHomepageModules configuration attributes in the SDK.

Both the hiddenHomepageModules and reorderedHomepageModules properties require you to specify the home page modules that you want to hide or reorder in the HomepageModule[] array. Valid values include:

ValueDescription

HomepageModule.Watchlist

The Watchlist module showing the objects added to the user’s watchlist.

HomepageModule.MyLibrary

The My Library module showing user’s content.

HomepageModule.Learning

The Learning module with onboarding content.

HomepageModule.Trending

The Trending module showing trending content.

HomepageModule.Search

The Search module showing the object search bar.

HomepageModule.Favorite

The Favorites list showing the user’s favorite objects in the left navigation panel.

Example
import {
    AppEmbed, // Main class to embed the full ThoughtSpot app
    HomePage, // Enum for home page experience settings
    HomepageModule // Enum for home page modules
} from '@thoughtspot/visual-embed-sdk';

const embed = new AppEmbed("#embed", {
    discoveryExperience: {
        homePage: HomePage.ModularWithStylingChanges, // Enables the modular home page.
    },
    // Hide modules from the home page
    hiddenHomepageModules: [
        HomepageModule.Learning,
        HomepageModule.Trending
    ],
    // Custom order for visible modules
    reorderedHomepageModules: [
        HomepageModule.Search,
        HomepageModule.Favorite,
        HomepageModule.Watchlist,
        HomepageModule.MyLibrary
    ],
    //... other view configuration properties
});

Customize the search module on the home pageπŸ”—

In the modular home page experience, you can customize the search experience using the homePageSearchBarMode parameter. By default, the modular home page includes the object search bar that allows finding popular objects. If Spotter is enabled on your instance, you can replace the search module with the Spotter AI search interface instead. You can also choose to hide the search bar from the home page.

Search bar modeDescription

HomePageSearchBarMode.AI_ANSWER

Enables the Spotter search module that allows you to ask questions in natural language.

HomePageSearchBarMode.OBJECT_SEARCH

Enables object search that allows users to find objects from the library. Default experience in the modular home page layout. To use Spotter search, set HomePageSearchBarMode.AI_ANSWER.

HomePageSearchBarMode.NONE

Hides the search bar on the home page. Note that it only hides the Search bar on the Home page and doesn’t affect the Object Search bar visibility on the top navigation bar.

Note

The home page search bar customization setting does not apply to the focused home page layout.

ExampleπŸ”—

The following example shows a code snippet to set the home page search bar mode to Spotter or AI search:

Modular home page experience
import {
    AppEmbed,
    HomePage, // Enum for home page experience settings
    HomePageSearchBarMode // Import the enum for search bar mode options
} from '@thoughtspot/visual-embed-sdk';

const embed = new AppEmbed("#embed", {
    discoveryExperience: {
        homePage: HomePage.ModularWithStylingChanges // Enable modular home page experience
    },
    // Set the home page search bar to show the Spotter / AI search bar
    homePageSearchBarMode: HomePageSearchBarMode.AI_ANSWER
    // Other view configuration attributes
});
Β© 2026 ThoughtSpot Inc. All Rights Reserved.