{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/650","repository_url":"https://api.github.com/repos/elixir-lang/ex_doc","labels_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/650/comments","events_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/650/events","html_url":"https://github.com/elixir-lang/ex_doc/issues/650","id":192358823,"number":650,"title":"[Suggestion] Improve the fully navigable menu and removing \"Top\"","user":{"login":"aphillipo","id":52347,"avatar_url":"https://avatars.githubusercontent.com/u/52347?v=3","gravatar_id":"","url":"https://api.github.com/users/aphillipo","html_url":"https://github.com/aphillipo","followers_url":"https://api.github.com/users/aphillipo/followers","following_url":"https://api.github.com/users/aphillipo/following{/other_user}","gists_url":"https://api.github.com/users/aphillipo/gists{/gist_id}","starred_url":"https://api.github.com/users/aphillipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aphillipo/subscriptions","organizations_url":"https://api.github.com/users/aphillipo/orgs","repos_url":"https://api.github.com/users/aphillipo/repos","events_url":"https://api.github.com/users/aphillipo/events{/privacy}","received_events_url":"https://api.github.com/users/aphillipo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-29T18:16:59Z","updated_at":"2016-11-29T18:55:50Z","closed_at":null,"body":"I love that ExDoc has a fully navigable menu structure on every page without reload, but I strongly dislike \"Top\" to actually get to the page (because it's meaningless and repetitive - it might as well say \"go\" or \"start\", all of which feel weird).  It really wasn't clear to me what was happening the first time I used it and I've been thinking about a better UI for this for a while.\r\n\r\nLet's see if you guys like this proposal:\r\n\r\n1) The current pages' module/navbar item is always open.  Clicking the name goes to the top of the current document, maybe with an up arrow next to it.\r\n\r\n2) Clicking the heading of a top level navbar item (that is not the current page) opens the menu with subsections/functions as now but no \"Top\".  Instead two new icons appear; a minus/collapse icon on the left and an arrow on the far right.  \r\n\r\n3) Clicking on the open menu item heading (and arrow) does not close the section but takes you to the \"Top\".  Clicking the minus closes the open menu.\r\n\r\n4) Optionally, clicking another menu closes the open menu and does step 2 (the current pages menu is always open so if you want to browse you can click twice on a heading and then open another submenu; 3 open function definitions is probably overkill anyway).\r\n\r\n5) Double clicking should cancel the opening of the menu and open the page.\r\n\r\nMaybe thinking about 5) with a small delay would be enough; I still would want to get rid of \"Top\" because I found it so unclear that this means \"Navigate to the document\".\r\n\r\nApologies if you absolutely hate this or this is the wrong place, but I think it would work quite well ;-)\r\n\r\nI'm happy to have a look at implementing too if you like!  Ta."},"comment":{"url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/comments/263663253","html_url":"https://github.com/elixir-lang/ex_doc/issues/650#issuecomment-263663253","issue_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/650","id":263663253,"user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T18:55:50Z","updated_at":"2016-11-29T18:55:50Z","body":"Can you do a quick mock up of what you have in mind? At least visually? It has been very hard to put the pieces together only with text."}}
{"actor":{"display_login":"josevalim"}}