superset
superset copied to clipboard
Plugin enhancement: Ability to add dashboard filter on click of deckGL polygon
SUMMARY
DeckGl polygon has an onclick function that emits a filter event. This doesn't seem to work as expected on the latest master and we were getting some errors. With these changes I have added the ability to setData mask (a filter at dashboard level). I have made the changes based on what I understood of the plugin directory structure. I would be really helpful if you can verify these changes or guide me on how to add dashboard level filters with DeckGL polygon.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in SIP-59)
- [ ] Migration is atomic, supports rollback & is backwards-compatible
- [ ] Confirm DB migration upgrade and downgrade tested
- [ ] Runtime estimates and downtime expectations provided
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API