embed-sdk icon indicating copy to clipboard operation
embed-sdk copied to clipboard

Support for hiding multiple filters via the EmbedBuilder?

Open blaizeb-at-x opened this issue 2 years ago • 3 comments

I'd like to fix values and hide a few filters in a dashboard I'm attempting to embed into a single page app. I can confirm that if I manually produce a URI with something like filter1=value1&filter2=value2&hide_filter=filter1&hide_filter=filter2 I get the desired result. However, I'm struggling to do this via the EmbedBuilder due to the fact that the _params: UrlParams type doesn't allow repeat keys or an interable value that could be mapped to the necessary multiple hide_filter url param key value pairs.

Is there another suggested way for adding multiple hidden filters? If not, I'd be happy to submit a PR attempting to add such functionality.

blaizeb-at-x avatar Mar 22 '23 03:03 blaizeb-at-x

I have the same issue

yovrer avatar Apr 03 '23 11:04 yovrer

Would love this to be implemented

nuwen avatar May 03 '23 15:05 nuwen

Hello @bryans99, I have opened PR #177 to implement this feature, could you please check if the implementation looks good to you?

eino avatar Feb 15 '24 12:02 eino