{"action":"created","issue":{"url":"https://api.github.com/repos/SuperuserLabs/thankful/issues/127","repository_url":"https://api.github.com/repos/SuperuserLabs/thankful","labels_url":"https://api.github.com/repos/SuperuserLabs/thankful/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/SuperuserLabs/thankful/issues/127/comments","events_url":"https://api.github.com/repos/SuperuserLabs/thankful/issues/127/events","html_url":"https://github.com/SuperuserLabs/thankful/pull/127","id":344027215,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzNTE5MDIz","number":127,"title":"[WIP] Donation reminders","user":{"login":"Powersource","id":1427063,"node_id":"MDQ6VXNlcjE0MjcwNjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1427063?v=4","gravatar_id":"","url":"https://api.github.com/users/Powersource","html_url":"https://github.com/Powersource","followers_url":"https://api.github.com/users/Powersource/followers","following_url":"https://api.github.com/users/Powersource/following{/other_user}","gists_url":"https://api.github.com/users/Powersource/gists{/gist_id}","starred_url":"https://api.github.com/users/Powersource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Powersource/subscriptions","organizations_url":"https://api.github.com/users/Powersource/orgs","repos_url":"https://api.github.com/users/Powersource/repos","events_url":"https://api.github.com/users/Powersource/events{/privacy}","received_events_url":"https://api.github.com/users/Powersource/received_events","type":"User","site_admin":false},"labels":[{"id":998069983,"node_id":"MDU6TGFiZWw5OTgwNjk5ODM=","url":"https://api.github.com/repos/SuperuserLabs/thankful/labels/improves:%20retention","name":"improves: retention","color":"d93f0b","default":false},{"id":974542484,"node_id":"MDU6TGFiZWw5NzQ1NDI0ODQ=","url":"https://api.github.com/repos/SuperuserLabs/thankful/labels/priority:%20high","name":"priority: high","color":"b60205","default":false},{"id":984954624,"node_id":"MDU6TGFiZWw5ODQ5NTQ2MjQ=","url":"https://api.github.com/repos/SuperuserLabs/thankful/labels/size:%20medium","name":"size: medium","color":"fbca04","default":false},{"id":380505247,"node_id":"MDU6TGFiZWwzODA1MDUyNDc=","url":"https://api.github.com/repos/SuperuserLabs/thankful/labels/type:%20enhancement","name":"type: enhancement","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":{"login":"Powersource","id":1427063,"node_id":"MDQ6VXNlcjE0MjcwNjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1427063?v=4","gravatar_id":"","url":"https://api.github.com/users/Powersource","html_url":"https://github.com/Powersource","followers_url":"https://api.github.com/users/Powersource/followers","following_url":"https://api.github.com/users/Powersource/following{/other_user}","gists_url":"https://api.github.com/users/Powersource/gists{/gist_id}","starred_url":"https://api.github.com/users/Powersource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Powersource/subscriptions","organizations_url":"https://api.github.com/users/Powersource/orgs","repos_url":"https://api.github.com/users/Powersource/repos","events_url":"https://api.github.com/users/Powersource/events{/privacy}","received_events_url":"https://api.github.com/users/Powersource/received_events","type":"User","site_admin":false},"assignees":[{"login":"Powersource","id":1427063,"node_id":"MDQ6VXNlcjE0MjcwNjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1427063?v=4","gravatar_id":"","url":"https://api.github.com/users/Powersource","html_url":"https://github.com/Powersource","followers_url":"https://api.github.com/users/Powersource/followers","following_url":"https://api.github.com/users/Powersource/following{/other_user}","gists_url":"https://api.github.com/users/Powersource/gists{/gist_id}","starred_url":"https://api.github.com/users/Powersource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Powersource/subscriptions","organizations_url":"https://api.github.com/users/Powersource/orgs","repos_url":"https://api.github.com/users/Powersource/repos","events_url":"https://api.github.com/users/Powersource/events{/privacy}","received_events_url":"https://api.github.com/users/Powersource/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-07-24T13:02:45Z","updated_at":"2018-07-31T10:02:17Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/SuperuserLabs/thankful/pulls/127","html_url":"https://github.com/SuperuserLabs/thankful/pull/127","diff_url":"https://github.com/SuperuserLabs/thankful/pull/127.diff","patch_url":"https://github.com/SuperuserLabs/thankful/pull/127.patch"},"body":"Once a week (maybe a month in the future) we should remind the user to donate by:\r\n* [x] Adding a badge to the browseraction that signifies that the user should do something.\r\n* [x] Having some text in the popup that explains what's up. Maybe have some other text when that isn't there?\r\n* [x] Having a toaster notification remind the user once every 24h.\r\n* [x] Switch to using alarms instead of setInterval\r\n* [ ] ~~Instead of updating the badge every 5 seconds, update it by sending some message when we donate~~ Skipping this, I think it's too complex for marginal gain.\r\n* [ ] Just check the db instead of storing lastDonation separately\r\n* [ ] Put everything in a lib file. Import into both background.js and the dashboard\r\n* [ ] Include font for the bell emoji (if that's needed). Someone else should do this since it already works for me so I can't test.\r\n\r\nFixes https://github.com/SuperuserLabs/thankful/issues/109"},"comment":{"url":"https://api.github.com/repos/SuperuserLabs/thankful/issues/comments/409166620","html_url":"https://github.com/SuperuserLabs/thankful/pull/127#issuecomment-409166620","issue_url":"https://api.github.com/repos/SuperuserLabs/thankful/issues/127","id":409166620,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTE2NjYyMA==","user":{"login":"ErikBjare","id":1405370,"node_id":"MDQ6VXNlcjE0MDUzNzA=","avatar_url":"https://avatars0.githubusercontent.com/u/1405370?v=4","gravatar_id":"","url":"https://api.github.com/users/ErikBjare","html_url":"https://github.com/ErikBjare","followers_url":"https://api.github.com/users/ErikBjare/followers","following_url":"https://api.github.com/users/ErikBjare/following{/other_user}","gists_url":"https://api.github.com/users/ErikBjare/gists{/gist_id}","starred_url":"https://api.github.com/users/ErikBjare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErikBjare/subscriptions","organizations_url":"https://api.github.com/users/ErikBjare/orgs","repos_url":"https://api.github.com/users/ErikBjare/repos","events_url":"https://api.github.com/users/ErikBjare/events{/privacy}","received_events_url":"https://api.github.com/users/ErikBjare/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T10:02:17Z","updated_at":"2018-07-31T10:02:17Z","author_association":"MEMBER","body":"Nicely fixed"}}
{"actor":{"display_login":"ErikBjare"}}