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

Issue 1574063003: MD History: Add basic material design history cards and history items (Closed)

Created:
4 years, 11 months ago by yingran
Modified:
4 years, 10 months ago
CC:
chromium-reviews, Patrick Dubroy, pam+watch_chromium.org, arv+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, jlklein+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Add basic material design history cards and history items This is the first of two patches for the start of MD History. This patch includes elements for individual items and grouped items. A followup patch will hook these elements into the page. BUG=425625 Committed: https://crrev.com/bd322a00b660027df64b4e7cb2452e1daeeb334a Cr-Commit-Position: refs/heads/master@{#372589} Committed: https://crrev.com/94ef8fb7c4744b37b34f3d04045f65ab888afdc7 Cr-Commit-Position: refs/heads/master@{#372606}

Patch Set 1 #

Total comments: 66

Patch Set 2 : Addressed reviewer's comments #

Patch Set 3 : Closure compile fixes #

Patch Set 4 : Replaced with correct file names and links #

Total comments: 14

Patch Set 5 : Addressed reviewer's comments & changed default values of history result #

Total comments: 38

Patch Set 6 : Addressed reviewer's comments #

Total comments: 12

Patch Set 7 : Addressed reviewer's comments #

Total comments: 6

Patch Set 8 : removed 1 line #

Total comments: 6

Patch Set 9 : Addressed reviewer's comments #

Patch Set 10 : Color changes #

