{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/kibana/pulls/comments/54440969","id":54440969,"diff_hunk":"@@ -1,5 +1,53 @@\n <div ng-controller=\"discover\" class=\"app-container\">\n-  <navbar name=\"discover\">\n+  <navbar name=\"discover-options\">\n+    <div class=\"discover-info\">\n+      <span ng-show=\"opts.savedSearch.id\" class=\"discover-info-title\">\n+        <span ng-bind=\"::opts.savedSearch.title\"></span>\n+        <i aria-label=\"Reload Saved Search\" tooltip=\"Reload Saved Search\" ng-click=\"resetQuery();\" class=\"fa fa-undo small\"></i>\n+      </span>\n+\n+      <strong class=\"discover-info-hits\">{{(hits || 0) | number:0}}</strong>\n+      <ng-pluralize count=\"hits\" when=\"{'1':'hit', 'other':'hits'}\"></ng-pluralize>\n+    </div>\n+    <div class=\"discover-actions button-group\" role=\"toolbar\">\n+      <button\n+        ng-click=\"newQuery()\"\n+        aria-label=\"New Search\">\n+        <span>New</span>\n+      </button>\n+      <button\n+        ng-click=\"configTemplate.toggle('save');\"\n+        ng-class=\"{active: configTemplate.is('save')}\"\n+        aria-haspopup=\"false\"\n+        aria-expanded=\"{{ configTemplate.is('save') }}\"\n+        aria-label=\"Save Search\">\n+        <span>Save</span>\n+      </button>\n+      <button\n+        aria-haspopup=\"false\"\n+        aria-expanded=\"{{ configTemplate.is('load') }}\"\n+        ng-click=\"configTemplate.toggle('load');\"\n+        ng-class=\"{active: configTemplate.is('load')}\"\n+        aria-label=\"Load Saved Search\">\n+        <span>Open</span>\n+      </button>\n+      <button\n+        aria-label=\"Share Search\"\n+        aria-haspopup=\"false\"\n+        aria-expanded=\"{{ configTemplate.is('share') }}\"\n+        ng-class=\"{active: configTemplate.is('share')}\"\n+        ng-click=\"configTemplate.toggle('share');\">\n+        <span>Share</span>\n+      </button>\n+    <div class=\"chrome-actions\" kbn-chrome-append-nav-controls></div>\n+    </div>\n+  </navbar>\n+  <config\n+    config-template=\"configTemplate\"\n+    config-object=\"opts\"\n+    config-close=\"configClose\"\n+  ></config>\n+  <navbar name=\"discover-search\">","path":"src/plugins/kibana/public/discover/index.html","position":51,"original_position":51,"commit_id":"804c7a9bdb0de2ea5b0a18373327c8735d67c889","original_commit_id":"55d79b5314bef189c6c4c504fac7ac26a6c3ce79","user":{"login":"rashidkpc","id":1250387,"avatar_url":"https://avatars.githubusercontent.com/u/1250387?v=3","gravatar_id":"","url":"https://api.github.com/users/rashidkpc","html_url":"https://github.com/rashidkpc","followers_url":"https://api.github.com/users/rashidkpc/followers","following_url":"https://api.github.com/users/rashidkpc/following{/other_user}","gists_url":"https://api.github.com/users/rashidkpc/gists{/gist_id}","starred_url":"https://api.github.com/users/rashidkpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rashidkpc/subscriptions","organizations_url":"https://api.github.com/users/rashidkpc/orgs","repos_url":"https://api.github.com/users/rashidkpc/repos","events_url":"https://api.github.com/users/rashidkpc/events{/privacy}","received_events_url":"https://api.github.com/users/rashidkpc/received_events","type":"User","site_admin":false},"body":"Pretty sure this `$appName-search` is shared across dashboard, visualize and discover. ","created_at":"2016-02-29T17:03:21Z","updated_at":"2016-02-29T17:03:21Z","html_url":"https://github.com/elastic/kibana/pull/6239#discussion_r54440969","pull_request_url":"https://api.github.com/repos/elastic/kibana/pulls/6239","_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments/54440969"},"html":{"href":"https://github.com/elastic/kibana/pull/6239#discussion_r54440969"},"pull_request":{"href":"https://api.github.com/repos/elastic/kibana/pulls/6239"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/6239","id":59235389,"html_url":"https://github.com/elastic/kibana/pull/6239","diff_url":"https://github.com/elastic/kibana/pull/6239.diff","patch_url":"https://github.com/elastic/kibana/pull/6239.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/6239","number":6239,"state":"open","locked":false,"title":"[WIP] Kibana 5 design ","user":{"login":"rashidkpc","id":1250387,"avatar_url":"https://avatars.githubusercontent.com/u/1250387?v=3","gravatar_id":"","url":"https://api.github.com/users/rashidkpc","html_url":"https://github.com/rashidkpc","followers_url":"https://api.github.com/users/rashidkpc/followers","following_url":"https://api.github.com/users/rashidkpc/following{/other_user}","gists_url":"https://api.github.com/users/rashidkpc/gists{/gist_id}","starred_url":"https://api.github.com/users/rashidkpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rashidkpc/subscriptions","organizations_url":"https://api.github.com/users/rashidkpc/orgs","repos_url":"https://api.github.com/users/rashidkpc/repos","events_url":"https://api.github.com/users/rashidkpc/events{/privacy}","received_events_url":"https://api.github.com/users/rashidkpc/received_events","type":"User","site_admin":false},"body":"This is a WIP pull so we can make comments on the current implementation. Don't merge this. As if that needs to be said.","created_at":"2016-02-12T21:43:56Z","updated_at":"2016-02-29T17:03:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b371ecc51447d260bd594523fb6b048a3eefba3f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elastic/kibana/pulls/6239/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/6239/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/6239/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/804c7a9bdb0de2ea5b0a18373327c8735d67c889","head":{"label":"elastic:feature/design","ref":"feature/design","sha":"804c7a9bdb0de2ea5b0a18373327c8735d67c889","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":7833168,"name":"kibana","full_name":"elastic/kibana","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/kibana","description":"Kibana","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/kibana/deployments","created_at":"2013-01-26T04:00:59Z","updated_at":"2016-02-29T16:05:47Z","pushed_at":"2016-02-29T16:47:11Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":100737,"stargazers_count":4882,"watchers_count":4882,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1832,"mirror_url":null,"open_issues_count":903,"forks":1832,"open_issues":903,"watchers":4882,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"383981a962dec4ecf21892172224e020aca3bd31","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":7833168,"name":"kibana","full_name":"elastic/kibana","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/kibana","description":"Kibana","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/kibana/deployments","created_at":"2013-01-26T04:00:59Z","updated_at":"2016-02-29T16:05:47Z","pushed_at":"2016-02-29T16:47:11Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":100737,"stargazers_count":4882,"watchers_count":4882,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1832,"mirror_url":null,"open_issues_count":903,"forks":1832,"open_issues":903,"watchers":4882,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/6239"},"html":{"href":"https://github.com/elastic/kibana/pull/6239"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/6239"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/6239/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/6239/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/6239/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/804c7a9bdb0de2ea5b0a18373327c8735d67c889"}}}}