Skip to content
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

fix: multi deck.gl bug fixes #7854

Merged
merged 2 commits into from Jul 12, 2019
Merged

fix: multi deck.gl bug fixes #7854

merged 2 commits into from Jul 12, 2019

Conversation

thunter009
Copy link
Contributor

@thunter009 thunter009 commented Jul 11, 2019

add onViewportChange method to handle changes to the viewport

CATEGORY

Choose one

  • Bug Fix
  • Enhancement (new features, refinement)
  • Refactor
  • Add tests
  • Build / Development Environment
  • Documentation

SUMMARY

Multi deck.gl chart's are currently pretty broken. A few bug fixes to make more useable:

  • viewport was frozen. Add a proper onViewPortChange method to handle for pan/zoom interactions.
  • scatter example couldn't render on multi deck.gl due to missing max_radius attribute

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

visual inspection

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

fixes: #7841

REVIEWERS

add onViewportChange method to handle changes to the viewport
@codecov-io
Copy link

codecov-io commented Jul 11, 2019

Codecov Report

Merging #7854 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7854      +/-   ##
==========================================
- Coverage    65.8%   65.79%   -0.02%     
==========================================
  Files         461      461              
  Lines       22090    22094       +4     
  Branches     2422     2423       +1     
==========================================
  Hits        14536    14536              
- Misses       7433     7437       +4     
  Partials      121      121
Impacted Files Coverage Δ
superset/data/deck.py 11.29% <ø> (ø) ⬆️
...t/assets/src/visualizations/deckgl/Multi/Multi.jsx 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9eccae3...215202a. Read the comment docs.

- causes multi deck.gl to fail to render scatter without max_radius attribute
@thunter009 thunter009 changed the title fix: multi deck.gl viewport frozen fix: multi deck.gl bug fixes Jul 12, 2019
Copy link
Member

@mistercrunch mistercrunch left a comment

Choose a reason for hiding this comment

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

Thank you for fixing this

@mistercrunch mistercrunch merged commit 7946165 into apache:master Jul 12, 2019
alex-mark pushed a commit to alex-mark/incubator-superset that referenced this pull request Jul 29, 2019
* fix: multi deck.gl viewport frozen

add onViewportChange method to handle changes to the viewport

* fix: add max_radius to deck.gl scatter example

- causes multi deck.gl to fail to render scatter without max_radius attribute
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.34.0 labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/S 🚢 0.34.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deck.gl Multiple layers
3 participants