You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "msyavuz (via GitHub)" <gi...@apache.org> on 2025/07/30 11:39:43 UTC
[I] Filter icon is not consistently shown for deck.gl charts when a filter is applied in Dashboard [superset]
msyavuz opened a new issue, #34400:
URL: https://github.com/apache/superset/issues/34400
### Bug description
1. Navigate to Dashboards
2. Open the Deck.gl demo dashboard
3. Add a multi-layer chart to it and save
4. Add a filter to Latitude column of Sample Geodata dataset and save
5. Select the first value listed in the filter and apply
6. The filter icon will be missing for most of the charts, perhaps the filter was included in their query and affected their view
Might be related to https://github.com/apache/superset/issues/34142
### Screenshots/recordings
_No response_
### Superset version
master / latest-dev
### Python version
3.11
### Node version
18 or greater
### Browser
Firefox
### Additional context
_No response_
### 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.
- [x] 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Filter icon is not consistently shown for deck.gl charts when a filter is applied in Dashboard [superset]
Posted by "Shlummie (via GitHub)" <gi...@apache.org>.
Shlummie commented on issue #34400:
URL: https://github.com/apache/superset/issues/34400#issuecomment-4416612628
Submitted fix here: https://github.com/apache/superset/pull/40003
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Filter icon is not consistently shown for deck.gl charts when a filter is applied in Dashboard [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #34400:
URL: https://github.com/apache/superset/issues/34400#issuecomment-3135930829
<!-- Answer -->
The filter icon in Superset dashboards is rendered by a shared component (FiltersBadge) that checks if filters are applied to a chart by inspecting the backend query response for applied_filters and rejected_filters. This logic is not chart-type-specific—if the backend doesn't mark filters as applied in the query response, the icon won't show, even if the filter is active and affecting the chart's data. For deck.gl charts, especially multi-layer ones, this can happen if the backend doesn't include the expected applied_filters field in the queriesResponse payload, which seems to be the root cause of the inconsistency you're seeing. There are no open issues directly tracking this bug for deck.gl charts, but similar problems have been noted for other chart types with filter emission and detection. You can confirm this by inspecting the queriesResponse payload for your deck.gl chart in Redux or browser dev tools—if applied_filters is missing or incomplete, that's why the icon isn'
t shown. The relevant code paths are the FiltersBadge and SliceHeader components on the frontend, and the backend logic that attaches applied_filters to the chart's query result payload ([reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/dashboard/components/FiltersBadge/index.tsx), [reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/common/query_actions.py)). If you confirm that applied_filters is missing for affected deck.gl charts, this would be a backend issue to track.
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do? [Good](https://app.dosu.dev/response-feedback/df0aef0f-f2ca-4b1e-a541-994033b4f35b?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/df0aef0f-f2ca-4b1e-a541-994033b4f35b?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/df0aef0f-f2ca-4b1e-a541-994033b4f35b?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/df0aef0f-f2ca-4b1e-a541-994033b4f35b?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/df0aef0f-f2ca-4b1e-a541-994033b4f35b?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/df0aef0f-f2ca-4b1e-a541-994033b4f35b?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/df0aef0f-f2ca-4b1e-a541-994033b4f35b?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34400)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Filter icon is not consistently shown for deck.gl charts when a filter is applied in Dashboard [superset]
Posted by "Prasad-JB (via GitHub)" <gi...@apache.org>.
Prasad-JB commented on issue #34400:
URL: https://github.com/apache/superset/issues/34400#issuecomment-3195717936
Hi, I noticed that for deck.gl multi-layer charts the `applied_filters `field is missing in the `queriesResponse`, which seems to be why the filter icon isn’t showing. Other chart types include it, so looks like a backend gap here.
I’d be happy to work on adding the missing `applied_filters `for deck.gl queries if that’s the right approach. Could you confirm?
Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Filter icon is not consistently shown for deck.gl charts when a filter is applied in Dashboard [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #34400: Filter icon is not consistently shown for deck.gl charts when a filter is applied in Dashboard
URL: https://github.com/apache/superset/issues/34400
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Filter icon is not consistently shown for deck.gl charts when a filter is applied in Dashboard [superset]
Posted by "Prasad-JB (via GitHub)" <gi...@apache.org>.
Prasad-JB commented on issue #34400:
URL: https://github.com/apache/superset/issues/34400#issuecomment-3199194762
Thanks for confirming, I’ll investigate the `applied_filters` handling for deck.gl multi-layer charts and share updates soon.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Filter icon is not consistently shown for deck.gl charts when a filter is applied in Dashboard [superset]
Posted by "msyavuz (via GitHub)" <gi...@apache.org>.
msyavuz commented on issue #34400:
URL: https://github.com/apache/superset/issues/34400#issuecomment-3195845838
@Prasad-JB Yeah, we have some problems with multi-layer chart queries, infinte loading when show query etc. Not sure about the cause though pr's are always welcome.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Filter icon is not consistently shown for deck.gl charts when a filter is applied in Dashboard [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #34400:
URL: https://github.com/apache/superset/issues/34400#issuecomment-3544455822
Now that #34142 has closed, does this need a revisit?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Filter icon is not consistently shown for deck.gl charts when a filter is applied in Dashboard [superset]
Posted by "DamianPendrak (via GitHub)" <gi...@apache.org>.
DamianPendrak commented on issue #34400:
URL: https://github.com/apache/superset/issues/34400#issuecomment-3210525770
Hi, it's related to #34142, and I am working on this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Filter icon is not consistently shown for deck.gl charts when a filter is applied in Dashboard [superset]
Posted by "Prasad-JB (via GitHub)" <gi...@apache.org>.
Prasad-JB commented on issue #34400:
URL: https://github.com/apache/superset/issues/34400#issuecomment-3210677743
Thanks for the update, @DamianPendrak.
I’ll continue investigating the applied_filters handling for deck.gl multi-layer charts on my side and share any findings. If it overlaps with your work on #34142, let me know so we can coordinate.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org