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

Issue 2020963002: MD History: Add responsive layout which hides the sidebar in thin windows (Closed)

Created:
4 years, 6 months ago by tsergeant
Modified:
4 years, 5 months ago
Reviewers:
calamity, Dan Beam, dpapad
CC:
arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, dbeam+watch-polymer_chromium.org, dbeam+watch-elements_chromium.org, dbeam+watch-history_chromium.org, dbeam+watch-settings_chromium.org, Patrick Dubroy, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-elements_chromium.org, michaelpg+watch-md-ui_chromium.org, michaelpg+watch-polymer_chromium.org, oshima+watch_chromium.org, pam+watch_chromium.org, stevenjb+watch-md-settings_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: Hide sidebar behind toolbar menu button This hides the sidebar and displays a menu button in the toolbar which opens it in an overlay drawer on the left side of the screen. Also updates the sidebar menu to have better tab focusing behavior. This causes the search field in the toolbar to appear slightly off-center, this will be fixed in a follow-up patch. BUG=608968, 620030 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/105cabbb6d80245ba69e9097013594a03069f8cc Cr-Commit-Position: refs/heads/master@{#403098}

Patch Set 1 #

Patch Set 2 : Fix narrow overlay #

Patch Set 3 : Hide sidebar by default. Toolbar isn't centered correctly #

Patch Set 4 : Fix search field positioning #

Patch Set 5 : Cleanup and closure #

Total comments: 10

Patch Set 6 : Remove ripple, fix right-side padding #

Total comments: 2

Patch Set 7 : Reparent #

Patch Set 8 : calamity@ review comments #

Patch Set 9 : Split apart patches #

Total comments: 8

Patch Set 10 : Fix review comments and RTL #

Total comments: 4

Patch Set 11 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -54 lines) Patch
M chrome/browser/resources/md_history/app.html View 1 2 3 4 5 6 7 8 4 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/resources/md_history/app.js View 1 2 3 4 5 6 7 8 9 4 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/history_toolbar.html View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/resources/md_history/shared_style.html View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/side_bar.html View 1 2 3 4 5 6 7 8 9 10 3 chunks +39 lines, -20 lines 0 comments Download
M chrome/browser/resources/md_history/side_bar.js View 1 2 3 4 5 6 7 1 chunk +18 lines, -9 lines 0 comments Download
M chrome/browser/resources/settings/icons.html View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.html View 1 2 3 4 5 6 7 8 9 10 3 chunks +2 lines, -7 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html View 1 2 3 4 5 6 7 8 9 10 3 chunks +14 lines, -3 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/icons.html View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 42 (19 generated)
tsergeant
+calamity@ for initial review
4 years, 6 months ago (2016-05-30 07:28:58 UTC) #3
tsergeant
On 2016/05/30 07:28:58, tsergeant wrote: > +calamity@ for initial review Update: I'm revoking my PTAL ...
4 years, 6 months ago (2016-05-31 07:27:48 UTC) #4
tsergeant
On 2016/05/31 07:27:48, tsergeant wrote: > On 2016/05/30 07:28:58, tsergeant wrote: > > +calamity@ for ...
4 years, 6 months ago (2016-06-08 07:53:35 UTC) #5
tsergeant
calamity@: Alright, have at it.
4 years, 6 months ago (2016-06-15 07:26:57 UTC) #11
calamity
https://codereview.chromium.org/2020963002/diff/120001/chrome/browser/resources/md_history/compiled_resources2.gyp File chrome/browser/resources/md_history/compiled_resources2.gyp (right): https://codereview.chromium.org/2020963002/diff/120001/chrome/browser/resources/md_history/compiled_resources2.gyp#newcode93 chrome/browser/resources/md_history/compiled_resources2.gyp:93: '<(DEPTH)/third_party/polymer/v1_0/components-chromium/app-layout/app-drawer/compiled_resources2.gyp:app-drawer-extracted', nit: sorting. https://codereview.chromium.org/2020963002/diff/120001/chrome/browser/resources/md_history/history.html File chrome/browser/resources/md_history/history.html (right): https://codereview.chromium.org/2020963002/diff/120001/chrome/browser/resources/md_history/history.html#newcode41 chrome/browser/resources/md_history/history.html:41: ...
4 years, 6 months ago (2016-06-17 03:02:01 UTC) #12
tsergeant
https://codereview.chromium.org/2020963002/diff/120001/chrome/browser/resources/md_history/compiled_resources2.gyp File chrome/browser/resources/md_history/compiled_resources2.gyp (right): https://codereview.chromium.org/2020963002/diff/120001/chrome/browser/resources/md_history/compiled_resources2.gyp#newcode93 chrome/browser/resources/md_history/compiled_resources2.gyp:93: '<(DEPTH)/third_party/polymer/v1_0/components-chromium/app-layout/app-drawer/compiled_resources2.gyp:app-drawer-extracted', On 2016/06/17 03:02:00, calamity wrote: > nit: sorting. ...
4 years, 6 months ago (2016-06-20 05:05:57 UTC) #14
tsergeant
calamity@: Can you please take another look? As discussed, I've decided to split apart the ...
4 years, 6 months ago (2016-06-23 04:04:19 UTC) #17
calamity
lgtm
4 years, 6 months ago (2016-06-24 04:11:51 UTC) #18
tsergeant
+dpapad@ for settings and cr_elements
4 years, 6 months ago (2016-06-24 04:41:32 UTC) #20
Dan Beam
are you sure we want to hide the drawer/sidenav by default? tbuckley@ wasn't so sure ...
4 years, 6 months ago (2016-06-25 00:55:21 UTC) #22
dpapad
https://codereview.chromium.org/2020963002/diff/240001/chrome/browser/resources/md_history/app.js File chrome/browser/resources/md_history/app.js (right): https://codereview.chromium.org/2020963002/diff/240001/chrome/browser/resources/md_history/app.js#newcode83 chrome/browser/resources/md_history/app.js:83: onMenuTap_: function() { @private https://codereview.chromium.org/2020963002/diff/240001/chrome/browser/resources/md_history/app.js#newcode101 chrome/browser/resources/md_history/app.js:101: unselectAll: function() { ...
4 years, 6 months ago (2016-06-25 01:24:44 UTC) #23
tsergeant
On 2016/06/25 00:55:21, Dan Beam wrote: > are you sure we want to hide the ...
4 years, 5 months ago (2016-06-27 04:57:39 UTC) #24
tsergeant
https://codereview.chromium.org/2020963002/diff/240001/chrome/browser/resources/md_history/app.js File chrome/browser/resources/md_history/app.js (right): https://codereview.chromium.org/2020963002/diff/240001/chrome/browser/resources/md_history/app.js#newcode83 chrome/browser/resources/md_history/app.js:83: onMenuTap_: function() { On 2016/06/25 01:24:44, dpapad wrote: > ...
4 years, 5 months ago (2016-06-27 04:57:49 UTC) #25
Dan Beam
On 2016/06/27 04:57:39, tsergeant wrote: > On 2016/06/25 00:55:21, Dan Beam wrote: > > are ...
4 years, 5 months ago (2016-06-27 19:23:37 UTC) #26
dpapad
LGTM code-wise. Regarding of what Alan actually wants for the toolbar/sidebar behavior, I don't have ...
4 years, 5 months ago (2016-06-27 22:32:19 UTC) #27
tsergeant
> > > > I think it's best to land this now and we can ...
4 years, 5 months ago (2016-06-30 04:55:00 UTC) #28
tsergeant
https://codereview.chromium.org/2020963002/diff/260001/chrome/browser/resources/settings/settings_ui/settings_ui.html File chrome/browser/resources/settings/settings_ui/settings_ui.html (right): https://codereview.chromium.org/2020963002/diff/260001/chrome/browser/resources/settings/settings_ui/settings_ui.html#newcode8 chrome/browser/resources/settings/settings_ui/settings_ui.html:8: <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html"> On 2016/06/27 22:32:19, dpapad wrote: > ...
4 years, 5 months ago (2016-06-30 05:09:06 UTC) #31
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/2020963002/320001
4 years, 5 months ago (2016-06-30 05:09:39 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/194585)
4 years, 5 months ago (2016-06-30 05:51:28 UTC) #36
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/2020963002/320001
4 years, 5 months ago (2016-06-30 05:55:39 UTC) #38
commit-bot: I haz the power
Committed patchset #11 (id:320001)
4 years, 5 months ago (2016-06-30 06:15:55 UTC) #39
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 06:16:05 UTC) #40
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 06:18:43 UTC) #42
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/105cabbb6d80245ba69e9097013594a03069f8cc
Cr-Commit-Position: refs/heads/master@{#403098}

Powered by Google App Engine
This is Rietveld 408576698