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

Sort object key values in schema #5813

Merged
merged 10 commits into from
Jul 17, 2021
Merged

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Jul 8, 2021

Addressing #5801 (comment)

@plotly/plotly_js

@archmoj archmoj added this to the NEXT milestone Jul 8, 2021
@archmoj archmoj requested a review from alexcjohnson July 8, 2021 22:55
@archmoj
Copy link
Contributor Author

archmoj commented Jul 12, 2021

Awaiting review.

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

💃 LGTM!

I noticed one Object.keys that survived unsorted is the svg marker.symbol list:

Object.keys(SYMBOLDEFS).forEach(function(k) {

That's good, because these symbols are in the order of their numeric codes, it would be weird to sort them alphabetically.

@archmoj archmoj merged commit 5114dbb into master Jul 17, 2021
@archmoj archmoj deleted the sort-object-key-values-in-schema branch July 17, 2021 05:25
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.

None yet

2 participants