Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

feat: make all deckgl charts handle their own tooltips #13

Merged
merged 2 commits into from
Mar 19, 2020

Conversation

kristw
Copy link
Collaborator

@kristw kristw commented Mar 19, 2020

馃弳 Enhancements

Following the same approach in #12 for all charts.

image
image
image
image
image

@kristw kristw requested a review from a team as a code owner March 19, 2020 22:05
render() {
const { formData, payload, setControlValue, onAddFilter, viewport } = this.props;

// TODO get this to work

Choose a reason for hiding this comment

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

What is autozoom being used for? Has it ever been supported?

Choose a reason for hiding this comment

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

Seems like a legacy comment from before you touched it, just asking in case you have context.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, legacy comment. I also have no idea.

Copy link

@espressoroaster espressoroaster left a comment

Choose a reason for hiding this comment

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

LGTM. We could trade the extra ref access for a const.

setTooltip = tooltip => {
    const { current } = this.containerRef;
    if (current) {
        current.setTooltip(tooltip);
    }
}

@kristw kristw merged commit e3f1861 into master Mar 19, 2020
@delete-merged-branch delete-merged-branch bot deleted the kristw--tooltip2 branch March 19, 2020 23:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants