-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Conversation
Get pivot_table viz working
|
||
done: () => { | ||
// finished rendering callback | ||
}, | ||
|
||
error: () => { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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}`, |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
LGTM |
* fix: lerna can't update package-lock.json * upgrade commit message
* fix: lerna can't update package-lock.json * upgrade commit message
* fix: lerna can't update package-lock.json * upgrade commit message
* fix: lerna can't update package-lock.json * upgrade commit message
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):
After:
@ascott