Patch Set 11 : PLS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+641 lines, -52 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/history/compiled_resources.gyp View 1 chunk +4 lines, -1 line 0 comments Download
A chrome/browser/resources/history/externs.js View 1 2 3 4 5 9 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/browser/resources/history/history.js View 1 2 3 4 5 2 chunks +5 lines, -38 lines 0 comments Download
A chrome/browser/resources/md_history/compiled_resources.gyp View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/history_card.html View 1 2 3 4 5 6 1 chunk +68 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/history_card.js View 1 2 3 4 5 6 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/history_card_manager.html View 1 2 3 1 chunk +61 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/history_card_manager.js View 1 2 3 4 5 6 1 chunk +165 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/history_item.html View 1 2 3 4 5 6 7 8 9 1 chunk +99 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/history_item.js View 1 2 3 4 5 6 1 chunk +94 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/browsing_history_handler.cc View 1 2 3 4 5 6 5 chunks +24 lines, -11 lines 0 comments Download
M ui/webui/resources/js/cr/ui/position_util.js View 1 2 3 4 5 6 7 8 10 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 52 (17 generated)
yingran
Please take a look
4 years, 11 months ago (2016-01-13 01:46:19 UTC) #3
Dan Beam
let's start with this https://codereview.chromium.org/1574063003/diff/1/chrome/browser/resources/md_history/compiled_resources.gyp File chrome/browser/resources/md_history/compiled_resources.gyp (right): https://codereview.chromium.org/1574063003/diff/1/chrome/browser/resources/md_history/compiled_resources.gyp#newcode21 chrome/browser/resources/md_history/compiled_resources.gyp:21: 'history-card-manager.js', these should be underscores ...
4 years, 11 months ago (2016-01-16 02:54:36 UTC) #5
yingran
https://codereview.chromium.org/1574063003/diff/1/chrome/browser/resources/md_history/compiled_resources.gyp File chrome/browser/resources/md_history/compiled_resources.gyp (right): https://codereview.chromium.org/1574063003/diff/1/chrome/browser/resources/md_history/compiled_resources.gyp#newcode21 chrome/browser/resources/md_history/compiled_resources.gyp:21: 'history-card-manager.js', On 2016/01/16 02:54:35, Dan Beam wrote: > these ...
4 years, 11 months ago (2016-01-18 05:40:30 UTC) #7
yingran
Ping dbeam. Could you please take another look?
4 years, 11 months ago (2016-01-21 23:26:59 UTC) #8
Dan Beam
On 2016/01/21 23:26:59, yingran wrote: > Ping dbeam. Could you please take another look? I ...
4 years, 11 months ago (2016-01-23 01:21:00 UTC) #9
tsergeant
https://codereview.chromium.org/1574063003/diff/80001/chrome/browser/resources/md_history/history_card.html File chrome/browser/resources/md_history/history_card.html (right): https://codereview.chromium.org/1574063003/diff/80001/chrome/browser/resources/md_history/history_card.html#newcode3 chrome/browser/resources/md_history/history_card.html:3: <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.html"> Nit: Move this up above paper-styles ...
4 years, 11 months ago (2016-01-25 00:12:43 UTC) #10
tsergeant
On 2016/01/23 01:21:00, Dan Beam wrote: > On 2016/01/21 23:26:59, yingran wrote: > > Ping ...
4 years, 11 months ago (2016-01-25 00:18:49 UTC) #11
Dan Beam
https://codereview.chromium.org/1574063003/diff/1/chrome/browser/resources/md_history/history-card-manager.js File chrome/browser/resources/md_history/history-card-manager.js (right): https://codereview.chromium.org/1574063003/diff/1/chrome/browser/resources/md_history/history-card-manager.js#newcode138 chrome/browser/resources/md_history/history-card-manager.js:138: // pass by reference implementation. On 2016/01/18 05:40:28, yingran ...
4 years, 11 months ago (2016-01-26 23:07:39 UTC) #12
yingran
https://codereview.chromium.org/1574063003/diff/80001/chrome/browser/resources/history/externs.js File chrome/browser/resources/history/externs.js (right): https://codereview.chromium.org/1574063003/diff/80001/chrome/browser/resources/history/externs.js#newcode23 chrome/browser/resources/history/externs.js:23: * snippet: (string|undefined), On 2016/01/26 23:07:39, Dan Beam wrote: ...
4 years, 11 months ago (2016-01-27 00:30:35 UTC) #14
Dan Beam
https://codereview.chromium.org/1574063003/diff/120001/chrome/browser/resources/history/externs.js File chrome/browser/resources/history/externs.js (right): https://codereview.chromium.org/1574063003/diff/120001/chrome/browser/resources/history/externs.js#newcode36 chrome/browser/resources/history/externs.js:36: * hasSyncedResults: (boolean|undefined), this is now only boolean, right? ...
4 years, 11 months ago (2016-01-27 03:07:31 UTC) #15
yingran
https://codereview.chromium.org/1574063003/diff/1/chrome/browser/resources/md_history/history-card-manager.js File chrome/browser/resources/md_history/history-card-manager.js (right): https://codereview.chromium.org/1574063003/diff/1/chrome/browser/resources/md_history/history-card-manager.js#newcode138 chrome/browser/resources/md_history/history-card-manager.js:138: // pass by reference implementation. On 2016/01/26 23:07:39, Dan ...
4 years, 11 months ago (2016-01-27 05:05:04 UTC) #16
Dan Beam
looking pretty gooood https://codereview.chromium.org/1574063003/diff/120001/chrome/browser/resources/md_history/history_card.js File chrome/browser/resources/md_history/history_card.js (right): https://codereview.chromium.org/1574063003/diff/120001/chrome/browser/resources/md_history/history_card.js#newcode13 chrome/browser/resources/md_history/history_card.js:13: }, On 2016/01/27 05:05:03, yingran wrote: ...
4 years, 11 months ago (2016-01-27 18:20:07 UTC) #17
yingran
https://codereview.chromium.org/1574063003/diff/120001/chrome/browser/resources/md_history/history_card.js File chrome/browser/resources/md_history/history_card.js (right): https://codereview.chromium.org/1574063003/diff/120001/chrome/browser/resources/md_history/history_card.js#newcode13 chrome/browser/resources/md_history/history_card.js:13: }, On 2016/01/27 18:20:07, Dan Beam wrote: > On ...
4 years, 11 months ago (2016-01-28 00:51:01 UTC) #18
Dan Beam
can you `git add chrome/browser/resources/md_history/history.js` or remove this file from browser_resources.grd? https://codereview.chromium.org/1574063003/diff/160001/chrome/browser/resources/md_history/compiled_resources.gyp File chrome/browser/resources/md_history/compiled_resources.gyp (right): ...
4 years, 11 months ago (2016-01-28 01:11:20 UTC) #19
Dan Beam
also, will any of the files you're adding be utilized if this CL were to ...
4 years, 11 months ago (2016-01-28 01:13:48 UTC) #20
Dan Beam
https://codereview.chromium.org/1574063003/diff/120001/chrome/browser/resources/md_history/history_item.html File chrome/browser/resources/md_history/history_item.html (right): https://codereview.chromium.org/1574063003/diff/120001/chrome/browser/resources/md_history/history_item.html#newcode67 chrome/browser/resources/md_history/history_item.html:67: min-width: 36px; On 2016/01/28 00:51:00, yingran wrote: > On ...
4 years, 11 months ago (2016-01-28 01:25:24 UTC) #21
tsergeant
If you patch this CL, and then patch the follow-up CL (https://codereview.chromium.org/1572383006/) on top of ...
4 years, 11 months ago (2016-01-28 02:27:55 UTC) #22
Dan Beam
for chrome/browser/resources/history and ui/webui https://codereview.chromium.org/1574063003/diff/160001/chrome/browser/resources/md_history/compiled_resources.gyp File chrome/browser/resources/md_history/compiled_resources.gyp (right): https://codereview.chromium.org/1574063003/diff/160001/chrome/browser/resources/md_history/compiled_resources.gyp#newcode10 chrome/browser/resources/md_history/compiled_resources.gyp:10: # ninja -C out_closure/Default On ...
4 years, 10 months ago (2016-01-28 20:35:18 UTC) #23
tsergeant
https://codereview.chromium.org/1574063003/diff/160001/chrome/browser/resources/md_history/compiled_resources.gyp File chrome/browser/resources/md_history/compiled_resources.gyp (right): https://codereview.chromium.org/1574063003/diff/160001/chrome/browser/resources/md_history/compiled_resources.gyp#newcode10 chrome/browser/resources/md_history/compiled_resources.gyp:10: # ninja -C out_closure/Default On 2016/01/28 20:35:18, Dan Beam ...
4 years, 10 months ago (2016-01-29 02:40:28 UTC) #24
tsergeant
One more thing to fix https://codereview.chromium.org/1574063003/diff/160001/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/1574063003/diff/160001/chrome/browser/browser_resources.grd#newcode212 chrome/browser/browser_resources.grd:212: <include name="IDR_MD_HISTORY_HISTORY_JS" file="resources\md_history\history.js" type="BINDATA" ...
4 years, 10 months ago (2016-01-29 02:52:16 UTC) #25
tsergeant
A couple more things (almost there!) https://codereview.chromium.org/1574063003/diff/180001/chrome/browser/resources/history/externs.js File chrome/browser/resources/history/externs.js (right): https://codereview.chromium.org/1574063003/diff/180001/chrome/browser/resources/history/externs.js#newcode12 chrome/browser/resources/history/externs.js:12: * chrome/browser/ui/webui/history_ui.cc: While ...
4 years, 10 months ago (2016-01-29 03:27:19 UTC) #26
yingran
https://codereview.chromium.org/1574063003/diff/160001/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/1574063003/diff/160001/chrome/browser/browser_resources.grd#newcode212 chrome/browser/browser_resources.grd:212: <include name="IDR_MD_HISTORY_HISTORY_JS" file="resources\md_history\history.js" type="BINDATA" /> On 2016/01/29 02:52:16, tsergeant ...
4 years, 10 months ago (2016-01-29 04:17:52 UTC) #27
yingran
4 years, 10 months ago (2016-01-29 04:17:54 UTC) #28
tsergeant
lgtm!
4 years, 10 months ago (2016-01-29 04:22:24 UTC) #29
Dan Beam
lgtm without running on closure bots for now
4 years, 10 months ago (2016-01-30 00:45:55 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1574063003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1574063003/200001
4 years, 10 months ago (2016-01-31 22:32:50 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/140893)
4 years, 10 months ago (2016-01-31 22:41:23 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1574063003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1574063003/220001
4 years, 10 months ago (2016-02-01 01:58:16 UTC) #37
commit-bot: I haz the power
Committed patchset #10 (id:220001)
4 years, 10 months ago (2016-02-01 03:03:55 UTC) #39
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/bd322a00b660027df64b4e7cb2452e1daeeb334a Cr-Commit-Position: refs/heads/master@{#372589}
4 years, 10 months ago (2016-02-01 03:04:49 UTC) #41
calamity
A revert of this CL (patchset #11 id:240001) has been created in https://codereview.chromium.org/1654703002/ by calamity@chromium.org. ...
4 years, 10 months ago (2016-02-01 03:34:15 UTC) #42
calamity
A revert of this CL (patchset #10 id:220001) has been created in https://codereview.chromium.org/1650993002/ by calamity@chromium.org. ...
4 years, 10 months ago (2016-02-01 03:38:52 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1574063003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1574063003/260001
4 years, 10 months ago (2016-02-01 03:43:52 UTC) #48
commit-bot: I haz the power
Committed patchset #11 (id:260001)
4 years, 10 months ago (2016-02-01 04:55:45 UTC) #50
commit-bot: I haz the power
4 years, 10 months ago (2016-02-01 04:56:48 UTC) #52
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/94ef8fb7c4744b37b34f3d04045f65ab888afdc7
Cr-Commit-Position: refs/heads/master@{#372606}

Powered by Google App Engine
This is Rietveld 408576698