{"action":"closed","issue":{"url":"https://api.github.com/repos/atom/github/issues/462","repository_url":"https://api.github.com/repos/atom/github","labels_url":"https://api.github.com/repos/atom/github/issues/462/labels{/name}","comments_url":"https://api.github.com/repos/atom/github/issues/462/comments","events_url":"https://api.github.com/repos/atom/github/issues/462/events","html_url":"https://github.com/atom/github/issues/462","id":202023200,"number":462,"title":"Improve untracked branches UX","user":{"login":"simurai","id":378023,"avatar_url":"https://avatars3.githubusercontent.com/u/378023?v=4","gravatar_id":"","url":"https://api.github.com/users/simurai","html_url":"https://github.com/simurai","followers_url":"https://api.github.com/users/simurai/followers","following_url":"https://api.github.com/users/simurai/following{/other_user}","gists_url":"https://api.github.com/users/simurai/gists{/gist_id}","starred_url":"https://api.github.com/users/simurai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simurai/subscriptions","organizations_url":"https://api.github.com/users/simurai/orgs","repos_url":"https://api.github.com/users/simurai/repos","events_url":"https://api.github.com/users/simurai/events{/privacy}","received_events_url":"https://api.github.com/users/simurai/received_events","type":"User","site_admin":true},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-01-20T01:21:07Z","updated_at":"2018-03-31T03:47:56Z","closed_at":"2018-03-31T03:47:56Z","author_association":"OWNER","body":"Here some thoughts regarding untracked branches.\r\n\r\n## Problem\r\n\r\nCurrently when creating a new branch and then making some commits, the pull/push indicator doesn't increase in value:\r\n\r\n![screen shot 2017-01-20 at 9 50 56 am](https://cloud.githubusercontent.com/assets/378023/22131349/20dea64c-def6-11e6-8d83-6a812c36c62f.png)\r\n\r\nIt's because:\r\n\r\n> @kuychaco Since there is no remote tracking branch yet we have nothing to calculate the ahead count relative to and there will be no commits listed to push. You can still push and we'll set up a remote tracking branch for you.\r\n\r\nThis is ok if you know about it, but could be confusing if not (or you have to keep reminding yourself). It could feel like committing didn't work.\r\n\r\n\r\n## Solution\r\n\r\nFor untracked branches show a \"Publish\" link (with `icon-cloud-upload` icon) instead of the up/down arrows:\r\n\r\n![screen shot 2017-01-20 at 10 03 54 am](https://cloud.githubusercontent.com/assets/378023/22131598/cee67282-def7-11e6-9d10-66beeeb4b246.png)\r\n\r\nAlso change the button in the tooltip:\r\n\r\n![screen shot 2017-01-20 at 10 08 19 am](https://cloud.githubusercontent.com/assets/378023/22131764/baf242e6-def8-11e6-942a-e5aa9ac3ba3b.png)\r\n\r\n\r\n## Concerns\r\n\r\nIs \"Publish\" clear what it means? It's not really a term used in Git. Alternative might be: \"Add remote\" or \"Track\".\r\n\r\n\r\n## Applicable issues\r\n\r\nIt's not **that** urgent and it also depends if #311 gets considered, then it would already be included there.\r\n\r\n\r\n### Versions\r\n\r\nAtom Version (`atom --version`):\r\n\r\n```\r\nAtom    : 1.15.0-dev-6010c4d\r\nElectron: 1.3.13\r\nChrome  : 52.0.2743.82\r\nNode    : 6.5.0\r\n```\r\n\r\nGitHub Package Version (`git --git-dir ~/.atom/packages/github/.git rev-parse head`):\r\n\r\n```\r\nf0df0b47da3f5e37a001e40271b677d6eea29a75\r\n```"}}
{"actor":{"display_login":"kuychaco"}}