apache / superset

Apache Superset is a Data Visualization and Data Exploration Platform
https://superset.apache.org/
Apache License 2.0
62.79k stars 13.87k forks source link

Adding show_filters= to a dashboard URL doesn't do anything #30538

Open sfirke opened 1 month ago

sfirke commented 1 month ago

Bug description

Adding show_filters=0 or =1 to the URL of a dashboard seems to have no effect. Here are examples with a public dashboard, these both load with the filter pane: https://analytics.a2gov.org/superset/dashboard/osi-performance-metrics/?standalone=2&show_filters=0 https://analytics.a2gov.org/superset/dashboard/osi-performance-metrics/?standalone=2&show_filters=1

The docs say that =0 should render the dashboard without the filter bar.

Seems like this PR might fix it? https://github.com/apache/superset/pull/29422

Screenshots/recordings

No response

Superset version

4.0.2

Python version

I don't know

Node version

Not applicable

Browser

Firefox

Additional context

Someone wrote in Slack on August 13 2024:

Previously I used show_filters=0 in the dashboard url parameter to hide the filters when sharing the dashboard with clients. Now, this is not working. Recently upgraded to latest superset version. Can someone provide inputs on what could be the possible issue that this isn't working?

Checklist

ShiruvatiNarasimha commented 1 month ago

I'd like to work on this issue. I've verified that no one else has started, and I'll begin investigating and implementing a fix. I'll keep the issue updated with my progress.

Thanks!