{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/android/issues/1559","repository_url":"https://api.github.com/repos/owncloud/android","labels_url":"https://api.github.com/repos/owncloud/android/issues/1559/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/android/issues/1559/comments","events_url":"https://api.github.com/repos/owncloud/android/issues/1559/events","html_url":"https://github.com/owncloud/android/pull/1559","id":142991212,"number":1559,"title":"Toolbar, new Drawer and new Account Manager -  #1556","user":{"login":"AndyScherzinger","id":1315170,"avatar_url":"https://avatars.githubusercontent.com/u/1315170?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyScherzinger","html_url":"https://github.com/AndyScherzinger","followers_url":"https://api.github.com/users/AndyScherzinger/followers","following_url":"https://api.github.com/users/AndyScherzinger/following{/other_user}","gists_url":"https://api.github.com/users/AndyScherzinger/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyScherzinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyScherzinger/subscriptions","organizations_url":"https://api.github.com/users/AndyScherzinger/orgs","repos_url":"https://api.github.com/users/AndyScherzinger/repos","events_url":"https://api.github.com/users/AndyScherzinger/events{/privacy}","received_events_url":"https://api.github.com/users/AndyScherzinger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/android/labels/3%20-%20To%20review","name":"3 - To review","color":"CCCCCC"},{"url":"https://api.github.com/repos/owncloud/android/labels/accounts","name":"accounts","color":"009800"},{"url":"https://api.github.com/repos/owncloud/android/labels/Design","name":"Design","color":"cc317c"},{"url":"https://api.github.com/repos/owncloud/android/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"AndyScherzinger","id":1315170,"avatar_url":"https://avatars.githubusercontent.com/u/1315170?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyScherzinger","html_url":"https://github.com/AndyScherzinger","followers_url":"https://api.github.com/users/AndyScherzinger/followers","following_url":"https://api.github.com/users/AndyScherzinger/following{/other_user}","gists_url":"https://api.github.com/users/AndyScherzinger/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyScherzinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyScherzinger/subscriptions","organizations_url":"https://api.github.com/users/AndyScherzinger/orgs","repos_url":"https://api.github.com/users/AndyScherzinger/repos","events_url":"https://api.github.com/users/AndyScherzinger/events{/privacy}","received_events_url":"https://api.github.com/users/AndyScherzinger/received_events","type":"User","site_admin":false},"milestone":null,"comments":92,"created_at":"2016-03-23T15:24:02Z","updated_at":"2016-04-26T21:10:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/android/pulls/1559","html_url":"https://github.com/owncloud/android/pull/1559","diff_url":"https://github.com/owncloud/android/pull/1559.diff","patch_url":"https://github.com/owncloud/android/pull/1559.patch"},"body":"This is the PR for #1556 - see todos and comments\r\n\r\nAt the moment my implementation is stable and available in the beta.\r\n\r\nAt the moment I also added the uploads menu item here as a dummy since this PR will be merged after the reliable uploads has been released so you all can already see how it will look like.\r\n\r\nMaterial Design spec for side nav drawer: \r\nhttp://www.google.com/design/spec/layout/structure.html#structure-side-nav\r\n\r\n----\r\nWhat has been done already:\r\n- [x] integrate with toolbar and get navigation right\r\n- [x] integrate new drawer implementation where menu items do have a checked state\r\n- [x] FIXES #1210\r\n- [x] FIXES #1383 \r\n- [x] Successor of  #1537\r\n- [x] integrate material style account switcher\r\n- [x] implement colored circle/letter user icon with the right diameter in alignment to the oC server's implementation (this has already been implemented by @tobiasKaminsky an the account switcher branch)\r\n- [x] remove old drawer implementation.\r\n- [x] propagate account manager changes to the drawer including active account swapping\r\n- [x] check for necessary fix for #1572 after #1493 has been merged to master \r\n- [x] modify header design with larger user icon and menu item aligned switcher text and smaller overall drawer header height\r\n- [x] implement account switching in header via avatar icons (always remember and show the last 3 accounts)\r\n- [x] test what happens for really, really, really long account names with the menu items\r\n- [ ] TODO heavy testing for all Activities to make sure they all call the toolbar setup methods after they set the view content."},"comment":{"url":"https://api.github.com/repos/owncloud/android/issues/comments/214887098","html_url":"https://github.com/owncloud/android/pull/1559#issuecomment-214887098","issue_url":"https://api.github.com/repos/owncloud/android/issues/1559","id":214887098,"user":{"login":"MTRichards","id":1818977,"avatar_url":"https://avatars.githubusercontent.com/u/1818977?v=3","gravatar_id":"","url":"https://api.github.com/users/MTRichards","html_url":"https://github.com/MTRichards","followers_url":"https://api.github.com/users/MTRichards/followers","following_url":"https://api.github.com/users/MTRichards/following{/other_user}","gists_url":"https://api.github.com/users/MTRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/MTRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTRichards/subscriptions","organizations_url":"https://api.github.com/users/MTRichards/orgs","repos_url":"https://api.github.com/users/MTRichards/repos","events_url":"https://api.github.com/users/MTRichards/events{/privacy}","received_events_url":"https://api.github.com/users/MTRichards/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T21:10:01Z","updated_at":"2016-04-26T21:10:01Z","body":"@davivel @rperezb maybe we can move this up?"}}