Skip to content

SCAL-314421 Added overrideHistoryState flag to control iframe history behavior#538

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

SCAL-314421 Added overrideHistoryState flag to control iframe history behavior#538
shivam-kumar-ts wants to merge 2 commits into
mainfrom
SCAL-314421

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 May 24, 2026 16:47
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 24, 2026

Open in StackBlitz

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

commit: dfb72a0

Copy link
Copy Markdown
Contributor

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

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 introduces the overrideHistoryState parameter to the BaseViewConfig and Param enum, allowing users to override browser history behavior in embedded contexts by using replaceState instead of pushState. The changes include logic in TsEmbed to pass this parameter to the iframe URL and new unit tests to verify its behavior. Review feedback identified several documentation issues in src/types.ts, including trailing spaces, the use of British English spelling ("honoured"), and syntax or indentation errors within the JSDoc @example block.

Comment thread src/types.ts Outdated
Comment thread src/types.ts Outdated
Comment thread src/types.ts
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