Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Issue 2576603002: bluetooth: Add device details page with basic properties to internals page. (Closed)

Created:
4 years ago by mbrunson
Modified:
3 years, 11 months ago
Reviewers:
scheib, dpapad
CC:
arv+watch_chromium.org, chromium-reviews, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Add device details page with basic properties to internals page. Adds DeviceDetailsPage to internals page so users can view all the properties of the DeviceInfo object. No display of service properties is included in this patch. Splits action link in Devices table into two separate links: "Inspect" and "Forget". Adds functions to add and remove items from the sidebar. Adds test infrastructure for Device proxy-based tests. Adds test for DeviceDetailsPage. Adds unregister function to PageManager. GIFs: https://goo.gl/photos/zLiv86gyYmQhRn9w8 BUG=651282, 663470 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2576603002 Cr-Commit-Position: refs/heads/master@{#443465} Committed: https://chromium.googlesource.com/chromium/src/+/feda9ca742d2220f0da0d81e17f51a4917375405

Patch Set 1 #

Patch Set 2 : Merge upstream #

Patch Set 3 : Merge upstream, remove spinners #

Patch Set 4 : Use object fieldset for device status #

Patch Set 5 : Add comments #

Patch Set 6 : Test changes to TestDeviceProxy #

Patch Set 7 : Update tests, copyright #

Patch Set 8 : Update hash navigation #

Patch Set 9 : Update tests #

Patch Set 10 : Add CSS for handling long device names #

Total comments: 6

Patch Set 11 : Add inspecting functions and add header for links to device table #

Patch Set 12 : Fix device-details-template class #

Total comments: 24

Patch Set 13 : Fix formatting, fix comments, fix test, change service/rssi display #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+686 lines, -112 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/bluetooth_internals.css View 1 2 3 4 5 6 7 8 9 5 chunks +22 lines, -9 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/bluetooth_internals.html View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/resources/bluetooth_internals/bluetooth_internals.js View 1 2 3 4 5 6 7 8 9 10 6 chunks +109 lines, -67 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/device_collection.js View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/resources/bluetooth_internals/device_details_page.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +223 lines, -0 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/device_table.js View 1 2 3 4 5 6 7 8 9 10 8 chunks +55 lines, -21 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/devices_page.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/sidebar.js View 3 chunks +30 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/webui/bluetooth_internals_browsertest.js View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +212 lines, -13 lines 0 comments Download
M ui/webui/resources/js/cr/ui/page_manager/page_manager.js View 1 2 3 4 1 chunk +8 lines, -0 lines 2 comments Download

Dependent Patchsets:

Messages

Total messages: 59 (46 generated)
mbrunson
3 years, 11 months ago (2017-01-10 00:40:59 UTC) #27
scheib
https://codereview.chromium.org/2576603002/diff/180001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js File chrome/browser/resources/bluetooth_internals/bluetooth_internals.js (right): https://codereview.chromium.org/2576603002/diff/180001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js#newcode77 chrome/browser/resources/bluetooth_internals/bluetooth_internals.js:77: devices.addOrUpdate(deviceDetailsPage.deviceInfo); comment why the addOrUpdate here and below, or ...
3 years, 11 months ago (2017-01-11 02:16:14 UTC) #35
mbrunson
https://codereview.chromium.org/2576603002/diff/180001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js File chrome/browser/resources/bluetooth_internals/bluetooth_internals.js (right): https://codereview.chromium.org/2576603002/diff/180001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js#newcode77 chrome/browser/resources/bluetooth_internals/bluetooth_internals.js:77: devices.addOrUpdate(deviceDetailsPage.deviceInfo); On 2017/01/11 02:16:14, scheib wrote: > comment why ...
3 years, 11 months ago (2017-01-11 21:22:59 UTC) #36
scheib
LGTM
3 years, 11 months ago (2017-01-11 21:57:37 UTC) #37
mbrunson
3 years, 11 months ago (2017-01-11 22:15:48 UTC) #40
mbrunson
dpapad: WebUI OWNERS review please.
3 years, 11 months ago (2017-01-11 22:16:45 UTC) #42
dpapad
https://codereview.chromium.org/2576603002/diff/220001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.html File chrome/browser/resources/bluetooth_internals/bluetooth_internals.html (right): https://codereview.chromium.org/2576603002/diff/220001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.html#newcode93 chrome/browser/resources/bluetooth_internals/bluetooth_internals.html:93: <button class="disconnect-btn">Disconnect</button> Nit (optional): Drop "-btn" suffix? I don't ...
3 years, 11 months ago (2017-01-12 18:37:09 UTC) #45
mbrunson
https://codereview.chromium.org/2576603002/diff/220001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.html File chrome/browser/resources/bluetooth_internals/bluetooth_internals.html (right): https://codereview.chromium.org/2576603002/diff/220001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.html#newcode93 chrome/browser/resources/bluetooth_internals/bluetooth_internals.html:93: <button class="disconnect-btn">Disconnect</button> On 2017/01/12 18:37:08, dpapad wrote: > Nit ...
3 years, 11 months ago (2017-01-12 22:16:28 UTC) #46
dpapad
LGTM with question. https://codereview.chromium.org/2576603002/diff/240001/ui/webui/resources/js/cr/ui/page_manager/page_manager.js File ui/webui/resources/js/cr/ui/page_manager/page_manager.js (right): https://codereview.chromium.org/2576603002/diff/240001/ui/webui/resources/js/cr/ui/page_manager/page_manager.js#newcode90 ui/webui/resources/js/cr/ui/page_manager/page_manager.js:90: delete this.registeredPages[page.name.toLowerCase()]; Is it necessary to ...
3 years, 11 months ago (2017-01-12 22:53:21 UTC) #47
mbrunson
https://codereview.chromium.org/2576603002/diff/240001/ui/webui/resources/js/cr/ui/page_manager/page_manager.js File ui/webui/resources/js/cr/ui/page_manager/page_manager.js (right): https://codereview.chromium.org/2576603002/diff/240001/ui/webui/resources/js/cr/ui/page_manager/page_manager.js#newcode90 ui/webui/resources/js/cr/ui/page_manager/page_manager.js:90: delete this.registeredPages[page.name.toLowerCase()]; On 2017/01/12 22:53:21, dpapad wrote: > Is ...
3 years, 11 months ago (2017-01-12 23:09:19 UTC) #48
dpapad
On 2017/01/12 at 23:09:19, mbrunson wrote: > https://codereview.chromium.org/2576603002/diff/240001/ui/webui/resources/js/cr/ui/page_manager/page_manager.js > File ui/webui/resources/js/cr/ui/page_manager/page_manager.js (right): > > https://codereview.chromium.org/2576603002/diff/240001/ui/webui/resources/js/cr/ui/page_manager/page_manager.js#newcode90 ...
3 years, 11 months ago (2017-01-12 23:48:36 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2576603002/240001
3 years, 11 months ago (2017-01-13 01:44:37 UTC) #56
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 02:15:58 UTC) #59
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/feda9ca742d2220f0da0d81e17f5...

Powered by Google App Engine
This is Rietveld 408576698