On 1/19/15 10:29 PM, Andrei Alexandrescu wrote:
Take a look at http://dlang.org. New menus are in place for the main
site and library.

I think we're in a better place than before. However, there are a few
things left to do. I'd very much appreciate help with those.

* New docs don't yet have the new menu implemented.

* Menu tracking works, i.e. if the URL a page matches a menu entry, then
the menu will automatically open to that page and mark the entry active.
However, that's rather simplistic; for example navigating
http://dlang.org/statement.html does not open the "Documentation" menu
because the link is not directly present.

A simple and probably desirable fix would be to just make "Language
Reference" a top-level menu entry with submenus. Could one of our
awesome lieutenants see to it?

* Better colors etc. are always welcome. Please submit your pull
requests with screenshots so we can appreciate.

Looks excellent!

3 issues:

1. when browsing the library, the rest of the menu disappears (i.e. the rest of the menu is gone). You can click on the "D Lib 2.066.1" menu at the top to get back, but it's not obvious. There should at least be a "back" or "home" button in that menu. 2. Some of the library expansions don't fit into the column (e.g. std.windows.charset). 3. When I expand one section, the existing expanded section collapses. I hate this. First, if I want all of them open, I can't do that (this may be important on the library navigation). Second, if you have a large expanded section open, and you expand a smaller section that is below it, it sucks the menu back up above the screen, making you have to scroll up. For example, try opening std, then open core. To open core, you have to scroll way down. As soon as you open it, the menu gets sucked away.

I know your response will be "awaiting your PR" :) I'll try and see if I can fix at least the expansion problem.

The menu is a huge HUGE improvement, the old one was too subtle.

-Steve

Reply via email to