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

Issue 2617923002: bluetooth: Add service list to DeviceDetailsPage in internals page. (Closed)

Created:
3 years, 11 months ago by mbrunson
Modified:
3 years, 11 months ago
Reviewers:
Tom Sepez, scheib, dpapad
CC:
Aaron Boodman, abarth-chromium, arv+watch_chromium.org, chromium-reviews, darin (slow to review), ortuno+watch_chromium.org, oshima+watch_chromium.org, qsr+mojo_chromium.org, scheib+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Add service list to DeviceDetailsPage in internals page. Adds service list to DeviceDetailsPage and creates the structure for displaying hierachical data using collapsible panels. Adds id property to ServiceInfo for display in service list. Adds expandable list control for collapsible tree view of service list items. GIF: https://goo.gl/photos/rqnDxZYmx1TDnBJ26 BUG=651282 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2617923002 Cr-Commit-Position: refs/heads/master@{#443782} Committed: https://chromium.googlesource.com/chromium/src/+/ae05be6e566364f83f864fcf8a941d04b4cd768c

Patch Set 1 #

Patch Set 2 : Change layout #

Patch Set 3 : Merge upstream, change layout #

Patch Set 4 : Update copyrights, remove unneeded import #

Total comments: 2

Patch Set 5 : Rearrage decorate function, display full UUID #

Total comments: 4

Patch Set 6 : Add CSS variable for expandable list item border #

Total comments: 6

Patch Set 7 : Add semicolon, inline serviceViewObj #

Unified diffs Side-by-side diffs Delta from patch set Stats (+344 lines, -4 lines) Patch
M chrome/browser/browser_resources.grd View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/bluetooth_internals.css View 1 2 3 4 5 4 chunks +55 lines, -2 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/bluetooth_internals.html View 1 2 3 4 4 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/device_details_page.js View 1 2 3 4 5 chunks +12 lines, -2 lines 0 comments Download
A chrome/browser/resources/bluetooth_internals/expandable_list.js View 1 2 3 4 5 6 1 chunk +126 lines, -0 lines 0 comments Download
A chrome/browser/resources/bluetooth_internals/service_list.js View 1 2 3 4 5 6 1 chunk +118 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M device/bluetooth/device.cc View 1 chunk +1 line, -0 lines 0 comments Download
M device/bluetooth/public/interfaces/device.mojom View 1 chunk +1 line, -0 lines 0 comments Download
A ui/webui/resources/html/cr/ui/list.html View 1 chunk +1 line, -0 lines 0 comments Download
A ui/webui/resources/html/cr/ui/list_item.html View 1 chunk +1 line, -0 lines 0 comments Download
A ui/webui/resources/html/cr/ui/list_selection_controller.html View 1 chunk +1 line, -0 lines 0 comments Download
A ui/webui/resources/html/cr/ui/list_selection_model.html View 1 chunk +1 line, -0 lines 0 comments Download
M ui/webui/resources/webui_resources.grd View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 21 (9 generated)
mbrunson
3 years, 11 months ago (2017-01-11 21:56:45 UTC) #4
scheib
LGTM, small change request: https://codereview.chromium.org/2617923002/diff/60001/chrome/browser/resources/bluetooth_internals/service_list.js File chrome/browser/resources/bluetooth_internals/service_list.js (right): https://codereview.chromium.org/2617923002/diff/60001/chrome/browser/resources/bluetooth_internals/service_list.js#newcode49 chrome/browser/resources/bluetooth_internals/service_list.js:49: var uuidString = this.info.uuid.uuid.split('-')[0]; For ...
3 years, 11 months ago (2017-01-12 21:53:16 UTC) #5
mbrunson
https://codereview.chromium.org/2617923002/diff/60001/chrome/browser/resources/bluetooth_internals/service_list.js File chrome/browser/resources/bluetooth_internals/service_list.js (right): https://codereview.chromium.org/2617923002/diff/60001/chrome/browser/resources/bluetooth_internals/service_list.js#newcode49 chrome/browser/resources/bluetooth_internals/service_list.js:49: var uuidString = this.info.uuid.uuid.split('-')[0]; On 2017/01/12 21:53:16, scheib wrote: ...
3 years, 11 months ago (2017-01-12 22:59:59 UTC) #6
mbrunson
dpapad: WebUI OWNERS review, please.
3 years, 11 months ago (2017-01-12 23:10:18 UTC) #8
mbrunson
Mojom review, please. tsepez: device/bluetooth/public/interfaces/device.mojom
3 years, 11 months ago (2017-01-12 23:42:28 UTC) #10
Tom Sepez
mojom LGTM
3 years, 11 months ago (2017-01-12 23:45:07 UTC) #11
dpapad
https://codereview.chromium.org/2617923002/diff/80001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css File chrome/browser/resources/bluetooth_internals/bluetooth_internals.css (right): https://codereview.chromium.org/2617923002/diff/80001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css#newcode52 chrome/browser/resources/bluetooth_internals/bluetooth_internals.css:52: border-left: 1px solid gray; Let's use a CSS variable ...
3 years, 11 months ago (2017-01-13 22:17:20 UTC) #12
mbrunson
https://codereview.chromium.org/2617923002/diff/80001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css File chrome/browser/resources/bluetooth_internals/bluetooth_internals.css (right): https://codereview.chromium.org/2617923002/diff/80001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css#newcode52 chrome/browser/resources/bluetooth_internals/bluetooth_internals.css:52: border-left: 1px solid gray; On 2017/01/13 22:17:20, dpapad wrote: ...
3 years, 11 months ago (2017-01-13 23:26:47 UTC) #13
dpapad
LGTM with nits. https://codereview.chromium.org/2617923002/diff/100001/chrome/browser/resources/bluetooth_internals/expandable_list.js File chrome/browser/resources/bluetooth_internals/expandable_list.js (right): https://codereview.chromium.org/2617923002/diff/100001/chrome/browser/resources/bluetooth_internals/expandable_list.js#newcode111 chrome/browser/resources/bluetooth_internals/expandable_list.js:111: this.spinner_.hidden = !loading; FWIW, a hidden ...
3 years, 11 months ago (2017-01-14 00:32:57 UTC) #14
mbrunson
https://codereview.chromium.org/2617923002/diff/100001/chrome/browser/resources/bluetooth_internals/expandable_list.js File chrome/browser/resources/bluetooth_internals/expandable_list.js (right): https://codereview.chromium.org/2617923002/diff/100001/chrome/browser/resources/bluetooth_internals/expandable_list.js#newcode111 chrome/browser/resources/bluetooth_internals/expandable_list.js:111: this.spinner_.hidden = !loading; On 2017/01/14 00:32:57, dpapad wrote: > ...
3 years, 11 months ago (2017-01-14 01:36:12 UTC) #15
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/2617923002/120001
3 years, 11 months ago (2017-01-14 01:53:31 UTC) #18
commit-bot: I haz the power
3 years, 11 months ago (2017-01-14 03:59:31 UTC) #21
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/ae05be6e566364f83f864fcf8a94...

Powered by Google App Engine
This is Rietveld 408576698