{"action":"created","issue":{"url":"https://api.github.com/repos/zotero/zotero/issues/1042","repository_url":"https://api.github.com/repos/zotero/zotero","labels_url":"https://api.github.com/repos/zotero/zotero/issues/1042/labels{/name}","comments_url":"https://api.github.com/repos/zotero/zotero/issues/1042/comments","events_url":"https://api.github.com/repos/zotero/zotero/issues/1042/events","html_url":"https://github.com/zotero/zotero/pull/1042","id":161207826,"number":1042,"title":"Adds custom view groups for different library types.","user":{"login":"adomasven","id":5899315,"avatar_url":"https://avatars.githubusercontent.com/u/5899315?v=3","gravatar_id":"","url":"https://api.github.com/users/adomasven","html_url":"https://github.com/adomasven","followers_url":"https://api.github.com/users/adomasven/followers","following_url":"https://api.github.com/users/adomasven/following{/other_user}","gists_url":"https://api.github.com/users/adomasven/gists{/gist_id}","starred_url":"https://api.github.com/users/adomasven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adomasven/subscriptions","organizations_url":"https://api.github.com/users/adomasven/orgs","repos_url":"https://api.github.com/users/adomasven/repos","events_url":"https://api.github.com/users/adomasven/events{/privacy}","received_events_url":"https://api.github.com/users/adomasven/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-20T14:26:37Z","updated_at":"2016-06-27T19:20:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zotero/zotero/pulls/1042","html_url":"https://github.com/zotero/zotero/pull/1042","diff_url":"https://github.com/zotero/zotero/pull/1042.diff","patch_url":"https://github.com/zotero/zotero/pull/1042.patch"},"body":"I originally attempted this with zotero-persists and column attributes,\r\nbut there is no good way to make it succint paramswise and the code was\r\npainful to look at too. Thus different group settings are stored in\r\npreferences.\r\n\r\nCurrently there are two view groups: \"feed\" and \"default\". Items view\r\ncolumns have two new attributes:\r\n`default-in` - a space separated list of views in which a column is\r\nvisible by default\r\n`disabled-in` - a space separated list of views in which a column is\r\ndisabled by default (invisible + not possible to enable)\r\n\r\nCurrently the settings are stored in a pref named `itemsView.columnVisibility`, but it could probably use a better name."},"comment":{"url":"https://api.github.com/repos/zotero/zotero/issues/comments/228847367","html_url":"https://github.com/zotero/zotero/pull/1042#issuecomment-228847367","issue_url":"https://api.github.com/repos/zotero/zotero/issues/1042","id":228847367,"user":{"login":"adomasven","id":5899315,"avatar_url":"https://avatars.githubusercontent.com/u/5899315?v=3","gravatar_id":"","url":"https://api.github.com/users/adomasven","html_url":"https://github.com/adomasven","followers_url":"https://api.github.com/users/adomasven/followers","following_url":"https://api.github.com/users/adomasven/following{/other_user}","gists_url":"https://api.github.com/users/adomasven/gists{/gist_id}","starred_url":"https://api.github.com/users/adomasven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adomasven/subscriptions","organizations_url":"https://api.github.com/users/adomasven/orgs","repos_url":"https://api.github.com/users/adomasven/repos","events_url":"https://api.github.com/users/adomasven/events{/privacy}","received_events_url":"https://api.github.com/users/adomasven/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T19:20:00Z","updated_at":"2016-06-27T19:20:00Z","body":"Maybe disable all columns not parsed by feed reader completely?"}}
{"actor":{"display_login":"adomasven"}}