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

Issue 2745593004: [MD Bookmarks] Add draggable sidebar. (Closed)

Created:
3 years, 9 months ago by calamity
Modified:
3 years, 9 months ago
Reviewers:
tsergeant, Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD Bookmarks] Add draggable sidebar. This CL adds a draggable splitter which resizes the sidebar. This CL also repositions the search bar to stay aligned with the main card and moves the arrows to the left of the folders in the sidebar to allow for a reasonable overflow behavior. BUG=658980 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2745593004 Cr-Commit-Position: refs/heads/master@{#457648} Committed: https://chromium.googlesource.com/chromium/src/+/d1a323946c7ff485c73662eebc30d5f02a070576

Patch Set 1 : #

Total comments: 10

Patch Set 2 : rebase, comments #

Total comments: 12

Patch Set 3 : address comments, add window resize handler #

Total comments: 6

Patch Set 4 : address comments #

Patch Set 5 : closure #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -32 lines) Patch
M chrome/browser/resources/md_bookmarks/app.html View 1 2 3 3 chunks +17 lines, -4 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/app.js View 1 2 3 4 5 2 chunks +45 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/compiled_resources2.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/folder_node.html View 1 2 3 4 chunks +32 lines, -12 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/folder_node.js View 1 2 3 4 5 3 chunks +4 lines, -10 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/list.html View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/shared_vars.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/sidebar.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/md_bookmarks/toolbar.html View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/md_bookmarks/toolbar.js View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
A ui/webui/resources/html/cr/ui/splitter.html View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/webui/resources/js/cr/ui/compiled_resources2.gyp View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M ui/webui/resources/webui_resources.grd View 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 32 (18 generated)
calamity
This supports most of what Alan wants except for the max width = longest string ...
3 years, 9 months ago (2017-03-10 05:34:07 UTC) #4
tsergeant
I can't patch this in locally (merge conflicts, plus a missing file), so I haven't ...
3 years, 9 months ago (2017-03-13 02:46:33 UTC) #5
calamity
https://codereview.chromium.org/2745593004/diff/20001/chrome/browser/resources/md_bookmarks/app.js File chrome/browser/resources/md_bookmarks/app.js (right): https://codereview.chromium.org/2745593004/diff/20001/chrome/browser/resources/md_bookmarks/app.js#newcode13 chrome/browser/resources/md_bookmarks/app.js:13: hideSplitter_: Boolean, On 2017/03/13 02:46:33, tsergeant wrote: > Nit: ...
3 years, 9 months ago (2017-03-13 07:04:50 UTC) #6
tsergeant
I'm not too keen on how it looks when you scroll the list overflow right ...
3 years, 9 months ago (2017-03-14 03:38:51 UTC) #7
calamity
Changed layout as discussed. Also shuffled around some min-width stuff to make things reasonable. The ...
3 years, 9 months ago (2017-03-14 07:07:55 UTC) #8
tsergeant
A couple more comments about design: * This works fine when you've got enough folders ...
3 years, 9 months ago (2017-03-15 00:07:52 UTC) #9
calamity
Fixed the small search problem. It now has the same scrolling characteristics as history wrt ...
3 years, 9 months ago (2017-03-15 00:48:19 UTC) #10
tsergeant
lgtm
3 years, 9 months ago (2017-03-15 01:59:43 UTC) #11
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/2745593004/80001
3 years, 9 months ago (2017-03-15 02:42:30 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/170576) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 9 months ago (2017-03-15 02:45:33 UTC) #15
calamity
+dbeam for ui/webui/resources OWNERS.
3 years, 9 months ago (2017-03-15 05:49:44 UTC) #17
Dan Beam
lgtm
3 years, 9 months ago (2017-03-15 18:12:30 UTC) #18
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/2745593004/120001
3 years, 9 months ago (2017-03-17 00:28:06 UTC) #29
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 01:33:21 UTC) #32
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/d1a323946c7ff485c73662eebc30...

Powered by Google App Engine
This is Rietveld 408576698