{"action":"created","issue":{"url":"https://api.github.com/repos/gitcoinco/web/issues/2404","repository_url":"https://api.github.com/repos/gitcoinco/web","labels_url":"https://api.github.com/repos/gitcoinco/web/issues/2404/labels{/name}","comments_url":"https://api.github.com/repos/gitcoinco/web/issues/2404/comments","events_url":"https://api.github.com/repos/gitcoinco/web/issues/2404/events","html_url":"https://github.com/gitcoinco/web/issues/2404","id":368481927,"node_id":"MDU6SXNzdWUzNjg0ODE5Mjc=","number":2404,"title":"Build Front-End of Notifications for Gitcoin","user":{"login":"PixelantDesign","id":238235,"node_id":"MDQ6VXNlcjIzODIzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/238235?v=4","gravatar_id":"","url":"https://api.github.com/users/PixelantDesign","html_url":"https://github.com/PixelantDesign","followers_url":"https://api.github.com/users/PixelantDesign/followers","following_url":"https://api.github.com/users/PixelantDesign/following{/other_user}","gists_url":"https://api.github.com/users/PixelantDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/PixelantDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PixelantDesign/subscriptions","organizations_url":"https://api.github.com/users/PixelantDesign/orgs","repos_url":"https://api.github.com/users/PixelantDesign/repos","events_url":"https://api.github.com/users/PixelantDesign/events{/privacy}","received_events_url":"https://api.github.com/users/PixelantDesign/received_events","type":"User","site_admin":false},"labels":[{"id":1079599071,"node_id":"MDU6TGFiZWwxMDc5NTk5MDcx","url":"https://api.github.com/repos/gitcoinco/web/labels/Needs%20Technical%20Review","name":"Needs Technical Review","color":"30e5e2","default":false},{"id":972554514,"node_id":"MDU6TGFiZWw5NzI1NTQ1MTQ=","url":"https://api.github.com/repos/gitcoinco/web/labels/to%20bounty","name":"to bounty","color":"7212b7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-10-10T03:40:38Z","updated_at":"2018-10-14T16:15:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!--\r\nHello Gitcoiner!\r\n\r\nPlease use the template below for feature requests for Gitcoin.\r\nIf it is general support you need, reach out to us at\r\ngitcoin.co/slack\r\n\r\n-->\r\n\r\n### User Story\r\n\r\n[comment]: # (As a <user type>, I want to <task> so that <goal>.)\r\n\r\n### Why Is this Needed\r\n\r\n[comment]: # (Describe the problem and why this task is needed. Provide description of the current state, what you would like to happen, and what actually happen)\r\n*Summary*: Currently we email community members on things they need to act upon but there isn't a central place on Gitcoin that users can go to to view all notifications and take action.\r\n\r\n### Description\r\nThis task is to build the front-end of the notification system.\r\n\r\n### Definition of Done\r\n\r\n- [ ] Review the attached mockups and [Gitcoin's contribution guidelines](https://docs.gitcoin.co/mk_contributors/) and [front-end guidelines](https://docs.gitcoin.co/mk_styleguide/).\r\n- [ ] Add a way for users to access the notification dropdown (authenticated).\r\n- [ ] Users should not see the notification bell if anauthenticated.\r\n- [ ]  A notification count should be displayed at the top of dropdown\r\n- [ ] User should be able to view top notifications in the dropdown.\r\n- [ ] From the menu users should be able to and click **view al**l to see it all on a page.\r\n- [ ] Dropdown should not show items that have been read.\r\n- [ ] The dropdown should show a green dot to denote unread\r\n- [ ] See all view should show all notifications.\r\n- [ ] This should work in responsive views.\r\n- [ ] notifications can be selected or unselected.  there will be 'select all' or 'deselect all' buttons on the top, and there will also be 'mark selected as read', 'delete selected' and 'mark selected all as unread' buttons'\r\n- [ ] notifications will be sorted chronologically and paginated\r\n- [ ] notifications can be marked as read, marked as unread, or deleted\r\n- [ ] when a user clicks on the notification will be marked as read and takes user to the appropriate issue.\r\n- [ ] PR is merged\r\n\r\nNotifications will be generated each time a user needs to take action upon something (approve worker, disapprove worker, accept worker, receive tip, etc)\r\n\r\n\r\nHere are the potential notifications we are hoping for:\r\n\r\n**For Funders**\r\n\r\n- You have workers to approve on this issue.\r\n- Your bounty hunters haven't responded on this issue in a few days.\r\n- Remove them if you haven't heard from them?\r\n- There is a submission against your bounty.\r\n- Your bounty hunter has stopped work\r\n- Your bounty is expiring soonYour bounty has crowdfunding added to it.\r\n\r\n**For Hunters**\r\n\r\n- You haven't responded to this issue in x days.\r\n- This issue has been remarketed and has your skill sets. Are you interested?\r\n- You have been approved for a bounty\r\n- You have been declined for a bounty\r\n- You have been removed from a bounty due to no responseYou have received a tip.\r\n- Your submission has been approved\r\n- Your submission has been declined.\r\n- Funding has increased on a bounty that you’re working on.\r\n\r\n### Additional Information\r\nPlease review with a core team member @PixelantDesign @willsputra @owocki \r\n\r\n![46431461-7656b200-c77e-11e8-86f2-18bd85c90af6](https://user-images.githubusercontent.com/238235/46711903-6fb3b900-cc1c-11e8-9c3b-e50f720eb0e8.gif)\r\n\r\n![46431484-879fbe80-c77e-11e8-8431-36c611c4bde5](https://user-images.githubusercontent.com/238235/46711935-9c67d080-cc1c-11e8-9bc8-59da5cb38122.jpg)\r\n\r\n![46483722-e15dc280-c82a-11e8-9744-7bae662136ad](https://user-images.githubusercontent.com/238235/46711939-a1c51b00-cc1c-11e8-8fff-baebf6727738.png)\r\n\r\n![46487325-4f59b800-c832-11e8-9769-70a1c70de009](https://user-images.githubusercontent.com/238235/46711951-a8539280-cc1c-11e8-95fb-d45dfcb2deec.jpg)\r\n\r\n![46487326-4f59b800-c832-11e8-8397-b9547b1a7e76](https://user-images.githubusercontent.com/238235/46711960-aee20a00-cc1c-11e8-8bab-3526a7ee52b3.jpg)\r\n\r\n### Technical Approach\r\nThis should just be a new app named 'inbox' with one model Notification that has the following fields\r\n\r\npk\r\ncreated_on\r\nto_user_id\r\nfrom_user_id\r\nCTA_URL\r\nCTA_Text\r\nmessage_html\r\nis_read (bool)\r\nwe will likely also want an easy helper function that can be used to create new Notifications\r\n"},"comment":{"url":"https://api.github.com/repos/gitcoinco/web/issues/comments/429639481","html_url":"https://github.com/gitcoinco/web/issues/2404#issuecomment-429639481","issue_url":"https://api.github.com/repos/gitcoinco/web/issues/2404","id":429639481,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTYzOTQ4MQ==","user":{"login":"gitcoinbot","id":27903976,"node_id":"MDQ6VXNlcjI3OTAzOTc2","avatar_url":"https://avatars2.githubusercontent.com/u/27903976?v=4","gravatar_id":"","url":"https://api.github.com/users/gitcoinbot","html_url":"https://github.com/gitcoinbot","followers_url":"https://api.github.com/users/gitcoinbot/followers","following_url":"https://api.github.com/users/gitcoinbot/following{/other_user}","gists_url":"https://api.github.com/users/gitcoinbot/gists{/gist_id}","starred_url":"https://api.github.com/users/gitcoinbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitcoinbot/subscriptions","organizations_url":"https://api.github.com/users/gitcoinbot/orgs","repos_url":"https://api.github.com/users/gitcoinbot/repos","events_url":"https://api.github.com/users/gitcoinbot/events{/privacy}","received_events_url":"https://api.github.com/users/gitcoinbot/received_events","type":"User","site_admin":false},"created_at":"2018-10-14T16:15:59Z","updated_at":"2018-10-14T16:15:59Z","author_association":"MEMBER","body":"@Anish-Agnihotri Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!\n* [x] warning (3 days)\n* [ ] escalation to mods (6 days)\n\nFunders only: Snooze warnings for [1 day](https://gitcoin.co/issue/gitcoinco/web/2404/1415?snooze=1) | [3 days](https://gitcoin.co/issue/gitcoinco/web/2404/1415?snooze=3) | [5 days](https://gitcoin.co/issue/gitcoinco/web/2404/1415?snooze=5) | [10 days](https://gitcoin.co/issue/gitcoinco/web/2404/1415?snooze=10) | [100 days](https://gitcoin.co/issue/gitcoinco/web/2404/1415?snooze=100)"}}
{"actor":{"display_login":"gitcoinbot"}}