Jorge GuimarĂ£es - Hi there, I've been referred ...

Hi there, I've been referred to this Discord by Pinelopi Chamalelli, I Have a couple of question regarding a (supposedly) simple icon override with ThoughtSpot Embed SDK and React đŸ˜€ The icon doesn't seem to be rendered, it can be found in https://dev-intelligence.sovos.com/icon-override.svg I'm following the same structure as the rd-icons in https://sovos.thoughtspot.cloud/node_modules/@thoughtspot/radiant-styles/public/img/rd-icons/rd-icons-sprite/rd-icons.svg But using our paths for the icon that should look like the attached image. I've whitelisted the domain etc (No CORS or 403 error) But I might be doing something wrong still , grateful for your time on this Jorge Guimaraes Senior Engineer@Sovos
No description
6 Replies
shikharTS
shikharTS•3mo ago
Check once if you are following the instructions here as well: https://developers.thoughtspot.com/docs/customize-icons. If yes and you still face an issue, can you send the SVG so that we can try on our own? cc @Ruchi Anand
Jorge GuimarĂ£es
Jorge GuimarĂ£esOP•3mo ago
Hi, I've followed that doc đŸ™‚ , the icon doesn't seem to render. https://dev-intelligence.sovos.com/icon-override.svg Here is the SVG , if you require the original file let me know đŸ˜„
shikharTS
shikharTS•3mo ago
I tried the same it did not render for me as well. But the icon fetching was giving 200. Could it be a problem with the svg? cc @Ruchi Anand to also check
Ruchi Anand
Ruchi Anand•3mo ago
Hi @Jorge GuimarĂ£es I noticed two issues with your svg: 1. The viewBox values are quite large, use dimensions that are more appropriate ensure optimal rendering and scaling. 2. The SVG currently uses display: none, which prevents it from being rendered in the DOM. Instead, use visibility: hidden so the SVG remains hidden but still accessible for reference. Ref : https://developers.thoughtspot.com/docs/customize-icons
Customize icons
Customize icons displayed on the ThoughtSpot application interface
Jorge GuimarĂ£es
Jorge GuimarĂ£esOP•3mo ago
Will try this out and let you know,i'm currently OOO, thanks for the help đŸ™‚
Jorge GuimarĂ£es
Jorge GuimarĂ£esOP•3mo ago
Hi again, so I have updated the icons, 2 versions are available https://dev-intelligence.sovos.com/insights-icon-override.svg https://dev-intelligence.sovos.com/icon-override.svg The attached screenshot is basically what's currently being rendered (previously it was blank , so progress i guess ahah) I'll try to play a bit more with the SVG and let you know if anything changed
No description

Did you find this page helpful?