`onParameterChanged` is not called after the user applies a parameter
Background:
The React/JavaScript/TypeScript app runs a liveboard embed using the
@thoughtspot/[email protected]
library.:
Aim:
When the user applies a parameter, the console log should be called.
Issue:
When the user applies a parameter, the console log is not called. Furthermore, I tested with onFilterChanged
:
and it logs to the console. So, is onParameterChanged
not working in v1.33.3?36 Replies
@Justin Mathew can you check if this is not working in 1.13.3? cc @utsav.kapoor
let me check @shikharTS
@baran can you share the thoughtspot version as well ?
@thoughtspot/visual-embed-sdk
v1.33.3click on the ? on thoughtspot cluster
youll see something like this
@Justin Mathew Version: 10.1.0.cl-215
thank you , let me check
@baran i checked its seems to work for me ,
would it be possible to record a video of what you are trying
sure
i will do it now
is possible you can test here as well : https://codesandbox.io/p/sandbox/authmethod-testing-m8l3cm
sure, i will take a look at it now
- What is "TS host"?
- How can I find my "TS host"?
- Could you give an example for "TS host"?
tshost is the thoughtspot server url
is it
https://PROJECT_NAME.thoughtspot.cloud/
?yes
I tried every AuthType. When I click on the "init" button, the app throws one of the error/warning above
its fine, you might haev to white list the sandbox, the video should be enough
can you give EmbedEvent.ALL a try
is that equivalent to
onALL={}
prop in the React library?yes
trying, 2 sec
I checked all the logged event objects, there is nothing about the parameter being changed
thats strange , let me see if there are some recent fixes for this cause code wise its looks correct
I might be onto a bigger issue: I created a similar issue yesterday about trying to update parameters with
embedRef.current.trigger(HostEvent.UpdateParameters,
(link to the discord thread: https://discord.com/channels/1143209406037758065/1295423570729762827/1295676102819188776). Running the code does nothing, so it makes me wonder if the issue in this thread is linked to that issuethis could be it, there were some fixes around this
can you give me your cluster name i.e PROJECT_NAME i ll ask in internal forums
could i dm you?
yes
thanks, i sent it
thank youu, let me find some info
ref
cc: @utsav.kapoor @Aditya
@baran We do have fixed this in later versions , i ll check with team on how to get your cluster the fixes
@baran Can you please share the HAR for updateParameters not working?
HAR file of the network tab in chrome devtools?
Yes @baran
okay, i will do it now. Give me 1-2 mins
I direct messaged you a screenshot and the HAR file
Thanks @baran for connecting. I checked with @baran and the parameters are getting applied but the parameter chips were not getting updated as in 10.1 we are updating parameter runtime. The update of liveboard spec is being supported from 10.3 onwards. @baran will check with Thoughtspot account executive to check when there cluster will get upgraded to 10.3. He is unblocked now.
yes, thank you very much Aditya and Justin 🙏