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

Get pivot table working in explore v2 #1432

Merged
merged 4 commits into from
Nov 3, 2016

Conversation

vera-liu
Copy link
Contributor

Previously pivot table viz was broken in explore v2
Fixed:
Added jquery calls for html() and find() in container of mock slice object

Before (pivot table in explorev2):
dc1cfc46-9154-11e6-8d36-77d3392a6024

After:
screen shot 2016-10-25 at 6 12 25 pm

@ascott


done: () => {
// finished rendering callback
},

error: () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

when does this get called? should we surface an error to the user at this point? how are we currently handling this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is called when getJSON failed for json endpoint in pivot_table.js, I copied some lines from our original error callback function and added them to new commit :)

constructor(props) {
super(props);
this.state = {
selector: `#${this.props.sliceContainerId}`,
Copy link
Contributor

Choose a reason for hiding this comment

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

looks like this is the same change as in https://github.com/airbnb/caravel/pull/1443/files

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry I created the world_map branch on top of this branch since there are some functions needed from here. I'll merge this first then rebase on the world_map one

@ascott
Copy link
Contributor

ascott commented Nov 3, 2016

LGTM

@vera-liu vera-liu merged commit 77b6e2c into apache:master Nov 3, 2016
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 17, 2021
* fix: lerna can't update package-lock.json

* upgrade commit message
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 24, 2021
* fix: lerna can't update package-lock.json

* upgrade commit message
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 25, 2021
* fix: lerna can't update package-lock.json

* upgrade commit message
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 26, 2021
* fix: lerna can't update package-lock.json

* upgrade commit message
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.13.0 labels Feb 19, 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 🚢 0.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants