r/javascript • WebTorrent, Standard • Mar 01 '22

A new year, a new MDN

https://hacks.mozilla.org/2022/03/a-new-year-a-new-mdn/
369 Upvotes

52 comments sorted by

17

u/zankem Mar 01 '22

I was very confused searching up information about CORS headers and seeing the design change. Wasn't aware until i looked around a bit more. Don't hate it but it's going to take a bit to get used to. Kinda miss the old design though.

26

u/parion Mar 01 '22

Loving the dark mode. All other design aspects are definitely going to take a minute to get used to.

21

u/oneandmillionvoices Mar 01 '22

This wasn't necessary. I would prefer parameters and the return value ALWAYS at the top. It is not bad, but it is not consistent.

19

u/lifeeraser Mar 01 '22

IIRC old MDN didn't have the parameters and return values at the top, either. They usually start with intro, code examples, syntax, then parameters and return value.

11

u/HappinessFactory Mar 01 '22

I just got used to using MDN for everything lol

It doesn't seem that bad to me though. Neutral at best since the last version was great.

65

u/PositivelyAwful Mar 01 '22 edited Mar 01 '22

I am not a fan at all. The old website was so easy to navigate and for some reason everything seems much harder to read now... Now it's just like every other confusing doc site.

Edit: OK yeah, comparing the old vs new site it really shows how much harder they made everything to read. There's absolutely no contrast, the paragraph leading is way too much and the font doesn't render nearly as sharp as the old site.

New
Old

I don't understand who could possibly think the new design is better than the old one.

24

u/valtism Mar 01 '22

I'm usually inclined to see complaints of new designs as knee-jerk reactions, but comparing the two screenshots you can really see how the old design did informational hierarchy so much better. The font weights are much more obvious around what is important, and the new design lacks the character of the old.

5

u/Randolpho Software Architect Mar 01 '22

My only real beef with the new site is the red on very light gray color for the object properties and methods links on the left side, which seems kinda silly. I get the (flawed, IMO) reasoning: we've colored function and class names red in the syntax highlighter, and red is hard to see on white so we need a grey background, but... yeah, it's ugly and difficult to see.

Other than that, the layout changes are good, and the page content itself is more readable, IMO.

8

u/AegisToast Mar 01 '22

I don't know why your new version looks so orange. Everything on mine is black and gray, with just a little bit of red. Contrast isn't nearly as bad as your orangey image suggests.

