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

Issue 2165903003: MD History: Show sidebar next to content on wide screens (Closed)

Created:
4 years, 5 months ago by tsergeant
Modified:
4 years, 4 months ago
Reviewers:
calamity, dpapad
CC:
arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, dbeam+watch-history_chromium.org, dbeam+watch-elements_chromium.org, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, michaelpg+watch-elements_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@history_fix_footer_link
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Show sidebar next to content on wide screens This ensures that the sidebar is always visible when the screen has enough space, and hides it within a drawer otherwise. To achieve this, we split <history-side-bar> apart so that it is no longer responsible for the drawer. We also add extra capabilities to <cr-toolbar> to support hiding the menu button and adjusting the margins. These changes break the focus trapping inside the drawer (which already didn't work in certain situations). This will be addressed in a follow-up. BUG=608968 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/5844d81e3382eaabda8f366eafb424050a47ec52 Cr-Commit-Position: refs/heads/master@{#408572}

Patch Set 1 #

Patch Set 2 : Do less and be lazy #

Patch Set 3 : Add test #

Total comments: 8

Patch Set 4 : calamity@ review #

Total comments: 2

Patch Set 5 : Rebase and fix #

Patch Set 6 : dpapad@ review #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -74 lines) Patch
M chrome/browser/resources/md_history/app.html View 1 4 chunks +42 lines, -4 lines 0 comments Download
M chrome/browser/resources/md_history/app.js View 1 2 8 chunks +27 lines, -9 lines 0 comments Download
M chrome/browser/resources/md_history/history.js View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/history_toolbar.html View 1 2 3 4 2 chunks +13 lines, -0 lines 1 comment Download
M chrome/browser/resources/md_history/history_toolbar.js View 1 2 2 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/side_bar.html View 1 4 chunks +27 lines, -45 lines 0 comments Download
M chrome/browser/resources/md_history/side_bar.js View 1 2 chunks +7 lines, -6 lines 0 comments Download
A chrome/test/data/webui/md_history/history_drawer_test.js View 1 2 3 4 5 1 chunk +37 lines, -0 lines 2 comments Download
M chrome/test/data/webui/md_history/history_grouped_list_test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/md_history/history_routing_test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/md_history/history_synced_tabs_test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/md_history/md_history_browsertest.js View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html View 1 2 3 4 5 4 chunks +9 lines, -4 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (23 generated)
tsergeant
4 years, 5 months ago (2016-07-25 03:51:44 UTC) #17
calamity
https://codereview.chromium.org/2165903003/diff/120001/chrome/browser/resources/md_history/app.html File chrome/browser/resources/md_history/app.html (right): https://codereview.chromium.org/2165903003/diff/120001/chrome/browser/resources/md_history/app.html#newcode51 chrome/browser/resources/md_history/app.html:51: border-bottom: 1px solid rgba(0, 0, 0, 0.08); Is this ...
4 years, 5 months ago (2016-07-26 05:05:18 UTC) #20
tsergeant
https://codereview.chromium.org/2165903003/diff/120001/chrome/browser/resources/md_history/app.html File chrome/browser/resources/md_history/app.html (right): https://codereview.chromium.org/2165903003/diff/120001/chrome/browser/resources/md_history/app.html#newcode51 chrome/browser/resources/md_history/app.html:51: border-bottom: 1px solid rgba(0, 0, 0, 0.08); On 2016/07/26 ...
4 years, 5 months ago (2016-07-26 05:59:04 UTC) #21
tsergeant
Ping, can you take another look at this please?
4 years, 4 months ago (2016-07-28 00:04:37 UTC) #22
calamity
lgtm
4 years, 4 months ago (2016-07-28 03:15:46 UTC) #23
tsergeant
+dpapad for cr_elements
4 years, 4 months ago (2016-07-28 03:31:55 UTC) #25
dpapad
I was not able to patch this CL locally due to conflits. Does it have ...
4 years, 4 months ago (2016-07-28 23:17:12 UTC) #26
tsergeant
There are no visible changes to settings. I've rebased, so you should be able to ...
4 years, 4 months ago (2016-07-29 01:39:52 UTC) #28
dpapad
LGTM with optional comment. https://codereview.chromium.org/2165903003/diff/200001/chrome/test/data/webui/md_history/history_drawer_test.js File chrome/test/data/webui/md_history/history_drawer_test.js (right): https://codereview.chromium.org/2165903003/diff/200001/chrome/test/data/webui/md_history/history_drawer_test.js#newcode17 chrome/test/data/webui/md_history/history_drawer_test.js:17: app.selectedPage_ = 'syncedTabs'; Accessing private ...
4 years, 4 months ago (2016-07-29 01:45:58 UTC) #29
tsergeant
https://codereview.chromium.org/2165903003/diff/200001/chrome/test/data/webui/md_history/history_drawer_test.js File chrome/test/data/webui/md_history/history_drawer_test.js (right): https://codereview.chromium.org/2165903003/diff/200001/chrome/test/data/webui/md_history/history_drawer_test.js#newcode17 chrome/test/data/webui/md_history/history_drawer_test.js:17: app.selectedPage_ = 'syncedTabs'; On 2016/07/29 01:45:58, dpapad wrote: > ...
4 years, 4 months ago (2016-07-29 02:47:54 UTC) #30
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/2165903003/200001
4 years, 4 months ago (2016-07-29 02:48:18 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:200001)
4 years, 4 months ago (2016-07-29 03:56:25 UTC) #34
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 03:58:16 UTC) #36
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5844d81e3382eaabda8f366eafb424050a47ec52
Cr-Commit-Position: refs/heads/master@{#408572}

Powered by Google App Engine
This is Rietveld 408576698