-
Notifications
You must be signed in to change notification settings - Fork 515
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
Suggestion for improving JS/API sidebars — add labels to indicate page types. #6968
Comments
@wbamberg What are your opinions on this? |
AFAICT this is talking about the "Global Objects" section of the sidebar, which does include things that don't look like objects, such as But I don't think the solution would be to label every entry. That would make the sidebar very noisy. It would be better to reorganize the sidebar so that section does only contain objects, and if necessary have other sections for things like global functions and maybe namespaces, and label each section properly. This is also tied to mdn/content#16156 . So maybe we should close this one and track that work in #3826? |
@valango commented on Fri Sep 25 2020
Request type
Details
The left-side navigation column at (https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript)
is somewhat confusing for people not experienced in Javascript - labels for constuctors, interfaces and global object instances/namespaces all look the same.
Perhaps it would be helpful to have a "type tag" next to object name, like below (do not mind the bullets in the left):
namespace
constant
constructor
interface
Almost everything is an object in Javascript, so the current presentation is correct, of course.
Adding some specifics would just make it a little more helpful for newbies.
Sorry, I am newbie myself to the Wiki editor, so could not find the right place to make those changes. ;)
@chrisdavidmills commented on Mon Sep 28 2020
I like this idea, but we don't have the capacity to look into it now. I'm going to transfer this to the Kuma (MDN platform) repo, and we can hopefully put it the backlog to consider as we redesign sidebars in the next iteration of MDN.
The text was updated successfully, but these errors were encountered: