construct-hub-webapp icon indicating copy to clipboard operation
construct-hub-webapp copied to clipboard

More straightforward sorting of submodule contents

Open gshpychka opened this issue 3 years ago • 3 comments

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 avatar Mar 17 '22 09:03 gshpychka

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 avatar Mar 17 '22 09:03 gshpychka

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

Chriscbr avatar May 25 '22 00:05 Chriscbr

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

gshpychka avatar May 26 '22 09:05 gshpychka