{"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4212","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4212/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4212/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4212/events","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/4212","id":78768570,"number":4212,"title":"Add 'sticky' behaviour to left menu","user":{"login":"flashbackzoo","id":878176,"avatar_url":"https://avatars.githubusercontent.com/u/878176?v=3","gravatar_id":"","url":"https://api.github.com/users/flashbackzoo","html_url":"https://github.com/flashbackzoo","followers_url":"https://api.github.com/users/flashbackzoo/followers","following_url":"https://api.github.com/users/flashbackzoo/following{/other_user}","gists_url":"https://api.github.com/users/flashbackzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/flashbackzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flashbackzoo/subscriptions","organizations_url":"https://api.github.com/users/flashbackzoo/orgs","repos_url":"https://api.github.com/users/flashbackzoo/repos","events_url":"https://api.github.com/users/flashbackzoo/events{/privacy}","received_events_url":"https://api.github.com/users/flashbackzoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-21T01:10:59Z","updated_at":"2015-05-21T22:58:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/pulls/4212","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/4212","diff_url":"https://github.com/silverstripe/silverstripe-framework/pull/4212.diff","patch_url":"https://github.com/silverstripe/silverstripe-framework/pull/4212.patch"},"body":"This adds dynamic expand / collapse behaviour to the left menu.\r\n\r\nThe idea is to increase the available space for content editing, allowing the user to focus on their task, and hide away the menu clutter.\r\n\r\nThe default view upon logging into the CMS remains the same, except for the additional icon in the bottom left.\r\n![sticky-off-expanded](https://cloud.githubusercontent.com/assets/878176/7739686/84ed5b2e-ffb9-11e4-9deb-7c9212f1e65e.png)\r\n\r\nNavigating to a page collapses the left menu, allowing more space for content editing.\r\n![sticky-off-collapsed-sitetree](https://cloud.githubusercontent.com/assets/878176/7739710/e3888ece-ffb9-11e4-8e5b-cdda8cac51d0.png)\r\n\r\nIf the user navigates back to the top level (anywhere the SiteTree is not rendered in the middle panel) the menu is expanded, back to the state in the first screenshot.\r\n\r\nIf a user prefers to have the menu expanded or collapsed at all times (disabling the automatic expand / collapse behaviour) they can toggle the 'sticky' icon.\r\n\r\n![sticky-on-expanded](https://cloud.githubusercontent.com/assets/878176/7739743/910ec77a-ffba-11e4-9894-ea34d3799ff2.png)\r\n\r\nThe menu will now stay in it's expanded state, no matter where the user navigates. Toggling the 'sticky' icon again will revert back to the default automatic expand / collapse behaviour.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/comments/104444651","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/4212#issuecomment-104444651","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4212","id":104444651,"user":{"login":"tractorcow","id":936064,"avatar_url":"https://avatars.githubusercontent.com/u/936064?v=3","gravatar_id":"","url":"https://api.github.com/users/tractorcow","html_url":"https://github.com/tractorcow","followers_url":"https://api.github.com/users/tractorcow/followers","following_url":"https://api.github.com/users/tractorcow/following{/other_user}","gists_url":"https://api.github.com/users/tractorcow/gists{/gist_id}","starred_url":"https://api.github.com/users/tractorcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tractorcow/subscriptions","organizations_url":"https://api.github.com/users/tractorcow/orgs","repos_url":"https://api.github.com/users/tractorcow/repos","events_url":"https://api.github.com/users/tractorcow/events{/privacy}","received_events_url":"https://api.github.com/users/tractorcow/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T22:58:35Z","updated_at":"2015-05-21T22:58:35Z","body":"How about something like this to indicate what the icon means\r\n\r\n![image](https://cloud.githubusercontent.com/assets/936064/7760623/5c342808-0071-11e5-9981-c5e2ae084873.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/936064/7760640/77c6fbe0-0071-11e5-8fc7-c6f8ae213438.png)\r\n\r\n"}}