Hello I ve noticed in our embedded app
Hello, I've noticed in our embedded app the KPIs across the home page are missing the ... menu to remove them. Is this something we need to set visible actions on ?
26 Replies
Assuming you aren't hiding anything and the user has proper privileges, they should just show up. It would help to see the embed object for these so we can better understand what you have.
Visible actions:
We are explicitly specifying the visibleActions as there are other areas of the product we do not want to expose yet . . .what would be the visible actions for this area ?
i.e .we have Action.Remove visible ..
What happens if you don't include the visibleActions? Does it show?
🤷♂️ I can do that but not sure it tells us anything
It will tell us if the visibleActions is the issue or not. Even if Action.Remove wasn't working, there should still be a ... menu.
kk one sec
If I don't pass the visibleActions prop, I see the Delete action while in edit mode.
One thing I don't understand with your example, you have
allActions
in the visibleActions
setting, but the list is named ANALYTICS_VISIBLE_ACTIONS
.@Bill can you check the home page KPIs, do you see a remove menu on those?
i.e. add one to your home page
How do I add a KPI to my home page?
kk Duessa explained this but I am not seeing any menu on the home page after adding the KPI, per the attached.
Yes, I do. I'm on 9.5, so it's possible there is a problem in 9.4, but I'm not aware of any.
I see it in the thoughtspot app directly but not in our embedded app
Oh, OK, let me double check when embedding.
Playground has it as well. Can you see them in the playground if you just do the full app embed?
Not sure what you mean but we can't ship the playground in our app.
I know that. I'm trying to debug. If it works in the playground and not your code, then it's something in how you are embedding.
I posted our code for embedding above
Can you also post the definition for
visibleActions={allActions}
. What is allActions?No, you posted
export const ANALYTICS_VISIBLE_ACTIONS = [
. That's not allActions
yes, it's the same thing
So I'm assuming you have allActions = ANALYTICS_VISIBLE_ACTIONS or something like that somewhere?
yes
FYI I tested in the playground and I am getting hte menu as expected.
Following up on this, the meatball menu does not appear in our embedded app even if "visible actions' is not used
Please advise?
To close this out, it seems it was a change we made in CSS that is hiding the menu 😳 We are working on a fix.