{"action":"created","issue":{"url":"https://api.github.com/repos/tbabej/taskwiki/issues/172","repository_url":"https://api.github.com/repos/tbabej/taskwiki","labels_url":"https://api.github.com/repos/tbabej/taskwiki/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/tbabej/taskwiki/issues/172/comments","events_url":"https://api.github.com/repos/tbabej/taskwiki/issues/172/events","html_url":"https://github.com/tbabej/taskwiki/pull/172","id":303196454,"node_id":"MDExOlB1bGxSZXF1ZXN0MTczNTI2MTA1","number":172,"title":"fix wrong parent assignment","user":{"login":"beuerle","id":10122039,"node_id":"MDQ6VXNlcjEwMTIyMDM5","avatar_url":"https://avatars1.githubusercontent.com/u/10122039?v=4","gravatar_id":"","url":"https://api.github.com/users/beuerle","html_url":"https://github.com/beuerle","followers_url":"https://api.github.com/users/beuerle/followers","following_url":"https://api.github.com/users/beuerle/following{/other_user}","gists_url":"https://api.github.com/users/beuerle/gists{/gist_id}","starred_url":"https://api.github.com/users/beuerle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beuerle/subscriptions","organizations_url":"https://api.github.com/users/beuerle/orgs","repos_url":"https://api.github.com/users/beuerle/repos","events_url":"https://api.github.com/users/beuerle/events{/privacy}","received_events_url":"https://api.github.com/users/beuerle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-07T17:47:11Z","updated_at":"2018-05-31T22:29:23Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/tbabej/taskwiki/pulls/172","html_url":"https://github.com/tbabej/taskwiki/pull/172","diff_url":"https://github.com/tbabej/taskwiki/pull/172.diff","patch_url":"https://github.com/tbabej/taskwiki/pull/172.patch"},"body":"fixes #167\r\n\r\nPreviously, the correct parent assignment for tasks only worked if\r\nexpandtab was set in vim: if the task currently checked did not start\r\nwith the indentation of the new task, the current line was assigned as\r\nthe parent. taskwiki uses spaces for indentation, with a fixed length of\r\n4 [0]. If vim is set to use tabs instead of spaces, the checked line\r\ndoes not start with tabs and is assigned the parent, even if the\r\nactually indentation is the same.\r\n\r\nEspecially hard-coding the number of spaces for the indentation should\r\nmaybe be fixed in the future.\r\n\r\n[0]\r\nhttps://github.com/tbabej/taskwiki/blob/0c964460e6bbfba387b8a2976a3c349aa615e525/taskwiki/sort.py#L170"},"comment":{"url":"https://api.github.com/repos/tbabej/taskwiki/issues/comments/393701996","html_url":"https://github.com/tbabej/taskwiki/pull/172#issuecomment-393701996","issue_url":"https://api.github.com/repos/tbabej/taskwiki/issues/172","id":393701996,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzcwMTk5Ng==","user":{"login":"tbabej","id":2123868,"node_id":"MDQ6VXNlcjIxMjM4Njg=","avatar_url":"https://avatars2.githubusercontent.com/u/2123868?v=4","gravatar_id":"","url":"https://api.github.com/users/tbabej","html_url":"https://github.com/tbabej","followers_url":"https://api.github.com/users/tbabej/followers","following_url":"https://api.github.com/users/tbabej/following{/other_user}","gists_url":"https://api.github.com/users/tbabej/gists{/gist_id}","starred_url":"https://api.github.com/users/tbabej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbabej/subscriptions","organizations_url":"https://api.github.com/users/tbabej/orgs","repos_url":"https://api.github.com/users/tbabej/repos","events_url":"https://api.github.com/users/tbabej/events{/privacy}","received_events_url":"https://api.github.com/users/tbabej/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T22:29:23Z","updated_at":"2018-05-31T22:29:23Z","author_association":"OWNER","body":"Completely agreed, thanks for taking the time to fix this."}}
{"actor":{"display_login":"tbabej"}}