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

Issue 2974583003: MD Extensions: Show messages for no extensions, and for no search results (Closed)

Created:
3 years, 5 months ago by scottchen
Modified:
3 years, 5 months ago
Reviewers:
Lei Zhang, Devlin
CC:
dpapad, arv+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, michaelpg+watch-md-ui_chromium.org, srahim+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Extensions: Show messages for no extensions, and for no search results This CL adds messages to tell users when there are no extensions installed, as well as when their search filtering yields no results. BUG=729863 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2974583003 Cr-Commit-Position: refs/heads/master@{#486166} Committed: https://chromium.googlesource.com/chromium/src/+/1fcd56bdfe3d6900ad2aff5197c982ae2dfa77c4

Patch Set 1 #

Total comments: 14

Patch Set 2 : feedback #

Patch Set 3 : update tests #

Total comments: 16

Patch Set 4 : feedback #

Total comments: 2

Patch Set 5 : merge #

Patch Set 6 : add md_extensions_strings.grdp=* in OWNER #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -16 lines) Patch
M chrome/app/OWNERS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/md_extensions_strings.grdp View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_extensions/item_list.html View 1 2 3 chunks +21 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_extensions/item_list.js View 1 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_extensions/manager.html View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/md_extensions/manager.js View 1 2 3 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extensions_ui.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/webui/extensions/cr_extensions_browsertest.js View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/test/data/webui/extensions/extension_item_list_test.js View 1 2 3 chunks +23 lines, -0 lines 0 comments Download
M chrome/test/data/webui/extensions/extension_manager_test.js View 1 2 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 38 (20 generated)
scottchen
3 years, 5 months ago (2017-07-07 00:40:35 UTC) #3
scottchen
On 2017/07/07 00:40:35, scottchen wrote: screenshots of results: http://imgur.com/a/tFnYQ
3 years, 5 months ago (2017-07-07 00:44:29 UTC) #6
dpapad
https://codereview.chromium.org/2974583003/diff/1/chrome/browser/resources/md_extensions/item_list.html File chrome/browser/resources/md_extensions/item_list.html (right): https://codereview.chromium.org/2974583003/diff/1/chrome/browser/resources/md_extensions/item_list.html#newcode35 chrome/browser/resources/md_extensions/item_list.html:35: <template is="dom-if" if="[[isEmpty_(items.length)]]"> Dom-if has a lot of overhead. ...
3 years, 5 months ago (2017-07-07 00:45:04 UTC) #8
Devlin
https://codereview.chromium.org/2974583003/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2974583003/diff/1/chrome/app/generated_resources.grd#newcode4320 chrome/app/generated_resources.grd:4320: <message name="IDS_MD_EXTENSIONS_MSG_NO_EXT_OR_APP" desc="The text to display when there are ...
3 years, 5 months ago (2017-07-07 00:48:07 UTC) #10
scottchen
Addressed comments and added tests. PTAL! https://codereview.chromium.org/2974583003/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2974583003/diff/1/chrome/app/generated_resources.grd#newcode4320 chrome/app/generated_resources.grd:4320: <message name="IDS_MD_EXTENSIONS_MSG_NO_EXT_OR_APP" desc="The ...
3 years, 5 months ago (2017-07-07 23:08:42 UTC) #13
Devlin
https://codereview.chromium.org/2974583003/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2974583003/diff/1/chrome/app/generated_resources.grd#newcode4324 chrome/app/generated_resources.grd:4324: Search results not found On 2017/07/07 23:08:42, scottchen wrote: ...
3 years, 5 months ago (2017-07-10 20:23:54 UTC) #18
Devlin
Sorry for the double-batch of comments, forgot to take another look at the grd. https://codereview.chromium.org/2974583003/diff/40001/chrome/app/generated_resources.grd ...
3 years, 5 months ago (2017-07-10 20:29:19 UTC) #19
scottchen
https://codereview.chromium.org/2974583003/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2974583003/diff/40001/chrome/app/generated_resources.grd#newcode4320 chrome/app/generated_resources.grd:4320: <message name="IDS_MD_EXTENSIONS_MSG_NO_EXT_OR_APP" desc="The text to display on the list ...
3 years, 5 months ago (2017-07-10 22:13:40 UTC) #21
dpapad
https://codereview.chromium.org/2974583003/diff/40001/chrome/test/data/webui/extensions/cr_extensions_browsertest.js File chrome/test/data/webui/extensions/cr_extensions_browsertest.js (left): https://codereview.chromium.org/2974583003/diff/40001/chrome/test/data/webui/extensions/cr_extensions_browsertest.js#oldcode194 chrome/test/data/webui/extensions/cr_extensions_browsertest.js:194: assert(extension_item_list_tests.TestNames.ItemListFiltering)).run(); On 2017/07/10 at 22:13:40, scottchen wrote: > On ...
3 years, 5 months ago (2017-07-11 01:36:56 UTC) #22
scottchen
https://codereview.chromium.org/2974583003/diff/40001/chrome/test/data/webui/extensions/cr_extensions_browsertest.js File chrome/test/data/webui/extensions/cr_extensions_browsertest.js (left): https://codereview.chromium.org/2974583003/diff/40001/chrome/test/data/webui/extensions/cr_extensions_browsertest.js#oldcode194 chrome/test/data/webui/extensions/cr_extensions_browsertest.js:194: assert(extension_item_list_tests.TestNames.ItemListFiltering)).run(); On 2017/07/11 01:36:56, dpapad wrote: > On 2017/07/10 ...
3 years, 5 months ago (2017-07-11 18:08:18 UTC) #23
Devlin
lgtm https://codereview.chromium.org/2974583003/diff/40001/chrome/browser/resources/md_extensions/item_list.html File chrome/browser/resources/md_extensions/item_list.html (right): https://codereview.chromium.org/2974583003/diff/40001/chrome/browser/resources/md_extensions/item_list.html#newcode35 chrome/browser/resources/md_extensions/item_list.html:35: <div id="no-items" class="empty-list-message" On 2017/07/10 22:13:40, scottchen wrote: ...
3 years, 5 months ago (2017-07-12 02:22:02 UTC) #24
scottchen
https://codereview.chromium.org/2974583003/diff/40001/chrome/browser/resources/md_extensions/item_list.html File chrome/browser/resources/md_extensions/item_list.html (right): https://codereview.chromium.org/2974583003/diff/40001/chrome/browser/resources/md_extensions/item_list.html#newcode35 chrome/browser/resources/md_extensions/item_list.html:35: <div id="no-items" class="empty-list-message" On 2017/07/12 02:22:02, Devlin wrote: > ...
3 years, 5 months ago (2017-07-12 18:08:05 UTC) #25
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/2974583003/100001
3 years, 5 months ago (2017-07-12 18:08:26 UTC) #27
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/487466)
3 years, 5 months ago (2017-07-12 18:17:24 UTC) #29
scottchen
+thestig@ for OWNER changes.
3 years, 5 months ago (2017-07-12 19:25:40 UTC) #31
Lei Zhang
lgtm
3 years, 5 months ago (2017-07-12 21:24:38 UTC) #32
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/2974583003/120001
3 years, 5 months ago (2017-07-12 21:26:37 UTC) #35
commit-bot: I haz the power
3 years, 5 months ago (2017-07-13 00:01:42 UTC) #38
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/1fcd56bdfe3d6900ad2aff5197c9...

Powered by Google App Engine
This is Rietveld 408576698