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

More intelligent sorting of keys #114

Open
BigLep opened this issue Feb 8, 2024 · 0 comments
Open

More intelligent sorting of keys #114

BigLep opened this issue Feb 8, 2024 · 0 comments

Comments

@BigLep
Copy link
Contributor

BigLep commented Feb 8, 2024

I wish github-mgmt didn’t sort all key alphabetically when there is a more meaningful default.

For example, with "collaborators” and “teams”, I want the keys to be in descending order: admin > maintain > push > triage > pull.

Similarly, I want crucial properties like "archived" to be at the top.

I think the default otherwise can be alphabetical.

(Implementation thought: I assume we do a custom sort function that pulls out any specific keys, sorts by that specified order, puts those first, and then adds the rest of the keys alphabetically.)

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

No branches or pull requests

1 participant