superset: supersetEmbeddedSdk filters.visible = false doesn't seem to work

A clear and concise description of what the bug is.

How to reproduce the bug

            dashboardUiConfig: { hideTitle: true, hideChartControls: true,
                filters: {
                    visible: false
                }
            }, 

Expected results

filter sidebar show not be visible

Actual results

filter sidebar is still visible, expanded: false does work though so it seems to be only visible that doesn’t take efect.

Screenshots

Screenshot 2023-05-23 at 21 08 51

Environment

(please complete the following information):

  • browser type and version: Firefox 113 and Safari 16.4 both on macos

Using docker apache/superset:latest build yesterday

  • any feature flags active:
FEATURE_FLAGS = {
    "ALERT_REPORTS": True,
    "ENABLE_TEMPLATE_PROCESSING": True,
    "DASHBOARD_RBAC": True,
    "EMBEDDED_SUPERSET": True,
    "DASHBOARD_CROSS_FILTERS": True,
    "SQL_VALIDATORS_BY_ENGINE": True
}

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven’t found one similar.

Additional context

Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 3
  • Comments: 16 (4 by maintainers)

Commits related to this issue

Most upvoted comments

@matheusbsilva reading through https://github.com/apache/superset/pull/23228 it was likely removing show_filters was a mistake, i.e., I probably mistook it for show_native_filters.

It was indeed a feature, i was relying on it. After updating superset today, I got this issue.

Maybe this helps:

https://github.com/apache/superset/commit/eb805682e2d9b8ff6c4bda446e665d1045afe55f

filters.visible, filters.expanded **/ ```  <---

which no longer seems to be the case... there's also several posts in slack
about this... and even examples posted on how to hide filters...

Maybe that was always buggy and got removed... that much I don't know
because the release notes unfortunately don't mention this and I was lazy
to dig into more code or PRs etc

Anyway the fact is there is a lot of evidence to suggest this was indeed a
thing, and it no longer is, so if you want to set this as FR instead of BUG
I think it's fine, but it's definitely much needed, there's more than one
thread on slack, I just decided to bring it over Github because it seemed
like the correct approach perhaps it wasn't

Do we know what this bus is going to be fixed?

@matheusbsilva I can’t tell you for sure, because I cloned the repo not from dockerhub. I think it was 2.1.0rc1 because the reason for updating was the screenshot generation was broken. I hope this is helpful enough.