Skip to content

fix(deckgl-plugin): make filters work in multiple layers chart #33009

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

Conversation

syedbarimanjan
Copy link
Contributor

@syedbarimanjan syedbarimanjan commented Apr 6, 2025

SUMMARY

Filters werent applying to multiple layers deck.gl chart because they werent being passed down to the sublayers properly. Fixes #13731

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Screencast_20250406_121214.webm
Screencast_20250406_122058.webm

@dosubot dosubot bot added the viz:charts:deck.gl Related to deck.gl charts label Apr 6, 2025
Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've completed my review and didn't find any issues.

Files scanned
File Path Reviewed
superset-frontend/plugins/legacy-preset-chart-deckgl/src/Multi/Multi.tsx

Explore our documentation to understand the languages and file types we support and the files we ignore.

Need a new review? Comment /korbit-review on this PR and I'll review your latest changes.

Korbit Guide: Usage and Customization

Interacting with Korbit

  • You can manually ask Korbit to review your PR using the /korbit-review command in a comment at the root of your PR.
  • You can ask Korbit to generate a new PR description using the /korbit-generate-pr-description command in any comment on your PR.
  • Too many Korbit comments? I can resolve all my comment threads if you use the /korbit-resolve command in any comment on your PR.
  • On any given comment that Korbit raises on your pull request, you can have a discussion with Korbit by replying to the comment.
  • Help train Korbit to improve your reviews by giving a 👍 or 👎 on the comments Korbit posts.

Customizing Korbit

  • Check out our docs on how you can make Korbit work best for you and your team.
  • Customize Korbit for your organization through the Korbit Console.

Current Korbit Configuration

General Settings
Setting Value
Review Schedule Automatic excluding drafts
Max Issue Count 10
Automatic PR Descriptions
Issue Categories
Category Enabled
Documentation
Logging
Error Handling
Readability
Design
Performance
Security
Functionality

Feedback and Support

Note

Korbit Pro is free for open source projects 🎉

Looking to add Korbit to your team? Get started with a free 2 week trial here

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congrats on making your first PR and thank you for contributing to Superset! 🎉 ❤️

We hope to see you in our Slack community too! Not signed up? Use our Slack App to self-register.

@syedbarimanjan
Copy link
Contributor Author

@geido

@AllProAi
Copy link

AllProAi commented Apr 6, 2025

o.O

@DarksChoise
Copy link

@geido

Copy link
Contributor

github-actions bot commented Apr 7, 2025

@geido Processing your ephemeral environment request here. Action: up. More information on how to use or configure ephemeral environments

Copy link
Contributor

github-actions bot commented Apr 7, 2025

@geido Ephemeral environment spinning up at http://35.90.100.196:8080. Credentials are 'admin'/'admin'. Please allow several minutes for bootstrapping and startup.

@geido geido added hold! On hold preset:bounty Issues that have been selected by Preset and have a bounty attached. labels Apr 7, 2025
@sadpandajoe
Copy link
Member

Is this a duplicate of #33008? cc: @geido

@syedbarimanjan
Copy link
Contributor Author

syedbarimanjan commented Apr 7, 2025

Is this a duplicate of #33008? cc: @geido

That is an ai bot which copied my code from my fork before I could create and pr I had told diego that I have the fix for it and I am also assigned to the issue. That one also doesnt has the extra code which I have here which adds the adhoc filters to the multiple layer chart because I hadnt pushed it to my fork.

@AllProAi
Copy link

AllProAi commented Apr 7, 2025

I'm not a bot... also wow. Not claiming bounty though I need the cash was trying to provide a solution for goku... i have full records of finding the issue in code I didn't know you existed before you posted brother chill out.

@syedbarimanjan
Copy link
Contributor Author

I'm not a bot... also wow. Not claiming bounty though I need the cash was trying to provide a solution for goku... i have full records of finding the issue in code I didn't know you existed before you posted brother chill out.

Sorry I thought that it was a bot(because you have ai in your name).

@pull-request-size pull-request-size bot added size/L and removed size/S labels May 2, 2025
Copy link

codecov bot commented May 2, 2025

Codecov Report

Attention: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.

Project coverage is 75.84%. Comparing base (629b137) to head (96fe6c4).
Report is 101 commits behind head on master.

Files with missing lines Patch % Lines
superset/viz.py 0.00% 16 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #33009       +/-   ##
===========================================
+ Coverage        0   75.84%   +75.84%     
===========================================
  Files           0      553      +553     
  Lines           0    39980    +39980     
===========================================
+ Hits            0    30323    +30323     
- Misses          0     9657     +9657     
Flag Coverage Δ
hive 48.23% <0.00%> (?)
mysql 75.35% <0.00%> (?)
postgres 75.41% <0.00%> (?)
presto 52.68% <0.00%> (?)
python 75.84% <0.00%> (?)
sqlite 74.90% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

dependabot bot added 2 commits May 2, 2025 10:59
…ocs (apache#33314)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#33320)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@rusackas
Copy link
Member

rusackas commented May 2, 2025

Appreciate the PR! Looks like CI needs some love... let us know if you can make heads or tails of any of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hold! On hold plugins preset:bounty Issues that have been selected by Preset and have a bounty attached. size/L testenv-up viz:charts:deck.gl Related to deck.gl charts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Visualization Type : deck.gl Multiple Layers - Query filters are not executing