{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/android/issues/2778","repository_url":"https://api.github.com/repos/nextcloud/android","labels_url":"https://api.github.com/repos/nextcloud/android/issues/2778/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/android/issues/2778/comments","events_url":"https://api.github.com/repos/nextcloud/android/issues/2778/events","html_url":"https://github.com/nextcloud/android/pull/2778","id":337419991,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NjA4MzMx","number":2778,"title":"Notification: add action buttons","user":{"login":"tobiasKaminsky","id":5836855,"node_id":"MDQ6VXNlcjU4MzY4NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/5836855?v=4","gravatar_id":"","url":"https://api.github.com/users/tobiasKaminsky","html_url":"https://github.com/tobiasKaminsky","followers_url":"https://api.github.com/users/tobiasKaminsky/followers","following_url":"https://api.github.com/users/tobiasKaminsky/following{/other_user}","gists_url":"https://api.github.com/users/tobiasKaminsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasKaminsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasKaminsky/subscriptions","organizations_url":"https://api.github.com/users/tobiasKaminsky/orgs","repos_url":"https://api.github.com/users/tobiasKaminsky/repos","events_url":"https://api.github.com/users/tobiasKaminsky/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasKaminsky/received_events","type":"User","site_admin":false},"labels":[{"id":392413889,"node_id":"MDU6TGFiZWwzOTI0MTM4ODk=","url":"https://api.github.com/repos/nextcloud/android/labels/2.%20to%20review","name":"2. to review","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-02T08:38:42Z","updated_at":"2018-07-03T06:22:16Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/nextcloud/android/pulls/2778","html_url":"https://github.com/nextcloud/android/pull/2778","diff_url":"https://github.com/nextcloud/android/pull/2778.diff","patch_url":"https://github.com/nextcloud/android/pull/2778.patch"},"body":"- add action buttons for notifications\r\n- separate notification list item xml\r\n- centralized account -> no need to check in activity for account null\r\n- if action is successful, the item will vanish\r\n- if not successful a snackbar is shown\r\n\r\n![2018-07-02-103615](https://user-images.githubusercontent.com/5836855/42153614-e20472a6-7de3-11e8-95a7-a4906885e13a.png)\r\n\r\nAs @nickvergessen said, currently we use only two buttons.\r\nIf more buttons need to be shown, the will shown horizontally and then line wrap.\r\n\r\nSigned-off-by: tobiasKaminsky <tobias@kaminsky.me>"},"comment":{"url":"https://api.github.com/repos/nextcloud/android/issues/comments/402026123","html_url":"https://github.com/nextcloud/android/pull/2778#issuecomment-402026123","issue_url":"https://api.github.com/repos/nextcloud/android/issues/2778","id":402026123,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjAyNjEyMw==","user":{"login":"tobiasKaminsky","id":5836855,"node_id":"MDQ6VXNlcjU4MzY4NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/5836855?v=4","gravatar_id":"","url":"https://api.github.com/users/tobiasKaminsky","html_url":"https://github.com/tobiasKaminsky","followers_url":"https://api.github.com/users/tobiasKaminsky/followers","following_url":"https://api.github.com/users/tobiasKaminsky/following{/other_user}","gists_url":"https://api.github.com/users/tobiasKaminsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasKaminsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasKaminsky/subscriptions","organizations_url":"https://api.github.com/users/tobiasKaminsky/orgs","repos_url":"https://api.github.com/users/tobiasKaminsky/repos","events_url":"https://api.github.com/users/tobiasKaminsky/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasKaminsky/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T06:22:16Z","updated_at":"2018-07-03T06:22:16Z","author_association":"MEMBER","body":"![2018-07-03-081926](https://user-images.githubusercontent.com/5836855/42201859-d131d728-7e99-11e8-9a4e-7f113862feee.png)\r\n\r\nThis looks kind of lost ;-)\r\nSo I keep it the old way, maybe you find a nicer way :-)"}}
{"actor":{"display_login":"tobiasKaminsky"}}