{"action":"created","issue":{"url":"https://api.github.com/repos/publiclab/plots2/issues/2667","repository_url":"https://api.github.com/repos/publiclab/plots2","labels_url":"https://api.github.com/repos/publiclab/plots2/issues/2667/labels{/name}","comments_url":"https://api.github.com/repos/publiclab/plots2/issues/2667/comments","events_url":"https://api.github.com/repos/publiclab/plots2/issues/2667/events","html_url":"https://github.com/publiclab/plots2/issues/2667","id":318574566,"number":2667,"title":"PLANNING ISSUE: Draft Feature ","user":{"login":"Gauravano","id":20878070,"avatar_url":"https://avatars3.githubusercontent.com/u/20878070?v=4","gravatar_id":"","url":"https://api.github.com/users/Gauravano","html_url":"https://github.com/Gauravano","followers_url":"https://api.github.com/users/Gauravano/followers","following_url":"https://api.github.com/users/Gauravano/following{/other_user}","gists_url":"https://api.github.com/users/Gauravano/gists{/gist_id}","starred_url":"https://api.github.com/users/Gauravano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gauravano/subscriptions","organizations_url":"https://api.github.com/users/Gauravano/orgs","repos_url":"https://api.github.com/users/Gauravano/repos","events_url":"https://api.github.com/users/Gauravano/events{/privacy}","received_events_url":"https://api.github.com/users/Gauravano/received_events","type":"User","site_admin":false},"labels":[{"id":42345820,"url":"https://api.github.com/repos/publiclab/plots2/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":815266213,"url":"https://api.github.com/repos/publiclab/plots2/labels/feature","name":"feature","color":"e5f4a1","default":false},{"id":921814855,"url":"https://api.github.com/repos/publiclab/plots2/labels/planning","name":"planning","color":"5319e7","default":false},{"id":486046776,"url":"https://api.github.com/repos/publiclab/plots2/labels/summer-of-code","name":"summer-of-code","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-04-27T23:12:10Z","updated_at":"2018-05-16T19:37:53Z","closed_at":null,"author_association":"MEMBER","body":"Hi @jywarren @steviepubliclab,\r\n\r\n**I want to inform you guys that my exams are scheduled from 21st May to 6th June, so I wouldn't be able to do much in that time period. I would be available for task discussions/calls/messages. I will try to open and solve small issues in-between exams. So, I would try to do as much work as possible till 18th May and possibly we would be done with this issue till then.** \r\n\r\nIssue progress: #2307 contains checklist but some more points need to be added and discussed that's why I opened this issue. Most of Back-end for this feature is ready #2308. \r\n\r\nRemaining Tasks:\r\n\r\n1. [ ] Displaying Draft on author's, moderator and admin's dashboard  --- In progress at #2666 \r\n2. [ ] Change in `_node_default.html.erb` and `_node_meta.html.erb` to distinguish draft from normal notes as we do for first-timer posts \r\n3. [ ] Addition of \"draft\" field in output data of PublicLab editor object (discussion at #2594 ) \r\n4. [ ] Addition of checkbox and JavaScript function in `rich.html.erb`\r\n5. [x] Addition of \"Draft\" label on `notes/show.html.erb`  (Solved in #2682 )\r\n6. [ ] Publish_draft method in controller and its testing\r\n7. [ ] Addition of Publish button on `notes/show.html.erb`    \r\n \r\nI have tried to divide the issue in minimum part as possible, I can solve 2,4,5,6 and 7 in a single PR or multiple , but I see that some parts can be good FTO candidates like 2,3,5 and 7. What do you guys think, should I open FTO's or not ? Thanks.\r\n   "},"comment":{"url":"https://api.github.com/repos/publiclab/plots2/issues/comments/389640499","html_url":"https://github.com/publiclab/plots2/issues/2667#issuecomment-389640499","issue_url":"https://api.github.com/repos/publiclab/plots2/issues/2667","id":389640499,"user":{"login":"Gauravano","id":20878070,"avatar_url":"https://avatars3.githubusercontent.com/u/20878070?v=4","gravatar_id":"","url":"https://api.github.com/users/Gauravano","html_url":"https://github.com/Gauravano","followers_url":"https://api.github.com/users/Gauravano/followers","following_url":"https://api.github.com/users/Gauravano/following{/other_user}","gists_url":"https://api.github.com/users/Gauravano/gists{/gist_id}","starred_url":"https://api.github.com/users/Gauravano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gauravano/subscriptions","organizations_url":"https://api.github.com/users/Gauravano/orgs","repos_url":"https://api.github.com/users/Gauravano/repos","events_url":"https://api.github.com/users/Gauravano/events{/privacy}","received_events_url":"https://api.github.com/users/Gauravano/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T19:37:53Z","updated_at":"2018-05-16T19:37:53Z","author_association":"MEMBER","body":"@jywarren @steviepubliclab which design would be good for displaying draft on the dashboard. Also, please state if user view needs to be different that mod/admin or not. Like, we have for the moderated post.\r\n\r\nDesign 1: Similar to Moderated node with some text\r\n![draft](https://user-images.githubusercontent.com/20878070/40139564-e460f23a-596d-11e8-970f-56720a9f3018.png)\r\n\r\nDesign 2: Label with node\r\n![draft_label](https://user-images.githubusercontent.com/20878070/40139788-a74b78ec-596e-11e8-8715-21ea91910fb7.png)\r\n\r\nOr any other ideas are welcome : ) "}}
{"actor":{"display_login":"Gauravano"}}