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

Issue 2170713002: Use dom-repeat for addresses, credit cards, and exceptions. (Closed)

Created:
4 years, 5 months ago by hcarmona
Modified:
4 years, 4 months ago
Reviewers:
michaelpg
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use dom-repeat for addresses, credit cards, and exceptions. Dom-repeat doesn't have the same refresh issues as iron-list. The lists of addresses, saved credit cards, and password exceptions aren't expected to be too large so there's not a big gain from using iron-list over dom-repeat for them. BUG=600812 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/81ab2a7d8e8fbd3fb174522f7df331f0077c3b27 Cr-Commit-Position: refs/heads/master@{#407931}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comment Rebase #

Patch Set 3 : Fix tests #

Total comments: 4

Patch Set 4 : Verify Template is a Template #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -47 lines) Patch
M chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html View 1 5 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js View 1 2 1 chunk +4 lines, -8 lines 0 comments Download
M chrome/test/data/webui/settings/settings_autofill_section_browsertest.js View 6 chunks +3 lines, -16 lines 0 comments Download
M chrome/test/data/webui/settings/settings_passwords_section_browsertest.js View 1 2 3 7 chunks +18 lines, -11 lines 0 comments Download

Messages

Total messages: 29 (21 generated)
hcarmona
Several stand-ups ago you mentioned switching these lists to dom-repeat instead of iron-list. Passwords is ...
4 years, 5 months ago (2016-07-21 01:08:48 UTC) #5
michaelpg
lgtm, but, will this slow force-rendering for search? ideally it shouldn't, since we don't need ...
4 years, 5 months ago (2016-07-21 03:56:13 UTC) #8
hcarmona
PTAL at the filtering change for password exceptions. Nothing else major required to fix tests. ...
4 years, 4 months ago (2016-07-26 18:28:48 UTC) #17
michaelpg
lgtm https://codereview.chromium.org/2170713002/diff/40001/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js File chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js (right): https://codereview.chromium.org/2170713002/diff/40001/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js#newcode122 chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js:122: return exception.exceptionUrl.includes(filter); Yikes. Congrats on being our resident ...
4 years, 4 months ago (2016-07-26 20:28:39 UTC) #18
hcarmona
Added template check, committing. :-) https://codereview.chromium.org/2170713002/diff/40001/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js File chrome/test/data/webui/settings/settings_passwords_section_browsertest.js (right): https://codereview.chromium.org/2170713002/diff/40001/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js#newcode94 chrome/test/data/webui/settings/settings_passwords_section_browsertest.js:94: return Array.prototype.slice.call(element.children, 0, -1); ...
4 years, 4 months ago (2016-07-26 22:08:15 UTC) #23
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/2170713002/60001
4 years, 4 months ago (2016-07-26 22:08:52 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-26 22:15:18 UTC) #27
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 22:19:27 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/81ab2a7d8e8fbd3fb174522f7df331f0077c3b27
Cr-Commit-Position: refs/heads/master@{#407931}

Powered by Google App Engine
This is Rietveld 408576698