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

Issue 2690263002: MD Settings: add empty list message for spell-check edit page. (Closed)

Created:
3 years, 10 months ago by scottchen
Modified:
3 years, 10 months ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: add empty list message for spell-check edit page. Also move the word list to a template dom-if, and fix auto-scroll when new words are added. BUG=684152 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2690263002 Cr-Commit-Position: refs/heads/master@{#452633} Committed: https://chromium.googlesource.com/chromium/src/+/08b33480b93950a0153c179f5336aeaf382ff8d5

Patch Set 1 #

Patch Set 2 : upload failing test for collab (DO NOT COMMIT) #

Patch Set 3 : fix spell check tests #

Patch Set 4 : fix 80 col #

Total comments: 24

Patch Set 5 : attempt to fix test #

Patch Set 6 : minor fixes to unit test #

Total comments: 8

Patch Set 7 : fixes based on comments #

Patch Set 8 : more fixes based on comments #

Total comments: 2

Patch Set 9 : fixes based on comments #

Total comments: 2

Patch Set 10 : use comparison instead of boolean conversion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -94 lines) Patch
M chrome/app/settings_strings.grdp View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/edit_dictionary_page.html View 1 2 3 4 2 chunks +20 lines, -11 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/edit_dictionary_page.js View 1 2 3 4 5 6 7 8 9 3 chunks +24 lines, -5 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/languages_page.js View 1 2 3 4 2 chunks +0 lines, -11 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 5 1 chunk +47 lines, -48 lines 0 comments Download
M chrome/test/data/webui/settings/cr_settings_browsertest.js View 1 2 3 4 5 2 chunks +30 lines, -0 lines 0 comments Download
A chrome/test/data/webui/settings/edit_dictionary_page_test.js View 1 2 3 4 5 6 7 8 1 chunk +112 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/fake_language_settings_private.js View 1 2 3 4 5 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/test/data/webui/settings/languages_page_browsertest.js View 1 2 1 chunk +0 lines, -17 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
scottchen
https://codereview.chromium.org/2690263002/diff/60001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js File chrome/browser/resources/settings/languages_page/edit_dictionary_page.js (left): https://codereview.chromium.org/2690263002/diff/60001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js#oldcode24 chrome/browser/resources/settings/languages_page/edit_dictionary_page.js:24: chrome.languageSettingsPrivate.getSpellcheckWords(function(words) { This change is needed so that the ...
3 years, 10 months ago (2017-02-15 19:34:46 UTC) #3
dpapad
https://codereview.chromium.org/2690263002/diff/60001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.html File chrome/browser/resources/settings/languages_page/edit_dictionary_page.html (right): https://codereview.chromium.org/2690263002/diff/60001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.html#newcode56 chrome/browser/resources/settings/languages_page/edit_dictionary_page.html:56: <iron-list id="list" items="{{words_}}" on-created="onListLoad_"> is the on-created="onListLoad_" part still ...
3 years, 10 months ago (2017-02-15 20:36:37 UTC) #6
scottchen
https://codereview.chromium.org/2690263002/diff/60001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.html File chrome/browser/resources/settings/languages_page/edit_dictionary_page.html (right): https://codereview.chromium.org/2690263002/diff/60001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.html#newcode56 chrome/browser/resources/settings/languages_page/edit_dictionary_page.html:56: <iron-list id="list" items="{{words_}}" on-created="onListLoad_"> On 2017/02/15 20:36:37, dpapad wrote: ...
3 years, 10 months ago (2017-02-22 21:42:25 UTC) #9
dpapad
https://codereview.chromium.org/2690263002/diff/60001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js File chrome/browser/resources/settings/languages_page/edit_dictionary_page.js (right): https://codereview.chromium.org/2690263002/diff/60001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js#newcode130 chrome/browser/resources/settings/languages_page/edit_dictionary_page.js:130: return !!(this.words_ && this.words_.length); On 2017/02/22 at 21:42:25, scottchen ...
3 years, 10 months ago (2017-02-22 21:58:52 UTC) #12
Dan Beam
https://codereview.chromium.org/2690263002/diff/100001/chrome/test/data/webui/settings/edit_dictionary_page_test.js File chrome/test/data/webui/settings/edit_dictionary_page_test.js (right): https://codereview.chromium.org/2690263002/diff/100001/chrome/test/data/webui/settings/edit_dictionary_page_test.js#newcode5 chrome/test/data/webui/settings/edit_dictionary_page_test.js:5: cr.define('settings-edit-dictionary-page', function() { On 2017/02/22 21:58:52, dpapad wrote: > ...
3 years, 10 months ago (2017-02-22 22:42:06 UTC) #14
scottchen
https://codereview.chromium.org/2690263002/diff/100001/chrome/test/data/webui/settings/edit_dictionary_page_test.js File chrome/test/data/webui/settings/edit_dictionary_page_test.js (right): https://codereview.chromium.org/2690263002/diff/100001/chrome/test/data/webui/settings/edit_dictionary_page_test.js#newcode5 chrome/test/data/webui/settings/edit_dictionary_page_test.js:5: cr.define('settings-edit-dictionary-page', function() { On 2017/02/22 22:42:05, Dan Beam wrote: ...
3 years, 10 months ago (2017-02-22 23:30:18 UTC) #17
dpapad
https://codereview.chromium.org/2690263002/diff/60001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js File chrome/browser/resources/settings/languages_page/edit_dictionary_page.js (right): https://codereview.chromium.org/2690263002/diff/60001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js#newcode130 chrome/browser/resources/settings/languages_page/edit_dictionary_page.js:130: return !!(this.words_ && this.words_.length); On 2017/02/22 at 21:58:52, dpapad ...
3 years, 10 months ago (2017-02-23 00:32:03 UTC) #18
scottchen
https://codereview.chromium.org/2690263002/diff/60001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js File chrome/browser/resources/settings/languages_page/edit_dictionary_page.js (right): https://codereview.chromium.org/2690263002/diff/60001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js#newcode130 chrome/browser/resources/settings/languages_page/edit_dictionary_page.js:130: return !!(this.words_ && this.words_.length); On 2017/02/23 00:32:03, dpapad wrote: ...
3 years, 10 months ago (2017-02-23 01:00:20 UTC) #19
dpapad
LGTM https://codereview.chromium.org/2690263002/diff/160001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js File chrome/browser/resources/settings/languages_page/edit_dictionary_page.js (right): https://codereview.chromium.org/2690263002/diff/160001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js#newcode130 chrome/browser/resources/settings/languages_page/edit_dictionary_page.js:130: return !!this.words_.length; Optional (and arguable) nit: Avoid implicit ...
3 years, 10 months ago (2017-02-23 01:19:55 UTC) #20
scottchen
https://codereview.chromium.org/2690263002/diff/160001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js File chrome/browser/resources/settings/languages_page/edit_dictionary_page.js (right): https://codereview.chromium.org/2690263002/diff/160001/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js#newcode130 chrome/browser/resources/settings/languages_page/edit_dictionary_page.js:130: return !!this.words_.length; On 2017/02/23 01:19:54, dpapad wrote: > Optional ...
3 years, 10 months ago (2017-02-23 20:05:39 UTC) #21
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/2690263002/180001
3 years, 10 months ago (2017-02-23 20:06:40 UTC) #24
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 21:20:23 UTC) #27
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/08b33480b93950a0153c179f5336...

Powered by Google App Engine
This is Rietveld 408576698