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

Issue 2698503004: Add empty list indicator for Physical Web WebUI (Closed)

Created:
3 years, 10 months ago by Ran
Modified:
3 years, 9 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add empty list indicator for Physical Web WebUI. Before if there is no Physical Web url, WebUI will give an empty page. Add a indicator message to let the user know there is no result. BUG=692789 Review-Url: https://codereview.chromium.org/2698503004 Cr-Commit-Position: refs/heads/master@{#456091} Committed: https://chromium.googlesource.com/chromium/src/+/ffaccf2fc7b8ff03cb3e4a8aa496aae6ccf03317

Patch Set 1 #

Patch Set 2 : fix ios build #

Patch Set 3 : match string in android_chrome_strings.grd #

Patch Set 4 : rebase #

Patch Set 5 : remove unused string #

Patch Set 6 : rebase #

Total comments: 13

Patch Set 7 : fix #

Patch Set 8 : remove alert #

Patch Set 9 : remove scanning indicator #

Total comments: 9

Patch Set 10 : change visibility to display #

Total comments: 4

Patch Set 11 : fix style #

Total comments: 2

Patch Set 12 : add hidden attribute #

Total comments: 2

Patch Set 13 : access hidden attr directly #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M chrome/browser/ui/webui/physical_web/physical_web_ui.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M components/physical_web/webui/physical_web_ui_constants.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/physical_web/webui/physical_web_ui_constants.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/physical_web/webui/resources/physical_web.html View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -1 line 0 comments Download
M components/physical_web/webui/resources/physical_web.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -1 line 1 comment Download
M ios/chrome/browser/ui/webui/physical_web_ui.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 97 (63 generated)
Ran
3 years, 10 months ago (2017-02-23 19:55:54 UTC) #37
cco3
Commit subjects should not have a full stop (period) and should be no more than ...
3 years, 10 months ago (2017-02-23 20:07:31 UTC) #38
mattreynolds
https://codereview.chromium.org/2698503004/diff/100001/components/physical_web/webui/resources/physical_web.js File components/physical_web/webui/resources/physical_web.js (right): https://codereview.chromium.org/2698503004/diff/100001/components/physical_web/webui/resources/physical_web.js#newcode34 components/physical_web/webui/resources/physical_web.js:34: clearScanNotification(); How long does it normally take to receive ...
3 years, 10 months ago (2017-02-23 20:18:43 UTC) #39
Ran
https://codereview.chromium.org/2698503004/diff/100001/components/physical_web/webui/resources/physical_web.html File components/physical_web/webui/resources/physical_web.html (right): https://codereview.chromium.org/2698503004/diff/100001/components/physical_web/webui/resources/physical_web.html#newcode41 components/physical_web/webui/resources/physical_web.html:41: <div id="empty-container" i18n-content="emptyMessage" style="visibility:hidden"> On 2017/02/23 20:07:31, cco3 wrote: ...
3 years, 10 months ago (2017-02-23 20:59:46 UTC) #40
mattreynolds
https://codereview.chromium.org/2698503004/diff/100001/components/physical_web/webui/resources/physical_web.js File components/physical_web/webui/resources/physical_web.js (right): https://codereview.chromium.org/2698503004/diff/100001/components/physical_web/webui/resources/physical_web.js#newcode34 components/physical_web/webui/resources/physical_web.js:34: clearScanNotification(); On 2017/02/23 20:59:46, Ran wrote: > On 2017/02/23 ...
3 years, 10 months ago (2017-02-23 22:58:19 UTC) #41
Ran
On 2017/02/23 22:58:19, mattreynolds wrote: > https://codereview.chromium.org/2698503004/diff/100001/components/physical_web/webui/resources/physical_web.js > File components/physical_web/webui/resources/physical_web.js (right): > > https://codereview.chromium.org/2698503004/diff/100001/components/physical_web/webui/resources/physical_web.js#newcode34 > ...
3 years, 10 months ago (2017-02-23 23:09:47 UTC) #43
cco3
https://codereview.chromium.org/2698503004/diff/160001/components/physical_web/webui/resources/physical_web.css File components/physical_web/webui/resources/physical_web.css (right): https://codereview.chromium.org/2698503004/diff/160001/components/physical_web/webui/resources/physical_web.css#newcode55 components/physical_web/webui/resources/physical_web.css:55: visibility:visible; This is default, so I don't think it's ...
3 years, 10 months ago (2017-02-23 23:36:55 UTC) #44
cco3
https://codereview.chromium.org/2698503004/diff/160001/components/physical_web/webui/resources/physical_web.js File components/physical_web/webui/resources/physical_web.js (right): https://codereview.chromium.org/2698503004/diff/160001/components/physical_web/webui/resources/physical_web.js#newcode27 components/physical_web/webui/resources/physical_web.js:27: bodyContainer.style.visibility = 'visible'; On 2017/02/23 23:36:54, cco3 wrote: > ...
3 years, 10 months ago (2017-02-23 23:39:33 UTC) #45
cco3
Also, I would suggest changing the commit subject to: "Add empty list indicator for Physical ...
3 years, 10 months ago (2017-02-23 23:41:33 UTC) #46
mmocny
On 2017/02/23 22:58:19, mattreynolds wrote: > https://codereview.chromium.org/2698503004/diff/100001/components/physical_web/webui/resources/physical_web.js > File components/physical_web/webui/resources/physical_web.js (right): > > https://codereview.chromium.org/2698503004/diff/100001/components/physical_web/webui/resources/physical_web.js#newcode34 > ...
3 years, 10 months ago (2017-02-24 14:16:14 UTC) #47
mmocny
On 2017/02/23 23:39:33, cco3 wrote: > https://codereview.chromium.org/2698503004/diff/160001/components/physical_web/webui/resources/physical_web.js > File components/physical_web/webui/resources/physical_web.js (right): > > https://codereview.chromium.org/2698503004/diff/160001/components/physical_web/webui/resources/physical_web.js#newcode27 > ...
3 years, 10 months ago (2017-02-24 14:19:15 UTC) #48
Ran
https://codereview.chromium.org/2698503004/diff/160001/components/physical_web/webui/resources/physical_web.css File components/physical_web/webui/resources/physical_web.css (right): https://codereview.chromium.org/2698503004/diff/160001/components/physical_web/webui/resources/physical_web.css#newcode55 components/physical_web/webui/resources/physical_web.css:55: visibility:visible; On 2017/02/23 23:36:54, cco3 wrote: > This is ...
3 years, 10 months ago (2017-02-24 18:52:59 UTC) #50
cco3
lgtm
3 years, 10 months ago (2017-02-25 00:01:40 UTC) #51
mattreynolds
lgtm
3 years, 9 months ago (2017-02-27 18:52:38 UTC) #52
Ran
+nyquist
3 years, 9 months ago (2017-03-02 18:29:13 UTC) #60
nyquist
https://codereview.chromium.org/2698503004/diff/180001/components/physical_web/webui/resources/physical_web.css File components/physical_web/webui/resources/physical_web.css (right): https://codereview.chromium.org/2698503004/diff/180001/components/physical_web/webui/resources/physical_web.css#newcode55 components/physical_web/webui/resources/physical_web.css:55: display:none; Optional nit: Sometimes we write 'display:none' and other ...
3 years, 9 months ago (2017-03-02 19:01:28 UTC) #61
Ran
https://codereview.chromium.org/2698503004/diff/180001/components/physical_web/webui/resources/physical_web.css File components/physical_web/webui/resources/physical_web.css (right): https://codereview.chromium.org/2698503004/diff/180001/components/physical_web/webui/resources/physical_web.css#newcode55 components/physical_web/webui/resources/physical_web.css:55: display:none; On 2017/03/02 19:01:27, nyquist wrote: > Optional nit: ...
3 years, 9 months ago (2017-03-02 19:36:36 UTC) #62
nyquist
lgtm
3 years, 9 months ago (2017-03-02 19:37:16 UTC) #63
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/2698503004/200001
3 years, 9 months ago (2017-03-02 20:48:04 UTC) #70
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/377188)
3 years, 9 months ago (2017-03-02 21:00:09 UTC) #72
Ran
+jam for chrome/browser/ui/webui/physical_web/physical_web_ui.cc ios/chrome/browser/ui/webui/physical_web_ui.cc
3 years, 9 months ago (2017-03-02 21:18:26 UTC) #74
jam
On 2017/03/02 21:18:26, Ran wrote: > +jam for > > chrome/browser/ui/webui/physical_web/physical_web_ui.cc > ios/chrome/browser/ui/webui/physical_web_ui.cc why is ...
3 years, 9 months ago (2017-03-03 17:15:52 UTC) #75
Ran
+eugenebut for ios/chrome/browser/ui/webui/physical_web_ui.cc +dbeam for chrome/browser/ui/webui/physical_web/physical_web_ui.cc
3 years, 9 months ago (2017-03-06 17:41:08 UTC) #77
Eugene But (OOO till 7-30)
ios/chrome/browser/ui/webui/physical_web_ui.cc lgtm
3 years, 9 months ago (2017-03-06 19:37:43 UTC) #78
Ran
+bauerb for chrome/browser/ui/webui/physical_web/physical_web_ui.cc
3 years, 9 months ago (2017-03-08 20:02:08 UTC) #80
Bernhard Bauer
https://codereview.chromium.org/2698503004/diff/200001/components/physical_web/webui/resources/physical_web.html File components/physical_web/webui/resources/physical_web.html (right): https://codereview.chromium.org/2698503004/diff/200001/components/physical_web/webui/resources/physical_web.html#newcode41 components/physical_web/webui/resources/physical_web.html:41: <div id="empty-list-container" i18n-content="emptyMessage"> I think I would set a ...
3 years, 9 months ago (2017-03-09 09:25:13 UTC) #81
mmocny
https://codereview.chromium.org/2698503004/diff/200001/components/physical_web/webui/resources/physical_web.html File components/physical_web/webui/resources/physical_web.html (right): https://codereview.chromium.org/2698503004/diff/200001/components/physical_web/webui/resources/physical_web.html#newcode41 components/physical_web/webui/resources/physical_web.html:41: <div id="empty-list-container" i18n-content="emptyMessage"> On 2017/03/09 09:25:13, Bernhard Bauer wrote: ...
3 years, 9 months ago (2017-03-09 15:17:40 UTC) #82
Ran
3 years, 9 months ago (2017-03-09 21:37:08 UTC) #83
Bernhard Bauer
lgtm https://codereview.chromium.org/2698503004/diff/220001/components/physical_web/webui/resources/physical_web.js File components/physical_web/webui/resources/physical_web.js (right): https://codereview.chromium.org/2698503004/diff/220001/components/physical_web/webui/resources/physical_web.js#newcode27 components/physical_web/webui/resources/physical_web.js:27: bodyContainer.removeAttribute("hidden"); You can actually directly access the .hidden ...
3 years, 9 months ago (2017-03-09 22:10:04 UTC) #84
Ran
+mmocny https://codereview.chromium.org/2698503004/diff/220001/components/physical_web/webui/resources/physical_web.js File components/physical_web/webui/resources/physical_web.js (right): https://codereview.chromium.org/2698503004/diff/220001/components/physical_web/webui/resources/physical_web.js#newcode27 components/physical_web/webui/resources/physical_web.js:27: bodyContainer.removeAttribute("hidden"); On 2017/03/09 22:10:04, Bernhard Bauer wrote: > ...
3 years, 9 months ago (2017-03-09 22:28:12 UTC) #85
mmocny
Much better, lgtm with one Nit. https://codereview.chromium.org/2698503004/diff/240001/components/physical_web/webui/resources/physical_web.js File components/physical_web/webui/resources/physical_web.js (right): https://codereview.chromium.org/2698503004/diff/240001/components/physical_web/webui/resources/physical_web.js#newcode27 components/physical_web/webui/resources/physical_web.js:27: bodyContainer.hidden = false; ...
3 years, 9 months ago (2017-03-09 23:22:32 UTC) #86
Ran
On 2017/03/09 23:22:32, mmocny wrote: > Much better, lgtm with one Nit. > > https://codereview.chromium.org/2698503004/diff/240001/components/physical_web/webui/resources/physical_web.js ...
3 years, 9 months ago (2017-03-10 01:00:52 UTC) #87
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/2698503004/240001
3 years, 9 months ago (2017-03-10 17:28:10 UTC) #94
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 17:34:23 UTC) #97
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/ffaccf2fc7b8ff03cb3e4a8aa496...

Powered by Google App Engine
This is Rietveld 408576698