Skip to content

SCAL-335453-POC Flatten app init payload and simplify the spotter init-data builders - #656

Open
shivam-kumar-ts wants to merge 2 commits into
mainfrom
SCAL-335453
Open

SCAL-335453-POC Flatten app init payload and simplify the spotter init-data builders#656
shivam-kumar-ts wants to merge 2 commits into
mainfrom
SCAL-335453

Conversation

@shivam-kumar-ts

Copy link
Copy Markdown
Contributor

No description provided.

@shivam-kumar-ts
shivam-kumar-ts requested a review from a team as a code owner September 5, 2026 12:16

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request flattens the APP_INIT payload structure across various embed components (such as AppEmbed, SpotterEmbed, LiveboardEmbed, and SearchEmbed) by moving properties like spotterSidebarConfig, spotterVizConfig, spotterShareConversationConfig, starterPrompts, and visualOverridesParams out of the nested embedParams object and directly to the top-level data structure. Corresponding utility functions and unit tests have been updated to reflect this change. Feedback is provided regarding several JSDoc comments that use the British spelling 'initialisation' instead of the American English 'initialization', violating the repository style guide.

Comment thread src/embed/app.ts Outdated
Comment thread src/embed/conversation.ts Outdated
Comment thread src/embed/spotter-utils.ts Outdated
Comment thread src/embed/spotter-utils.ts Outdated
Comment thread src/embed/spotter-utils.ts Outdated
Comment thread src/embed/spotter-viz-utils.ts Outdated
@pkg-pr-new

pkg-pr-new Bot commented Sep 5, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@thoughtspot/visual-embed-sdk@656

commit: cf0491e

@shivam-kumar-ts shivam-kumar-ts changed the title SCAL-335453 Flatten app init payload and simplify the spotter init-data builders SCAL-335453-POC Flatten app init payload and simplify the spotter init-data builders Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant