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

Don't fetch invisible segmentation #3067

Merged
merged 3 commits into from
Aug 20, 2018
Merged

Conversation

philippotto
Copy link
Member

This is another example, why #2615 would make sense. The prefetch-strategy knows that invisible segmentation does not need to be fetched. The bucket pickers, however, didn't take this into account. This is a hotfix. In the long run, the code should be unified somehow.

URL of deployed dev instance (used for testing):

Steps to test:

  • ensure via network tab that segmentation buckets are only loaded iff segmentation opacity > 0

… 0 (this also avoids fetching invisible buckets)
@philippotto
Copy link
Member Author

I'm reassigning this to you, @daniel-wer, due to my vacation :)

Copy link
Member

@daniel-wer daniel-wer left a comment

Choose a reason for hiding this comment

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

Nice find! LGTM

@daniel-wer daniel-wer merged commit 0dbe030 into master Aug 20, 2018
@daniel-wer daniel-wer deleted the dont-load-invisible-segmentation branch November 12, 2018 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants