{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/26139","labels_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/26139/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/26139/comments","events_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/26139/events","html_url":"https://github.com/mozilla-b2g/gaia/pull/26139","id":48764885,"number":26139,"title":"Bug 1070823 - [Bluetooth][Settings] bluetooth panel support BT v2 API","user":{"login":"ian-liu","id":1704655,"avatar_url":"https://avatars.githubusercontent.com/u/1704655?v=3","gravatar_id":"","url":"https://api.github.com/users/ian-liu","html_url":"https://github.com/ian-liu","followers_url":"https://api.github.com/users/ian-liu/followers","following_url":"https://api.github.com/users/ian-liu/following{/other_user}","gists_url":"https://api.github.com/users/ian-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/ian-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ian-liu/subscriptions","organizations_url":"https://api.github.com/users/ian-liu/orgs","repos_url":"https://api.github.com/users/ian-liu/repos","events_url":"https://api.github.com/users/ian-liu/events{/privacy}","received_events_url":"https://api.github.com/users/ian-liu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-11-14T09:56:59Z","updated_at":"2015-01-26T02:40:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/26139","html_url":"https://github.com/mozilla-b2g/gaia/pull/26139","diff_url":"https://github.com/mozilla-b2g/gaia/pull/26139.diff","patch_url":"https://github.com/mozilla-b2g/gaia/pull/26139.patch"},"body":"* Functionality ready item:\r\n  - Enable/Disable\r\n  - Visible\r\n  - Device List (Remote/Paired)\r\n  - Search (startDiscovery)\r\n  - Set device name\r\n  - Trigger device item to pair/unpair \r\n\r\n* Functionality not ready item:\r\n  - Connection of paired device\r\n    ** Bug 1121904 - [Bluetooth][Settings] Show connect/disconnect/unpair dialog for a paired device/headset.(https://bugzilla.mozilla.org/show_bug.cgi?id=1121904)\r\n  - Timeout visible, Rename with new layout \r\n    ** Bug 1121913 - [Bluetooth][Settings][User Story] A timer to control the property visible while turning it on.(https://bugzilla.mozilla.org/show_bug.cgi?id=1121913)\r\n  - Icon type of device item\r\n    ** Bug 1122365 - [Bluetooth][Settings] According to Bluetooth class of device to implement icon style.(https://bugzilla.mozilla.org/show_bug.cgi?id=1122365)"},"comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/comments/71408257","html_url":"https://github.com/mozilla-b2g/gaia/pull/26139#issuecomment-71408257","issue_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/26139","id":71408257,"user":{"login":"ian-liu","id":1704655,"avatar_url":"https://avatars.githubusercontent.com/u/1704655?v=3","gravatar_id":"","url":"https://api.github.com/users/ian-liu","html_url":"https://github.com/ian-liu","followers_url":"https://api.github.com/users/ian-liu/followers","following_url":"https://api.github.com/users/ian-liu/following{/other_user}","gists_url":"https://api.github.com/users/ian-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/ian-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ian-liu/subscriptions","organizations_url":"https://api.github.com/users/ian-liu/orgs","repos_url":"https://api.github.com/users/ian-liu/repos","events_url":"https://api.github.com/users/ian-liu/events{/privacy}","received_events_url":"https://api.github.com/users/ian-liu/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T02:40:23Z","updated_at":"2015-01-26T02:40:23Z","body":"Revised the patch with @crh0716 's suggestion. The major change is as following:\r\n* Revise asynchronies functions to return promise.\r\n  ** Resolve in API's resolve case only.\r\n  ** Reject with reason.(same state, state transition, Bluetooth is disabled, no default adapter).\r\n* Move `Debug` function to local.\r\n* Revise unit test for covering these change.\r\n"}}