-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
feat(embedded): provides filter bar visibility setting on embedded dashboard (#21069) #21070
feat(embedded): provides filter bar visibility setting on embedded dashboard (#21069) #21070
Conversation
Thanks for the contribution @jileeon. @lilykuang Do you think it makes sense to add these configurations under
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michael-s-molina you suggestion will work better.
99c6063
to
fb26de4
Compare
I've changed the commit for your suggestion. Thanks |
fb26de4
to
f919201
Compare
Hi, Sorry for the wrong constant values. I've corrected it now. Thanks. |
filters?: { | ||
[key: string]: boolean | undefined | ||
visible?: boolean | ||
expanded?: boolean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jileeon - considering DASHBOARD_UI_FILTER_CONFIG_URL_PARAM_KEY
only has 2 keys namely visible
and expanded
and line number 115 does DASHBOARD_UI_FILTER_CONFIG_URL_PARAM_KEY[key]=filterConfig[key]
, i don't understand why there is a need for line number 41 ([key: string]: boolean | undefined
) in the code.
I found this code while I was trying to add some additional capability add some extra url parameters to the embedded superset. But I don't want to add that code if the functionality already exist.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jayakrishnankk, Sorry for the late reply.
these code you wrote are just for complying with Typescript lint.
I think there are no need to keep them If they should be changed.
Thanks.
SUMMARY
Provides filter bar visibility setting on embedded dashboards
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION