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

Issue 2590093002: MD History: Move queryState to be managed by history-router (Closed)

Created:
4 years ago by tsergeant
Modified:
3 years, 11 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, asanka, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, dbeam+watch-downloads_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Move querying logic to new <history-query-manager> element This moves most of the logic related to querying the history backend into a new element. This makes it simpler to manage updates to the query, and is the first step in allowing updates to grouped queries to be reflected to the page URL. BUG=675841 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2590093002 Cr-Commit-Position: refs/heads/master@{#445305} Committed: https://chromium.googlesource.com/chromium/src/+/91b05c8bdccd7ffc19047ab04e8a5790976eaebc

Patch Set 1 : Closure again #

Patch Set 2 : Pull out query into new element #

Patch Set 3 : Slightly more closure #

Patch Set 4 : Rebase? #

Patch Set 5 : Fix test #

Total comments: 8

Patch Set 6 : Review comments #

Patch Set 7 : Rebase #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -109 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/app.html View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/app.js View 1 2 3 4 5 6 2 chunks +3 lines, -24 lines 0 comments Download
M chrome/browser/resources/md_history/app.crisper.js View 1 2 3 4 5 6 7 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/resources/md_history/app.vulcanized.html View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/compiled_resources2.gyp View 1 2 3 4 5 6 7 2 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/history_list.js View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/list_container.js View 4 chunks +16 lines, -73 lines 0 comments Download
A chrome/browser/resources/md_history/query_manager.html View 1 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/query_manager.js View 1 2 3 4 5 1 chunk +117 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/router.js View 1 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/md_history_ui.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_history/history_list_test.js View 1 2 3 4 2 chunks +16 lines, -5 lines 0 comments Download

Messages

Total messages: 48 (41 generated)
tsergeant
Alright, here's part 1. What do you think? General plan is for 3 CLs: 1. ...
3 years, 11 months ago (2017-01-04 04:53:55 UTC) #11
tsergeant
As discussed, I've pulled the logic out into a new element. I agree that this ...
3 years, 11 months ago (2017-01-12 01:04:28 UTC) #18
calamity
https://codereview.chromium.org/2590093002/diff/180001/chrome/browser/resources/md_history/app.html File chrome/browser/resources/md_history/app.html (right): https://codereview.chromium.org/2590093002/diff/180001/chrome/browser/resources/md_history/app.html#newcode99 chrome/browser/resources/md_history/app.html:99: query-result="{{queryResult_}}"> This can be 1-way bound. https://codereview.chromium.org/2590093002/diff/180001/chrome/browser/resources/md_history/query_manager.js File chrome/browser/resources/md_history/query_manager.js ...
3 years, 11 months ago (2017-01-17 06:22:10 UTC) #29
tsergeant
https://codereview.chromium.org/2590093002/diff/180001/chrome/browser/resources/md_history/app.html File chrome/browser/resources/md_history/app.html (right): https://codereview.chromium.org/2590093002/diff/180001/chrome/browser/resources/md_history/app.html#newcode99 chrome/browser/resources/md_history/app.html:99: query-result="{{queryResult_}}"> On 2017/01/17 06:22:10, calamity wrote: > This can ...
3 years, 11 months ago (2017-01-18 03:36:01 UTC) #39
calamity
lgtm.
3 years, 11 months ago (2017-01-18 06:21:13 UTC) #42
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/2590093002/260001
3 years, 11 months ago (2017-01-22 23:24:14 UTC) #45
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 00:27:44 UTC) #48
Message was sent while issue was closed.
Committed patchset #8 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/91b05c8bdccd7ffc19047ab04e8a...

Powered by Google App Engine
This is Rietveld 408576698