Content suggestion: Sort CSS Properties by category in the sidebar #9352
Labels
enhancement
Improves an existing feature.
needs discussion
p3
We don't have visibility when this will be addressed.
sidebar/toc
Sidebar and table of contents
What is the new suggestion?
I suggest to sort the properties list in the Sidebar for CSS pages by categories. That allows both looking for a property that one forgot the exact name of, if you still know what it's for, and to get thematically close suggestions for related pages, as in the old sidebar, as the category the current page is in would be extended automatically, once #5547 is fixed/implemented.
The categories in which the properties would be sorted in could be simply taken from the CSS Modules list, as the pages there seem ideal as categories for the Reference>Properties list especially considering that they actually contain indexes of properties already. (Example 1)
It is also worth thinking about merging the Module, Property, and At-rules lists, as they would all share the same categories. (Example 2)
In my Opinion this sorting method is vastly superior over Example 1, though i can see it being a bit less easily assessable - but still way better then the current sorting.
Also the Section the current page is in (Learn CSS/Reference/Guides/etc.) to be situated above all other sections, as the sections above do potentially move the automatically extended Reference>Properties>Category list off the screen otherwise.
Further, are the pages in "Learn CSS" and "Layout Cookbook" not guides aswell? Both of these should be parts of the Guides section, and the whole Guides section needs to be categorized aswell, as currently there are many lists - some of which only contain one page - that should be part of other lists in there instead.
If you don't want to merge the Step-ordered Learn CSS and the alphabetically ordered Guides, at least make the Three types of Guide Lists sublists of one Guide Category. (Example 3)
If done so, the Alphabetical index could be its own page aswell, instead of further bloating the sidebar.
Other Parts of this sidebar are also Sorted Weirdly, and Pseudo-classes and Pseudo-elements are selectors aswell, and should be subcategories of the Selectors list.
Why is it important or useful?
Currently the Sidebar for CSS pages is a huge chunk of bloated lists, some of which are too long to be comfortably scrolled through when looking for something specific. The Reference>Properties list is the worst offender, and it is a chore to find the page you are looking for there, especially if you forgot what a property was called exactly.
I actually forgot that the list was way more useful before, until i found mdn/content#3827 while looking for already existing duplicates to this suggestion. while i agree that the new sidebar has a better and more consistent style it also removed much of the ease of use and/or helpfulness, as now everything is thrown together in one huge list. Also it is now elementarily different to the sidebars for both Javascript (example) and HTML (example) that both still have the actually related links still directly accessible.
Will the work enable learners or professionals to achieve their goals better?
Yes, having the main element for navigation better structured and more easily assessable can only be good for everyone using it.
Other supporting information
Remotely similar issue to #3812
Example 1
Example 2
Example 3
The text was updated successfully, but these errors were encountered: