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

Issue 2526893002: [MD Extensions] Update subpages when the backing extension data changes (Closed)

Created:
4 years ago by Devlin
Modified:
4 years ago
Reviewers:
michaelpg
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD Extensions] Update subpages when the backing extension data changes Many subpages show some form of details for a given extension. When the backing data changes, those changes need to be reflected in the open subpage. Right now, since the data is just set to the plain JS object, it's not notified when a change occurs. Add a subpageItem_ property to extensions page manager so that we can leverage polymer databinding and link this to the subpages. This way, if the backing data changes, the open subpage is updated. Add a test for the same. BUG=529395 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/6635f232a429cdca2c58a3bc5a30bea89f162793 Cr-Commit-Position: refs/heads/master@{#434856}

Patch Set 1 #

Patch Set 2 : woot #

Total comments: 2

Patch Set 3 : Michael's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -4 lines) Patch
M chrome/browser/resources/md_extensions/manager.html View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_extensions/manager.js View 1 4 chunks +36 lines, -2 lines 0 comments Download
M chrome/test/data/webui/extensions/cr_extensions_browsertest.js View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/test/data/webui/extensions/extension_manager_test.js View 1 2 2 chunks +42 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
Devlin
Michael, mind taking a look?
4 years ago (2016-11-23 19:56:53 UTC) #7
michaelpg
lgtm https://codereview.chromium.org/2526893002/diff/20001/chrome/test/data/webui/extensions/extension_manager_test.js File chrome/test/data/webui/extensions/extension_manager_test.js (right): https://codereview.chromium.org/2526893002/diff/20001/chrome/test/data/webui/extensions/extension_manager_test.js#newcode186 chrome/test/data/webui/extensions/extension_manager_test.js:186: detailsView.$$('.section .section-content').textContent.trim()); optional: add a different extension item, ...
4 years ago (2016-11-28 23:00:54 UTC) #8
Devlin
https://codereview.chromium.org/2526893002/diff/20001/chrome/test/data/webui/extensions/extension_manager_test.js File chrome/test/data/webui/extensions/extension_manager_test.js (right): https://codereview.chromium.org/2526893002/diff/20001/chrome/test/data/webui/extensions/extension_manager_test.js#newcode186 chrome/test/data/webui/extensions/extension_manager_test.js:186: detailsView.$$('.section .section-content').textContent.trim()); On 2016/11/28 23:00:54, michaelpg wrote: > optional: ...
4 years ago (2016-11-29 02:14:40 UTC) #11
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/2526893002/40001
4 years ago (2016-11-29 02:15:45 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-29 03:04:31 UTC) #17
commit-bot: I haz the power
4 years ago (2016-11-29 03:08:10 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6635f232a429cdca2c58a3bc5a30bea89f162793
Cr-Commit-Position: refs/heads/master@{#434856}

Powered by Google App Engine
This is Rietveld 408576698