rust-lang / www.rust-lang.org

The home of the Rust website
https://www.rust-lang.org
Apache License 2.0
368 stars 286 forks source link

Increase information density (esp. on small (laptop) screens) #412

Open nicoburns opened 5 years ago

nicoburns commented 5 years ago

Increase information density and add narative

Summary

I would like to modify the overall design philosophy to more information dense, and to make use of narrative text.

Motivation

I'm browsing the new Rust site on a 13 inch MacBook Pro (1400x900), and it's very difficult to actually glean any information from it, because there is so little information on each screen. For example compare the "Learn" pages from beta.rust-lang.org and python.org.

The rust design looks clean and modern, but there is much less actual content on screen. Additionally, the python page can be read beginning to end, with the text indicating guiding readers as to which resources might be most appropriate for them, whereas the rust page just says what the linked documentation is. I have more context, and know which of the links I want, but I think we could do more for users who are new to the Rust ecosystem.

https://beta.rust-lang.org/learn

screenshot 2018-11-29 at 18 39 16

https://www.python.org/about/gettingstarted

screenshot 2018-11-29 at 18 39 27

Drawbacks

It could make the design looked cluttered. It's my opinion that there is still plenty of room to increase density before this becomes a problem, but it should definitely be considered.

Rationale and alternatives

Maintenance

This shouldn't require any ongoing maintenance once the change is made, although there may be work for translators if more text is used.

If people agree with this proposal, then I might be able to find some time to work on a design that implements these suggestions...

varkor commented 5 years ago

I completely agree with this. image This is such a waste of space — if I want to learn about something, I don't want to have to scroll to see any meaningful information. This also conflicts directly with what was said in the recent blog post: we should be increasing meaningful content, not removing it.

(Not to derail this issue, but I also think it's relevant to including code samples. There's so much space available and to me at least some of the essence of a programming language is in its syntax.)

nicoburns commented 5 years ago

An example of how the current home page could look simply by removing whitespace:

screenshot 2018-11-29 at 21 28 48

And further compressed with a couple of content changes:

screenshot 2018-11-29 at 21 53 14
ashleygwilliams commented 5 years ago

this is a good related issue to bring up the white space but in the interest of small actionable issues, i would prefer if we could file issues per change. so i would welcome an issue to reduce the whitespace under the slogan atm. that way i (or someone else) can file a PR and close the issue.

this issue is good but much much larger and not likely to be something we can address this year.

ashleygwilliams commented 5 years ago

@chriskrycho as part of the tachyons migration, could u keep an eye on how we can improve the density in some places? seems like they could go together well as we work on the vertical rhythm of the pages. thanks!

nicoburns commented 5 years ago

It seems like it would probably be a good idea to establish standards for how much padding is left between elements. I find this is often one of the main things which makes things like "well designed".

ashleygwilliams commented 5 years ago

related: https://github.com/rust-lang/beta.rust-lang.org/issues/446

chriskrycho commented 5 years ago

535 begins to address this. See also #525, which is next on my list of things to tackle.

eddyp commented 5 years ago

I strongly agree with the idea, at work I have a laptop and 2 external small (19 inch) monitors and this is how the beta page looks when Firefox is maximized on:

image

This is it, basically none of the "Why Rust?" content, not even the titles are visible on the default landing page.

To have the "Why Rust?" section on the page I have to zoom out at 70%:

image

Even at 80% the last rows of the "Reliability" and "Performance" columns are out of the screen.

From the PoV of aestetics, I think some possible solutions are:

chriskrycho commented 5 years ago

I'm not sure what resolution you're dealing with, but even at 1280⨉720, most of that first section is visible:

screen shot 2018-12-06 at 10 01 40 am

We could certainly tweak it slightly further, but I think that's a pretty reasonable place to be at the moment. 🤔

eddyp commented 5 years ago

I am using 2 Dell E1911 whose maximum resolution is 1440x900.

eddyp commented 5 years ago

@chriskrycho I think I know why on my screen on Windows there so little content compared to yours. The problem is that Windows 10 has been a pain to configure to make true type fonts look comparable to what Windows 7 was doing properly and the only solution to not make my eyes hurt is to increase the font size to 125% on all monitors. This is not just one case, all of my work colleagues found this as the only solution that gives true type fonts in Windows 10 which do not break on reset or when disconnecting the laptops from docking stations and connecting external projectors.

eddyp commented 5 years ago

On an identical laptop in the same setup, but without the true type font workaround the current page is a little bit more decent, thanks @chriskrycho for the hint. (note that the bookmarks toolbar is not yet populated in this setup, but is present to have an identical screen realestate.)

image

Still, I'd consider decreasing the gaps/fonts so the explanations "Why Rust?" part doesn't get cut off.

mitsuhiko commented 5 years ago

Not sure if this belongs into this issue but the current font size feels quite a bit too large.

chriskrycho commented 5 years ago

@mitsuhiko I appreciate the feedback, but I'm afraid we're probably not going to tweak the overall font size again. We've landed on a midpoint for the font size which feels too large for some people and barely big enough for others, and is hitting our targets for legibility. We may make specific tweaks to specific points in the site, but not to the overall size.

mitsuhiko commented 5 years ago

@chriskrycho I honestly doubt that you found the sweet point. I’m sure if you were to run a survey on the font size the vast majority of respondents would reply with it being too large.

I can’t even find comments asking for larger fonts. The problem was that too much information was visible at once.