yuichirio_ha
yuichirio_ha
TFDThoughtSpot For Developers
Created by Andy on 4/10/2025 in #dev-help
Andy - Is there any way to change the backgroun...
Yes, actually they could break if you upgrade your cluster version. Otherwise it should be fine. So, when upgrading to next version you can check if they are breaking. Not to worry too much not many changes are introduced suddenly, unless there is big release changes.
11 replies
TFDThoughtSpot For Developers
Created by Andy on 4/10/2025 in #dev-help
Andy - Is there any way to change the backgroun...
No, it's like you select custom elements through some css selectors which is available in html, then you override and apply your styles. In above example it shows, I 've used data-testid on span to override background. You can check in the page itself what element to choose with developer tab and then override. It's a way to pretty much override any style on page. If you still facing any problem or you are trying to ask something different. We can connect whenever you avaiable quick to resolve that. Thanks.
11 replies
TFDThoughtSpot For Developers
Created by Andy on 4/10/2025 in #dev-help
Andy - Is there any way to change the backgroun...
For the first one - This customizatoin is not available, you might have to write some customcss like for first chip shows different color and second one different, you try doing it with rules_UNSTABLE, you can access particular elements and modify as per your needs. read the examples in above, that should help. As for the second part - To actually customize showing particular number of filters in chips for each filter. Currently it might not be achievable, but you can raise a feature request for the same. ( try with some css hacks ) Example
customizations: {
style: {
customCSSUrl: "https://cdn.jsdelivr.net/gh/thoughtspot/custom-css-demo/css-variables.css", // location of your style sheet

// To apply overrides for your style sheet in this init, provide variable values below, eg
customCSS: {
variables: {
"--ts-var-button--secondary-background": "#F0EBFF",
"--ts-var-button--secondary--hover-background": "#E3D9FC",
"--ts-var-root-background": "#F7F5FF",
},
rules_UNSTABLE: {
'[data-testid="parameter-panel-chip"]': {
"background-color":"red !important"
}
}
},
},
},
customizations: {
style: {
customCSSUrl: "https://cdn.jsdelivr.net/gh/thoughtspot/custom-css-demo/css-variables.css", // location of your style sheet

// To apply overrides for your style sheet in this init, provide variable values below, eg
customCSS: {
variables: {
"--ts-var-button--secondary-background": "#F0EBFF",
"--ts-var-button--secondary--hover-background": "#E3D9FC",
"--ts-var-root-background": "#F7F5FF",
},
rules_UNSTABLE: {
'[data-testid="parameter-panel-chip"]': {
"background-color":"red !important"
}
}
},
},
},
11 replies
TFDThoughtSpot For Developers
Created by Andy on 4/10/2025 in #dev-help
Andy - Is there any way to change the backgroun...
Also can you clarify second question - "a way to be able to filters into a dropdown" Not sure what you meant. Thanks
11 replies
TFDThoughtSpot For Developers
Created by Andy on 4/10/2025 in #dev-help
Andy - Is there any way to change the backgroun...
11 replies
TFDThoughtSpot For Developers
Created by Jessica on 4/2/2025 in #dev-help
Jessica - hi there! we have a dilemma where we ...
Hey @Jessica , would like to know if the font file is .woff, woff2 format or not? Could you try with those two formats only. And if not working, can you provide the font file you are trying to work with? Thanks
5 replies
TFDThoughtSpot For Developers
Created by Samir Thapa on 3/18/2025 in #dev-help
Samir Thapa - Hello, I'm currently embedding ...
Hey @Samir Thapa , Can you confirm the nextjs version you were using previously, you have now nextjs 15 as you told.
11 replies
TFDThoughtSpot For Developers
Created by Sindhu Shanmugam on 3/20/2025 in #dev-help
Sindhu Shanmugam - Hi , we are facing a Embed S...
CC : @jbc
23 replies
TFDThoughtSpot For Developers
Created by Suvash on 3/24/2025 in #dev-help
Suvash - Hi team, using the EmbedEvent.RouteCha...
Hey @Suvash , Am I right to assume you are doing - appEmbed, In that when the user clicks on the specific list item, You are capturing the route-changed embedEvent, and then you don't actually want to navigate to that page instead just get that url and then you have some new page that you will handle specifically right? Is that right? or you can clear up the doubts. Thanks.
9 replies
TFDThoughtSpot For Developers
Created by Tom Ford on 3/21/2025 in #dev-help
Tom Ford - Hey TS, I have an issue with the Li...
Hey, so you can check if the token is generated new everytime? If it's not getting generated new - this might show up. Also ts cluster version : in the cluster you can click on the "?" icon on the left side of the profile icon, in the dropdown you'll see the cluster version - if not showing click on the last option in the dropdown.
8 replies
TFDThoughtSpot For Developers
Created by Tom Ford on 3/21/2025 in #dev-help
Tom Ford - Hey TS, I have an issue with the Li...
Hey @Tom Ford , please do confirm - if the getAuthToken function fetch token from thoughtspot everytime it's called. ( I'm assuming it's not hardcoded somewhere ). Also to confirm if the token api is being called properly after timeout for the token, Try it out with less lived token.
8 replies
TFDThoughtSpot For Developers
Created by Sindhu Shanmugam on 3/20/2025 in #dev-help
Sindhu Shanmugam - Hi , we are facing a Embed S...
Hey, can you confirm the understanding - 1. You are using visual-embed-sdk for init and then getting 401 and also after that your - call metadata/search api is failing anyways. 2. But when you do call - v1/session/info - from your code then the api call after that works fine? - If that's what the info is : 1. Hey one failed info call is expected. - are the calls subsequent to that are faliing all? - Can you confirm what is the error for the metadata search api call - response - or error. 2. /v1/session/info - is getting valid response - meaning it's authenticated.
23 replies
TFDThoughtSpot For Developers
Created by Lisa on 3/18/2025 in #dev-help
Lisa - Hi I am trying to understand how to fetc...
No description
9 replies
TFDThoughtSpot For Developers
Created by sagilaufer on 3/18/2025 in #dev-help
sagilaufer - Hello, GM.We use search embed, an...
Hey - particularly not buttons - It just needs to be triggered based on some event. You can trigger it depending upon your workflow integration. Whatever is the flow for pin - same thing you can try - anyways there you must be triggering the HostEvent.Pin at some point. Similar to that. Thanks.
6 replies
TFDThoughtSpot For Developers
Created by Lisa on 3/18/2025 in #dev-help
Lisa - Hi I am trying to understand how to fetc...
@Anand Pushpraj Can you help here?
9 replies
TFDThoughtSpot For Developers
Created by Samir Thapa on 3/18/2025 in #dev-help
Samir Thapa - Hello, I'm currently embedding ...
Hey, Can you do all the sdk related stuff on the client side? That should be how sdk used. Most of the code will need client side. https://codesandbox.io/p/sandbox/next-js-starter-vesdk-rnf9mm Check out this - it will work with latest sdk. And upgrade to latest sdk.
11 replies
TFDThoughtSpot For Developers
Created by Adrian on 3/18/2025 in #dev-help
Adrian - Hi, I am trying to add a custom action...
Hey Custom actions are added on visualization - and per your flow - You have created a local action, which means you have to add it on that particular viz, And then in embed you can check them out. The menu you are selecting is the liveboard menu. https://developers.thoughtspot.com/docs/customize-actions Here you can check what are global, local actions and info related to them. Thanks
2 replies