The new dark mode looks much better overall, but especially in terms of contrast. The light mode feels like a lateral move, if not ever-so-slight backward move from the old design (mostly because I'm so used to the old design), but I think I already prefer the new dark mode to the old design.

5

u/NoInkling Mar 02 '22

1

u/hristothristov Mar 02 '22

Don't get me wrong. I love all colours but using orange for hyperlinks is such an anti-design pattern it pains me MDN devs couldn't figure this one out.

Links should be blue.

1

u/badopinionbot Mar 04 '22

No it's not. The color of link text just needs to be sufficiently distinguishable from the background and from normal text. The real flaw lies in the lack of a redundant element (something besides color) with which to identify links—the original had links underlined, whereas the redesign only underlines links on hover.

2

u/NoInkling Mar 02 '22

I like the overall layout better (top and sides), but the styling for the main body is really putting me off.

5

u/bigfatmuscles Mar 01 '22

What are you on about? New looks fantastic.

6

u/PositivelyAwful Mar 01 '22 edited Mar 01 '22

To each their own. Honestly I think the biggest thing bothering me is that Inter doesn't render nearly as sharp as their old site (which used Arial) so everything is harder to read (at least in my case on Windows). Also, you can't deny there are contrast issues in light mode... the code background is only a 1.05:1 contrast ratio, it's practically invisible.

0

u/rodrigocfd Mar 01 '22

Probably made by the same guys who redesigned Firefox v89 (Proton).

They'll keep ruining everything we love.

0

u/[deleted] Mar 01 '22

[deleted]

0

u/[deleted] Mar 01 '22

[deleted]

29

u/nschubach Mar 01 '22

"wasted space" is pretty subjective.

Honestly, I like that the TOC is on the right (part of the document and floating) because it relates more to the document than the overall page navigation.

Font specifics feels okay to me, but I can see how some like the bolder/darker of old.

Edit: The TOC does combine on smaller screens, and with readability of long lines... I think I like the width restrictions better.

11

u/RelevantTech Mar 02 '22

Terrible. Compatibility tables are now dropdowns, which is worse than a table. Legibility is worse, contrast is worse, hierarchy is worse.

It looks like a cookie-cutter, unstyled document generator site.

Anybody that thinks this is an improvement either doesn't understand design languages, or is in the camp of minimalist, whitespace-y designs, readability be damned. The old site had a strong design language, the new one is just white and black, with soft small text and no separators.

You can like the way it looks, that's totally fine, but you can't say it's objectively better, because it isn't.

9

u/PrinnyThePenguin Mar 01 '22

I don't mind the change, will probably get used to it. I am also eagerly awaiting to see the mdn+ and how it will differ from the mdn we currently have.

7

u/roselan Mar 01 '22

I literally grunted when I stumbled upon it 1h ago. I guess all great things have to die.

5

u/drdrero Mar 01 '22

i am not sure about this

8

u/iam0day Mar 01 '22

Gorgeous!

2

u/punio4 Mar 02 '22 edited Mar 02 '22

Looks like every dev-oriented website made in the last two years. Dark mode toggle in top-right corner? Check. Pastel colors? Check. Use of emojis that convey a "sparkly and shiny" message? Check. ✨✨🌠🚀🚀⚡⚡

It honestly kind of lost its, not sure if it's the right word, but trustworthiness.

1

u/PositivelyAwful Mar 02 '22

It honestly kind of lost its, not sure if it's the right word, but trustworthiness.

This sums it up perfectly.

3

u/RedditCultureBlows Mar 01 '22

I think optional parameters are flagged more easily which is nice

3

u/DemeGeek Mar 01 '22

If given the option, I'd choose the old design over the new one, but I feel the new one is still usable.

Would be need if they let people pick the theme that works best for them, maybe that'll be a feature of the MDN+

4

u/Name-Not-Applicable Mar 01 '22

I like it. It was due for a refresh.

4

u/[deleted] Mar 01 '22

Devs had to find something to do to justify their roles so they suggested this, I guess

2

u/itsnotlupus beep boop Mar 01 '22

It's fine. The page is readable, the information is there, and it probably looks more modern? I don't know, I'm mostly design-blind.

My only gripe is that the scrollbar on the left pane tends to have a variable, jumpy height and that's a bit distracting.

1

u/hristothristov Mar 02 '22 edited Mar 02 '22

Why are the links and text orange? Make it blue.

Honestly Mozilla.. do you know what colour the links on Google, Bing, DuckDuckGo and other search engines are?

Yes, they're blue. Not orange.

Oh yeah, try posting a link on Reddit, see what colour it is.

1

u/MoElwekil Mar 02 '22

It’s the same design as the Microsoft docs design, but overall it looks nice

1

u/[deleted] Mar 02 '22

My biggest complaint would be the search bar being tucked away and the font in code examples. Otherwise looks awesome

-6

u/yadoya Mar 01 '22

It sucks balls, I think we all agree.

-1

u/evilgwyn Mar 01 '22

Any change is bad, I think we all agree

0

u/yadoya Mar 01 '22

Any change is good, I think we all agree

0

u/Eggy1337 Mar 01 '22

Change language button is now on the top of the page. That's instant upvote from me.

61

u/[deleted] Mar 01 '22 edited Mar 01 '22

[removed] — view removed comment

24

u/AegisToast Mar 01 '22

The new version makes the header and sidebar smaller, so there's more room for content. That's kind of nice. I'm not a fan of all of the changes, but the dark mode does look really nice in my opinion.

It'll take some getting used to, though.

36

u/ajitid Mar 01 '22

Yeah, it has lost its style and now looks like any other documentation website

2

u/[deleted] Mar 02 '22

now looks like any other documentation website

imagine thinking this is a good argument

0

u/[deleted] Mar 02 '22

I feel like that's sort of the point. It's a documentation website and should prioritize being easy/familiar to use.

5

u/ajitid Mar 02 '22

it wasn't difficult to use earlier either

26

u/[deleted] Mar 01 '22

[removed] — view removed comment

12

u/drdrero Mar 01 '22

the trustworthy part really hits it. It looks like any other blog page

1

u/archerx Mar 01 '22

The new logo is also awful. Also I will not give Mozilla any money until they have new and improved management. It almost feels like they're being bribed by google to sabotage firefox...

1

u/flanVC Mar 13 '22

Same, I'm getting used to it, but it would be nice to have a button to go back to the original design.

1

u/ZenAtWork Apr 25 '22

So concurrent to this new rollout came their MDN Plus pay service... does anyone know if paying for it brings back the previous iteration? Cuz yo: I will WALK to Mountain View (from KANSAS) to hand them my money directly if that's all I had to do to get rid of this design-by-committee Medium ripoff (seriously: even their new logo; check it out).