{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/treeherder-ui/issues/441","labels_url":"https://api.github.com/repos/mozilla/treeherder-ui/issues/441/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/treeherder-ui/issues/441/comments","events_url":"https://api.github.com/repos/mozilla/treeherder-ui/issues/441/events","html_url":"https://github.com/mozilla/treeherder-ui/pull/441","id":64390881,"number":441,"title":"Bug 1139421 - Allow hover copy for Job name","user":{"login":"tojonmz","id":3660661,"avatar_url":"https://avatars.githubusercontent.com/u/3660661?v=3","gravatar_id":"","url":"https://api.github.com/users/tojonmz","html_url":"https://github.com/tojonmz","followers_url":"https://api.github.com/users/tojonmz/followers","following_url":"https://api.github.com/users/tojonmz/following{/other_user}","gists_url":"https://api.github.com/users/tojonmz/gists{/gist_id}","starred_url":"https://api.github.com/users/tojonmz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tojonmz/subscriptions","organizations_url":"https://api.github.com/users/tojonmz/orgs","repos_url":"https://api.github.com/users/tojonmz/repos","events_url":"https://api.github.com/users/tojonmz/events{/privacy}","received_events_url":"https://api.github.com/users/tojonmz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-25T22:52:11Z","updated_at":"2015-03-31T04:57:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/treeherder-ui/pulls/441","html_url":"https://github.com/mozilla/treeherder-ui/pull/441","diff_url":"https://github.com/mozilla/treeherder-ui/pull/441.diff","patch_url":"https://github.com/mozilla/treeherder-ui/pull/441.patch"},"body":"This work fixes Bugzilla bug [1139421](https://bugzilla.mozilla.org/show_bug.cgi?id=1139421).\r\n\r\nIn it we allow for hover-copy of the job name, like we do with the logviewer url and raw log url. Instead we provide kind of reverse functionality here, allowing the user to copy raw text from a link. This bypasses the need to drag-select the value.\r\n\r\nHere's the scenario, hovering over any Job name:\r\n\r\n![hoverjobname](https://cloud.githubusercontent.com/assets/3660661/6836811/20c1be98-d31c-11e4-927b-62d4b0981fc3.jpg)\r\n\r\nAnd you **ctrl/cmd**+**c**\r\n\r\nAnd paste the text wherever you like:\r\n\r\n![hovercopypastevalue](https://cloud.githubusercontent.com/assets/3660661/6836850/7432df6c-d31c-11e4-813e-6b948cdadaa4.jpg)\r\n\r\nI also updated the Help, since I think we are at a point where we need to break out this functionality into a separate section:\r\n\r\n![hovercopyhelpupdate](https://cloud.githubusercontent.com/assets/3660661/6836902/0907e394-d31d-11e4-87d9-a1b002d7a67e.jpg)\r\n\r\nMakes it a bit more prominent and discoverable.\r\n\r\nI suppose we could make all the `<label>`'s in the Job details pane the links, and make all our current links, plain text. This would have facilitated copying the traditional way. But having linked labels seems kind of strange.. it would seem more appropriate to link labels to a glossary of terms, than a function which does something.\r\n\r\nEverything seems to be working as expected on both browsers, switching between all three existing hover copy elements, pasting them, switching between them, filtering by Job name and copying, and switching jobs and copying new values.\r\n\r\nNot sure, but think I will need to include the new dark logviewer svg added here, in a Grunt build file or some kind before I merge.\r\n\r\nTested on OSX 10.9.5:\r\nFF Release **36.0.4**\r\nChrome Latest Release **41.0.2272.104** (64-bit)\r\n\r\nAdding @camd for review and @jmaher and @armenzg for visibility."},"comment":{"url":"https://api.github.com/repos/mozilla/treeherder-ui/issues/comments/87939360","html_url":"https://github.com/mozilla/treeherder-ui/pull/441#issuecomment-87939360","issue_url":"https://api.github.com/repos/mozilla/treeherder-ui/issues/441","id":87939360,"user":{"login":"tojonmz","id":3660661,"avatar_url":"https://avatars.githubusercontent.com/u/3660661?v=3","gravatar_id":"","url":"https://api.github.com/users/tojonmz","html_url":"https://github.com/tojonmz","followers_url":"https://api.github.com/users/tojonmz/followers","following_url":"https://api.github.com/users/tojonmz/following{/other_user}","gists_url":"https://api.github.com/users/tojonmz/gists{/gist_id}","starred_url":"https://api.github.com/users/tojonmz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tojonmz/subscriptions","organizations_url":"https://api.github.com/users/tojonmz/orgs","repos_url":"https://api.github.com/users/tojonmz/repos","events_url":"https://api.github.com/users/tojonmz/events{/privacy}","received_events_url":"https://api.github.com/users/tojonmz/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T04:57:10Z","updated_at":"2015-03-31T04:57:10Z","body":"@camd cool, ya I just thought the new svg needed to be added to some other manifest file in the repo, but I will check tomorrow before I merge."}}