Skip to content

Conversation

yinstardev
Copy link
Contributor

No description provided.

return res(null);
}
if (messageType === HostEvent.GetIframeSrc) {
return getIframeSrc(iFrame);
Copy link
Contributor

Choose a reason for hiding this comment

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

pass the result into res check above

also test it out in app embed , if route changes return proper urls

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, right.
Will test in app embed

reload(iFrame);
return res(null);
}
if (messageType === HostEvent.GetIframeSrc) {
Copy link
Contributor

Choose a reason for hiding this comment

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

add tests

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure

Copy link

pkg-pr-new bot commented Sep 3, 2024

Open in Stackblitz

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

commit: ef44915

src/types.ts Outdated
* const frameUrl = AppEmbed.trigger(HostEvent.GetIframeUrl)
* ```
* @version SDK: 1.35.0 | Thoughtspot: 10.4.cl
* @hidden
Copy link
Contributor

Choose a reason for hiding this comment

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

Why @hidden tag is added?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed, It's not available in docs, will raise one ticket for @ShashiSubramanya

src/types.ts Outdated
* ```js
* const frameUrl = AppEmbed.trigger(HostEvent.GetIframeUrl)
* ```
* @version SDK: 1.35.0 | Thoughtspot: 10.4.cl
Copy link
Contributor

Choose a reason for hiding this comment

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

Thoughtspot version should be 10.4.0.cl

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks.

@yinstardev yinstardev merged commit 096b5d6 into main Sep 9, 2024
4 checks passed
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.

3 participants