{"action":"created","issue":{"url":"https://api.github.com/repos/drozdik/Elephant/issues/94","labels_url":"https://api.github.com/repos/drozdik/Elephant/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/drozdik/Elephant/issues/94/comments","events_url":"https://api.github.com/repos/drozdik/Elephant/issues/94/events","html_url":"https://github.com/drozdik/Elephant/issues/94","id":107395990,"number":94,"title":"Option to create ordered lists","user":{"login":"saaruniversity","id":14204807,"avatar_url":"https://avatars.githubusercontent.com/u/14204807?v=3","gravatar_id":"","url":"https://api.github.com/users/saaruniversity","html_url":"https://github.com/saaruniversity","followers_url":"https://api.github.com/users/saaruniversity/followers","following_url":"https://api.github.com/users/saaruniversity/following{/other_user}","gists_url":"https://api.github.com/users/saaruniversity/gists{/gist_id}","starred_url":"https://api.github.com/users/saaruniversity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saaruniversity/subscriptions","organizations_url":"https://api.github.com/users/saaruniversity/orgs","repos_url":"https://api.github.com/users/saaruniversity/repos","events_url":"https://api.github.com/users/saaruniversity/events{/privacy}","received_events_url":"https://api.github.com/users/saaruniversity/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/drozdik/Elephant/labels/detailed","name":"detailed","color":"0052cc"},{"url":"https://api.github.com/repos/drozdik/Elephant/labels/Functional%20Requirement","name":"Functional Requirement","color":"fbca04"},{"url":"https://api.github.com/repos/drozdik/Elephant/labels/TESTING","name":"TESTING","color":"e11d21"},{"url":"https://api.github.com/repos/drozdik/Elephant/labels/WYSIWYG%20mode","name":"WYSIWYG mode","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"karl-p","id":8706226,"avatar_url":"https://avatars.githubusercontent.com/u/8706226?v=3","gravatar_id":"","url":"https://api.github.com/users/karl-p","html_url":"https://github.com/karl-p","followers_url":"https://api.github.com/users/karl-p/followers","following_url":"https://api.github.com/users/karl-p/following{/other_user}","gists_url":"https://api.github.com/users/karl-p/gists{/gist_id}","starred_url":"https://api.github.com/users/karl-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karl-p/subscriptions","organizations_url":"https://api.github.com/users/karl-p/orgs","repos_url":"https://api.github.com/users/karl-p/repos","events_url":"https://api.github.com/users/karl-p/events{/privacy}","received_events_url":"https://api.github.com/users/karl-p/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/drozdik/Elephant/milestones/15","html_url":"https://github.com/drozdik/Elephant/milestones/4.%20iteration%20-%20week%201","labels_url":"https://api.github.com/repos/drozdik/Elephant/milestones/15/labels","id":1400358,"number":15,"title":"4. iteration - week 1","description":"","creator":{"login":"saaruniversity","id":14204807,"avatar_url":"https://avatars.githubusercontent.com/u/14204807?v=3","gravatar_id":"","url":"https://api.github.com/users/saaruniversity","html_url":"https://github.com/saaruniversity","followers_url":"https://api.github.com/users/saaruniversity/followers","following_url":"https://api.github.com/users/saaruniversity/following{/other_user}","gists_url":"https://api.github.com/users/saaruniversity/gists{/gist_id}","starred_url":"https://api.github.com/users/saaruniversity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saaruniversity/subscriptions","organizations_url":"https://api.github.com/users/saaruniversity/orgs","repos_url":"https://api.github.com/users/saaruniversity/repos","events_url":"https://api.github.com/users/saaruniversity/events{/privacy}","received_events_url":"https://api.github.com/users/saaruniversity/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":7,"state":"open","created_at":"2015-11-08T20:55:12Z","updated_at":"2015-11-25T13:28:22Z","due_on":"2015-11-14T22:00:00Z","closed_at":null},"comments":10,"created_at":"2015-09-20T14:45:01Z","updated_at":"2015-11-25T20:14:02Z","closed_at":null,"body":"Type syntax:\r\n- [x] beginning of line + typed \"1. \" => start ordered list\r\n\r\nNo selection:\r\n- [x] cursor location is in empty line + button is pressed => starts \"1. \"\r\n- [x] if line is already ordered list + button is pressed => should removed it from ordered list\r\n- [x] cursor location is in non-empty line + button is pressed => makes that line into ordered list. Example \"1. linecontent\" (similar to selection, but here is no selection)\r\n- [x] if there is ordered list before that line, then this line should be added to this previously existing ordered list.\r\n\r\nSelection:\r\n- [x] selection  + all are list elements + button => remove them from list\r\n- [x] selection +  at least one is list element, others may not be + button => puts all of them into same list\r\n- [ ]  selection + two different ordered lists AND one paragraph between + button => should add that paragraph into the first ordered list and then concatenate second ordered list with first ordered list.\r\n\r\nUse case:\r\n- [x] Use case needs updating\r\n\r\nOther:\r\n- [ ] If cursor is in ordered list. then button should be visibly \"active\". \r\n- [ ] currently works with paragraphs, and ordered list elements, later should work also with other elements. It is a lot of work. "},"comment":{"url":"https://api.github.com/repos/drozdik/Elephant/issues/comments/159719719","html_url":"https://github.com/drozdik/Elephant/issues/94#issuecomment-159719719","issue_url":"https://api.github.com/repos/drozdik/Elephant/issues/94","id":159719719,"user":{"login":"karl-p","id":8706226,"avatar_url":"https://avatars.githubusercontent.com/u/8706226?v=3","gravatar_id":"","url":"https://api.github.com/users/karl-p","html_url":"https://github.com/karl-p","followers_url":"https://api.github.com/users/karl-p/followers","following_url":"https://api.github.com/users/karl-p/following{/other_user}","gists_url":"https://api.github.com/users/karl-p/gists{/gist_id}","starred_url":"https://api.github.com/users/karl-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karl-p/subscriptions","organizations_url":"https://api.github.com/users/karl-p/orgs","repos_url":"https://api.github.com/users/karl-p/repos","events_url":"https://api.github.com/users/karl-p/events{/privacy}","received_events_url":"https://api.github.com/users/karl-p/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T20:14:02Z","updated_at":"2015-11-25T20:14:02Z","body":"Completed tasks seem to work fine. Right now it is possible to make lists inside tables but it messes up the whole table. So we might need to think if it should be possible to create lists inside tables or not."}}