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 straightforward sorting of submodule contents #950

Open
gshpychka opened this issue Mar 17, 2022 · 3 comments
Open

More straightforward sorting of submodule contents #950

gshpychka opened this issue Mar 17, 2022 · 3 comments

Comments

@gshpychka
Copy link

gshpychka commented Mar 17, 2022

Currently, the right sidebar that displays the submodule contents doesn't sort them alphabetically. I'm actually not sure what logic it uses for the ordering. It would be much nicer if it sorted them alphabetically like the API reference.

API reference:

image

Construct Hub:
image

I have a dark theme extension, disregard.

@gshpychka
Copy link
Author

Okay, I realize now that it's displaying common props/methods first (node, env, stack).

Would it be a good idea to separate them somehow to make this clearer?

@gshpychka gshpychka changed the title Sort submodule contents alphabetically More straightforward sorting of submodule contents Mar 17, 2022
@Chriscbr
Copy link
Contributor

Would it be a good idea to separate them somehow to make this clearer?

Totally - maybe a label can be added distinguishing which are inherited and which are not. (Perhaps the inherited ones should actually go after the non-inherited ones?)

Sorting all of them together is another valid option here

@gshpychka
Copy link
Author

Distinguishing them sounds more useful, but sorting them together is also okay, this is how the API reference does it.

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

2 participants