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

preserve color-by order for v2 JSONs #823

Merged
merged 2 commits into from
Nov 15, 2019
Merged

preserve color-by order for v2 JSONs #823

merged 2 commits into from
Nov 15, 2019

Conversation

jameshadfield
Copy link
Member

This PR allows v2 JSONs to define the color ordering as intended.

The previous sorting behavior is moved to the server in order to preserve expected v1 JSON behavior.

With v2 JSONs, the intention is that the provided ordering is respected by auspice.
This allows us keep the color-by ordering expected from v1 JSONs whilst allowing v2 JSONs to define the order themselves.
@jameshadfield jameshadfield requested a review from trvrb November 13, 2019 22:18
@jameshadfield
Copy link
Member Author

Closes #820

@jameshadfield jameshadfield reopened this Nov 15, 2019
@jameshadfield jameshadfield merged commit 0bc5ed1 into master Nov 15, 2019
@trvrb
Copy link
Member

trvrb commented Nov 15, 2019

Sorry. I can review. But looks great in general.

@jameshadfield jameshadfield deleted the color-order branch November 15, 2019 00:14
@jameshadfield
Copy link
Member Author

No worries, it's all working as expected. I'm going to release a new auspice version with some minor fixes to various things now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants