-
Notifications
You must be signed in to change notification settings - Fork 13.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filters.visible= false Still shows the filters on embedded iFrame #26758
Comments
#18741 The changes in this commit are not present in master or 3.x |
I am not sure what the right action is, but can someone please tackle this ? |
tagging @villebro original PR creator |
@Vitor-Avila @sfirke do either of you have an embedded test/example to say whether this is still the case in the latest versions? |
Some screenshots wouldn't hurt here, either. This issue has been open/silent for a long time, so if it's still happening, it seems like a bit of an edge case. PRs would be more than welcome, but it's likely to get closed as stale if nobody is interested in picking it up. |
I can't validate whether this is the case, I only use embedded Superset via iframe. But if I understand correctly someone is saying a fix has been merged but it's not in 3.x? In which case yes, this needs to be validated that it's still a problem in 4.0.1. |
+1 |
@rusackas Yup, I can also reproduce the issue on my end. Not sure what would be the expectation if the dashboard has horizontal filter bar configured, tho |
Hmm... I'm guessing there's just some conditional rendering with React that's not high enough in the component tree. Have any time/interest in diagnosing? A PR would be welcomed/appreciated, as this doesn't seem to be a top-priority bug for most core committers. Thanks in advance if you can help! |
Debugged this a bit today: The root cause is this line from file:
Here if
So just by disabling Being very new to SuperSet I don't even know what the If those reading this also want to disable this feature in you need to add following to your
But for those who need |
Nice work, detective! Indeed, there are likely cases where you don't want to show the filters bar, but DO want cross-filters enabled (FYI, that means clicking something like a wedge on a pie chart, which filters the rest of the dashboard based on what you clicked). If anyone wants to open a PR to make the conditional logic in Superset a little better and make these features work more independently of one another, it would be appreciated! |
Bug description
`dashboardUiConfig: { // dashboard UI config: hideTitle, hideTab, hideChartControls, filters.visible, filters.expanded (optional)
I am using the above mentioned dashboardUIConfig, however the filters screen is still visible. It is not expanded but still not hidden.
How to reproduce the bug
Embedd Dashboard into an iFrame
Screenshots/recordings
No response
Superset version
3.1.0
Python version
3.10
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: