superset icon indicating copy to clipboard operation
superset copied to clipboard

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

Open sfirke opened this issue 1 year ago • 1 comments

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

  • [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
  • [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
  • [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

sfirke avatar Oct 07 '24 19:10 sfirke

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!

ShiruvatiNarasimha avatar Oct 14 '24 06:10 ShiruvatiNarasimha

@ShiruvatiNarasimha - Thank you! Did you get any insights? :)

rosanzheng avatar Jan 05 '25 11:01 rosanzheng