{"action":"created","issue":{"url":"https://api.github.com/repos/cabal-club/cabal-desktop/issues/10","repository_url":"https://api.github.com/repos/cabal-club/cabal-desktop","labels_url":"https://api.github.com/repos/cabal-club/cabal-desktop/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/cabal-club/cabal-desktop/issues/10/comments","events_url":"https://api.github.com/repos/cabal-club/cabal-desktop/issues/10/events","html_url":"https://github.com/cabal-club/cabal-desktop/issues/10","id":329537871,"node_id":"MDU6SXNzdWUzMjk1Mzc4NzE=","number":10,"title":"implement marker for unread channels","user":{"login":"nikolaiwarner","id":40796,"node_id":"MDQ6VXNlcjQwNzk2","avatar_url":"https://avatars0.githubusercontent.com/u/40796?v=4","gravatar_id":"","url":"https://api.github.com/users/nikolaiwarner","html_url":"https://github.com/nikolaiwarner","followers_url":"https://api.github.com/users/nikolaiwarner/followers","following_url":"https://api.github.com/users/nikolaiwarner/following{/other_user}","gists_url":"https://api.github.com/users/nikolaiwarner/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolaiwarner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolaiwarner/subscriptions","organizations_url":"https://api.github.com/users/nikolaiwarner/orgs","repos_url":"https://api.github.com/users/nikolaiwarner/repos","events_url":"https://api.github.com/users/nikolaiwarner/events{/privacy}","received_events_url":"https://api.github.com/users/nikolaiwarner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-05T16:41:39Z","updated_at":"2018-06-05T21:57:03Z","closed_at":null,"author_association":"NONE","body":"@karissa I'd like to implement this feature! This is the first time I've worked with React within an Electron app so please bear with me! 😄 \r\n\r\nFor the UI I imagine a little count next to the channel name when there are unread messages.\r\n\r\nHow would you suggest position of the last read message of a channel be stored? Saving to a json file or just localstorage? Or should it be saved to hyperdb to let everyone know read status? 😬 "},"comment":{"url":"https://api.github.com/repos/cabal-club/cabal-desktop/issues/comments/394873571","html_url":"https://github.com/cabal-club/cabal-desktop/issues/10#issuecomment-394873571","issue_url":"https://api.github.com/repos/cabal-club/cabal-desktop/issues/10","id":394873571,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDg3MzU3MQ==","user":{"login":"noffle","id":489362,"node_id":"MDQ6VXNlcjQ4OTM2Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/489362?v=4","gravatar_id":"","url":"https://api.github.com/users/noffle","html_url":"https://github.com/noffle","followers_url":"https://api.github.com/users/noffle/followers","following_url":"https://api.github.com/users/noffle/following{/other_user}","gists_url":"https://api.github.com/users/noffle/gists{/gist_id}","starred_url":"https://api.github.com/users/noffle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noffle/subscriptions","organizations_url":"https://api.github.com/users/noffle/orgs","repos_url":"https://api.github.com/users/noffle/repos","events_url":"https://api.github.com/users/noffle/events{/privacy}","received_events_url":"https://api.github.com/users/noffle/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T21:57:03Z","updated_at":"2018-06-05T21:57:03Z","author_association":"MEMBER","body":"A lot of this kind of data would fit really well into a generic client module, like https://github.com/cabal-club/cabal-client. The idea is you pass in a leveldb (fs on electron + cli, maybe indexeddb on some future browser version) and it stores all non-p2p state (rea-d-up-to, preferences, etc) locally."}}
{"actor":{"display_login":"noffle"}}