{"action":"created","issue":{"url":"https://api.github.com/repos/onivim/oni/issues/2457","repository_url":"https://api.github.com/repos/onivim/oni","labels_url":"https://api.github.com/repos/onivim/oni/issues/2457/labels{/name}","comments_url":"https://api.github.com/repos/onivim/oni/issues/2457/comments","events_url":"https://api.github.com/repos/onivim/oni/issues/2457/events","html_url":"https://github.com/onivim/oni/pull/2457","id":344319723,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzNzQxNTMz","number":2457,"title":"Feature/uncommit unstage functionality","user":{"login":"Akin909","id":22454918,"node_id":"MDQ6VXNlcjIyNDU0OTE4","avatar_url":"https://avatars2.githubusercontent.com/u/22454918?v=4","gravatar_id":"","url":"https://api.github.com/users/Akin909","html_url":"https://github.com/Akin909","followers_url":"https://api.github.com/users/Akin909/followers","following_url":"https://api.github.com/users/Akin909/following{/other_user}","gists_url":"https://api.github.com/users/Akin909/gists{/gist_id}","starred_url":"https://api.github.com/users/Akin909/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akin909/subscriptions","organizations_url":"https://api.github.com/users/Akin909/orgs","repos_url":"https://api.github.com/users/Akin909/repos","events_url":"https://api.github.com/users/Akin909/events{/privacy}","received_events_url":"https://api.github.com/users/Akin909/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-25T07:10:59Z","updated_at":"2018-07-26T10:36:51Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/onivim/oni/pulls/2457","html_url":"https://github.com/onivim/oni/pull/2457","diff_url":"https://github.com/onivim/oni/pull/2457.diff","patch_url":"https://github.com/onivim/oni/pull/2457.patch"},"body":"This PR adds the ability to unstage a file, as well undo the *last* commit\r\n\r\nIssues/Limitations:\r\n\r\nCurrently although the git logs is shown the last 25 commits (for performance sake only 25 as testing with a large repo with loads of commits rendering and fetching that log is much slower) they can only interact with the one that is the latest as the uncommit functionality uses `git reset --soft HEAD^` to remove the last commit.\r\n\r\nwith the log though other functionality like checkout etc. can eventually be added but if the user were able to select each commit atm they would have to scroll throw all 25 to reach the next section, in order to get round this the VimNavigator would have to be expanded to allow dynamically setting a selected ID and some functionality added to allow skipping sections so for now I have removed the option to do that\r\n\r\n![uncommit](https://user-images.githubusercontent.com/22454918/43185345-8fcfebde-8fe3-11e8-8abf-9f21e601f1e9.gif)\r\n\r\nHelp Section\r\n<img width=\"290\" alt=\"screen shot 2018-07-25 at 17 07 42\" src=\"https://user-images.githubusercontent.com/22454918/43212978-5183d508-902d-11e8-863b-3b08013869a5.png\">\r\n\r\n\r\nOutstanding:\r\n\r\n- [x] Update commands in help section\r\n- [x] Add tests for help section"},"comment":{"url":"https://api.github.com/repos/onivim/oni/issues/comments/408054467","html_url":"https://github.com/onivim/oni/pull/2457#issuecomment-408054467","issue_url":"https://api.github.com/repos/onivim/oni/issues/2457","id":408054467,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODA1NDQ2Nw==","user":{"login":"Akin909","id":22454918,"node_id":"MDQ6VXNlcjIyNDU0OTE4","avatar_url":"https://avatars2.githubusercontent.com/u/22454918?v=4","gravatar_id":"","url":"https://api.github.com/users/Akin909","html_url":"https://github.com/Akin909","followers_url":"https://api.github.com/users/Akin909/followers","following_url":"https://api.github.com/users/Akin909/following{/other_user}","gists_url":"https://api.github.com/users/Akin909/gists{/gist_id}","starred_url":"https://api.github.com/users/Akin909/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akin909/subscriptions","organizations_url":"https://api.github.com/users/Akin909/orgs","repos_url":"https://api.github.com/users/Akin909/repos","events_url":"https://api.github.com/users/Akin909/events{/privacy}","received_events_url":"https://api.github.com/users/Akin909/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T10:36:51Z","updated_at":"2018-07-26T10:36:51Z","author_association":"COLLABORATOR","body":"@CrossR thanks for the review 👍 yeah think I should have stuck with `u` convention re uncommit was the simplest at the time to use enter but can definitely change that in a follow up PR "}}
{"actor":{"display_login":"Akin909"}}