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
Issue 17232 - make std.algorithm table more digestable #5213
Issue 17232 - make std.algorithm table more digestable #5213
Conversation
|
Btw it would also make sense to me to drop the capital letter and use the actual module name instead of its "verbose" description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea.
Though the fundamental problem remains: a giant mass of links isn't very easy to navigate. I wish there was some way of columnizing the links automatically, as a grid of links would be slightly easier to read, but AFAIK HTML/CSS doesn't have such a feature just yet.
P.S. "Set operations" doesn't immediately translate to |
There's Flexbox
Yep I know and I came to the conclusion that probably going with |
Excellent idea (add |
The problem is that the design doesn't take mobile devices into consideration at all. A table like design doesn't work well on a mobile device because it's not wide enough. What about just a list instead: Searching
Comparison
Of course It doesn't need be a bullet point list and the headers (categories) could be expandable as well. |
This won't look well on Desktop devices. I think we are all aware that the As mentioned on the top this was intended as an quick, intermediate solution and as an added benefit makes the page look much better on Desktop devices. @quickfur or @JackStouffer: could one of you approve, s.t. we can ship this for the time being? Thanks! |
There's nothing say that we have to use lists on desktop devices. The problem is that tables don't fit very well on narrow screens. Trying to use the same type of control/widget/element on both mobile and desktop won't work in this case, in my opinion. Take for example a native iOS application, like Preferences. Here's a print screen from an iPad, with a wide(er) screen: It has a menu in the left side and the content on the right side. The same app on iPhone will not use the same layout, it will instead have the view that was a menu on the iPad as the first view, then tapping on an item in that view will bring you to the content view, that was the right side on iPad:
Fair enough. |
Auto-merge toggled on |
This isn't a complete fix of 17232, but it's a simple step to improve the current status and it also looks nicer on the Desktop as I think it's quite obvious to the reader that he's looking at
std.algorithm
(title, left sidebar, url, ...)Before:
After: