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

Issue 1993613002: [MD History] Implement grouped history UI. (Closed)

Created:
4 years, 7 months ago by calamity
Modified:
4 years, 6 months ago
Reviewers:
tsergeant
CC:
chromium-reviews, jlklein+watch-closure_chromium.org, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@privatize
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD History] Implement grouped history UI. This CL implements a history view that groups history by domain which can be enabled by enabling the 'Group history by domain' flag. A history-grouped-list element has been added which switches out with the history-list if grouped mode is active. BUG=589357 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/613e58421d526c12935096fe282ce4b278857d85 Cr-Commit-Position: refs/heads/master@{#396069}

Patch Set 1 #

Total comments: 22

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : address comments, fix tests #

Patch Set 5 : add todo #

Total comments: 8

Patch Set 6 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+754 lines, -195 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/app.html View 1 3 chunks +19 lines, -7 lines 0 comments Download
M chrome/browser/resources/md_history/app.js View 1 2 3 4 9 chunks +82 lines, -15 lines 0 comments Download
M chrome/browser/resources/md_history/compiled_resources2.gyp View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/constants.js View 1 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/grouped_list.html View 1 2 3 4 5 1 chunk +114 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/grouped_list.js View 1 2 3 4 5 1 chunk +176 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/history_item.html View 1 2 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/resources/md_history/history_item.js View 1 chunk +117 lines, -113 lines 0 comments Download
M chrome/browser/resources/md_history/history_list.html View 1 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/history_list.js View 1 3 chunks +3 lines, -32 lines 0 comments Download
M chrome/browser/resources/md_history/history_toolbar.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/history_toolbar.js View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/shared_style.html View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/synced_device_card.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/md_history_ui.cc View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/test/data/webui/md_history/history_grouped_list_test.js View 1 2 3 4 5 1 chunk +150 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_history/history_list_test.js View 1 2 3 7 chunks +13 lines, -11 lines 0 comments Download
M chrome/test/data/webui/md_history/history_supervised_user_test.js View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/test/data/webui/md_history/history_toolbar_test.js View 1 2 3 4 5 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/test/data/webui/md_history/md_history_browsertest.js View 1 2 3 4 5 3 chunks +9 lines, -1 line 0 comments Download
M chrome/test/data/webui/md_history/test_util.js View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
calamity
4 years, 7 months ago (2016-05-18 07:36:38 UTC) #3
tsergeant
Two high-level comments: 1) Have you considered pulling out a behavior from history-list? Seems like ...
4 years, 7 months ago (2016-05-19 05:38:18 UTC) #4
calamity
1.) I'm not sure what are good candidates for pulling out. I think selection, deletion ...
4 years, 7 months ago (2016-05-20 06:51:58 UTC) #6
tsergeant
1) For the moment, noResultsMessage_ and hasResults are the only things that are natural to ...
4 years, 7 months ago (2016-05-23 01:21:11 UTC) #7
calamity
1) Agreed. Said behavior is on my radar. 2) Ack. 3) I have a good ...
4 years, 7 months ago (2016-05-24 07:08:16 UTC) #9
tsergeant
https://codereview.chromium.org/1993613002/diff/120001/chrome/browser/resources/md_history/grouped_list.js File chrome/browser/resources/md_history/grouped_list.js (right): https://codereview.chromium.org/1993613002/diff/120001/chrome/browser/resources/md_history/grouped_list.js#newcode159 chrome/browser/resources/md_history/grouped_list.js:159: hasResults: function(historyDataLength) { Nit: The next 3 methods can ...
4 years, 7 months ago (2016-05-25 05:06:56 UTC) #10
calamity
https://codereview.chromium.org/1993613002/diff/120001/chrome/browser/resources/md_history/grouped_list.js File chrome/browser/resources/md_history/grouped_list.js (right): https://codereview.chromium.org/1993613002/diff/120001/chrome/browser/resources/md_history/grouped_list.js#newcode159 chrome/browser/resources/md_history/grouped_list.js:159: hasResults: function(historyDataLength) { On 2016/05/25 05:06:55, tsergeant wrote: > ...
4 years, 7 months ago (2016-05-25 05:51:41 UTC) #11
tsergeant
lgtm
4 years, 7 months ago (2016-05-25 06:56:17 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1993613002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1993613002/140001
4 years, 6 months ago (2016-05-26 00:55:08 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 6 months ago (2016-05-26 01:10:35 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-05-26 01:12:52 UTC) #17
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/613e58421d526c12935096fe282ce4b278857d85
Cr-Commit-Position: refs/heads/master@{#396069}

Powered by Google App Engine
This is Rietveld 408576698