{"action":"created","issue":{"url":"https://api.github.com/repos/apache/zeppelin/issues/978","repository_url":"https://api.github.com/repos/apache/zeppelin","labels_url":"https://api.github.com/repos/apache/zeppelin/issues/978/labels{/name}","comments_url":"https://api.github.com/repos/apache/zeppelin/issues/978/comments","events_url":"https://api.github.com/repos/apache/zeppelin/issues/978/events","html_url":"https://github.com/apache/zeppelin/pull/978","id":159373533,"number":978,"title":"[ZEPPELIN-869] Search notebook to handle empty result.","user":{"login":"ravicodder","id":7026661,"avatar_url":"https://avatars.githubusercontent.com/u/7026661?v=3","gravatar_id":"","url":"https://api.github.com/users/ravicodder","html_url":"https://github.com/ravicodder","followers_url":"https://api.github.com/users/ravicodder/followers","following_url":"https://api.github.com/users/ravicodder/following{/other_user}","gists_url":"https://api.github.com/users/ravicodder/gists{/gist_id}","starred_url":"https://api.github.com/users/ravicodder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravicodder/subscriptions","organizations_url":"https://api.github.com/users/ravicodder/orgs","repos_url":"https://api.github.com/users/ravicodder/repos","events_url":"https://api.github.com/users/ravicodder/events{/privacy}","received_events_url":"https://api.github.com/users/ravicodder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-09T10:16:56Z","updated_at":"2016-06-12T07:31:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/zeppelin/pulls/978","html_url":"https://github.com/apache/zeppelin/pull/978","diff_url":"https://github.com/apache/zeppelin/pull/978.diff","patch_url":"https://github.com/apache/zeppelin/pull/978.patch"},"body":"### What is this PR for?\r\nSearch notebook to handle empty result.\r\n\r\n### What type of PR is it?\r\nBug Fix\r\n### Todos\r\n\r\n\r\n### What is the Jira issue?\r\n[ZEPPELIN-869](https://issues.apache.org/jira/browse/ZEPPELIN-869?jql=project%20%3D%20ZEPPELIN%20AND%20text%20~%20%22empty%22)\r\n\r\n### How should this be tested?\r\n1. Try to search something which should return empty result, you should get proper message for that.\r\n2. search box should get cleared when clicked on any other link.\r\n\r\n\r\n\r\n### Screenshots (if appropriate)\r\nBefore:\r\n![screen shot 2016-06-09 at 3 44 53 pm](https://cloud.githubusercontent.com/assets/7026661/15926338/25f8924e-2e59-11e6-8c10-2dd9542f5258.png)\r\n\r\nAfter:\r\n![screen shot 2016-06-09 at 3 34 47 pm](https://cloud.githubusercontent.com/assets/7026661/15926303/f1412d7c-2e58-11e6-9dd3-1ecccb938a26.png)\r\n### Questions:\r\n* Does the licenses files need update?No\r\n* Is there breaking changes for older versions?No\r\n* Does this needs documentation?No\r\n"},"comment":{"url":"https://api.github.com/repos/apache/zeppelin/issues/comments/225414860","html_url":"https://github.com/apache/zeppelin/pull/978#issuecomment-225414860","issue_url":"https://api.github.com/repos/apache/zeppelin/issues/978","id":225414860,"user":{"login":"felizbear","id":5688346,"avatar_url":"https://avatars.githubusercontent.com/u/5688346?v=3","gravatar_id":"","url":"https://api.github.com/users/felizbear","html_url":"https://github.com/felizbear","followers_url":"https://api.github.com/users/felizbear/followers","following_url":"https://api.github.com/users/felizbear/following{/other_user}","gists_url":"https://api.github.com/users/felizbear/gists{/gist_id}","starred_url":"https://api.github.com/users/felizbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felizbear/subscriptions","organizations_url":"https://api.github.com/users/felizbear/orgs","repos_url":"https://api.github.com/users/felizbear/repos","events_url":"https://api.github.com/users/felizbear/events{/privacy}","received_events_url":"https://api.github.com/users/felizbear/received_events","type":"User","site_admin":false},"created_at":"2016-06-12T07:31:18Z","updated_at":"2016-06-12T07:31:18Z","body":"Also, I think you will have to clean up scope after you clear the search field value. To see what I mean do the following:\r\n1. Search for something, e.g. `bankText`\r\n2. Navigate away from the search result page (search field now is empty)\r\n3. Search again with the empty search field\r\n4. See `bankText` results again (expected to see an empty page or even have search field disabled like I suggested above)"}}
{"actor":{"display_login":"felizbear"}}