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

Issue 2666033002: [MD Bookmarks] Add edit folder. (Closed)

Created:
3 years, 10 months ago by angelayang
Modified:
3 years, 10 months ago
Reviewers:
tsergeant, calamity, jiaxi
CC:
chromium-reviews, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD Bookmarks] Add edit folder. BUG=658980 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2666033002 Cr-Commit-Position: refs/heads/master@{#448556} Committed: https://chromium.googlesource.com/chromium/src/+/1dc1289009fc9dab98f5f840ff342ecaa1238c98

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix folder title. #

Total comments: 4

Patch Set 3 : Add menu for folder items. #

Total comments: 4

Patch Set 4 : Fix styling. #

Total comments: 1

Patch Set 5 : Sort string resource. #

Total comments: 2

Patch Set 6 : Remove extra property and add test. #

Total comments: 2

Patch Set 7 : Add unit test for onSaveEditTap_ #

Total comments: 2

Patch Set 8 : Test with mockinteractions in list test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -15 lines) Patch
M chrome/app/bookmarks_strings.grdp View 1 2 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/list.html View 1 2 3 4 5 6 7 3 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/list.js View 1 2 3 4 5 3 chunks +18 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/md_bookmarks/md_bookmarks_ui.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/test/data/webui/md_bookmarks/list_test.js View 1 2 3 4 5 6 7 1 chunk +49 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/md_bookmarks_browsertest.js View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/store_test.js View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (14 generated)
angelayang
Cl that adds in the missing folder editor for the folder items. Take a look ...
3 years, 10 months ago (2017-01-31 06:10:49 UTC) #3
angelayang
On 2017/01/31 06:10:49, angelayang wrote: > Cl that adds in the missing folder editor for ...
3 years, 10 months ago (2017-01-31 06:59:39 UTC) #4
jiaxi
One change per CL would be nice. https://codereview.chromium.org/2666033002/diff/1/chrome/app/bookmarks_strings.grdp File chrome/app/bookmarks_strings.grdp (right): https://codereview.chromium.org/2666033002/diff/1/chrome/app/bookmarks_strings.grdp#newcode331 chrome/app/bookmarks_strings.grdp:331: Edit Folder ...
3 years, 10 months ago (2017-02-01 00:31:23 UTC) #5
angelayang
I fixed the issues with the cl. have a look- thanks :) https://codereview.chromium.org/2666033002/diff/1/chrome/app/bookmarks_strings.grdp File chrome/app/bookmarks_strings.grdp ...
3 years, 10 months ago (2017-02-01 02:47:34 UTC) #6
jiaxi
lgtm
3 years, 10 months ago (2017-02-01 03:47:42 UTC) #7
tsergeant
Generally looks good. One thing is that Folders should have a different menu to Items, ...
3 years, 10 months ago (2017-02-01 06:04:21 UTC) #8
angelayang
I fixed the folder's menu and a few other issues. take a look thanks. https://codereview.chromium.org/2666033002/diff/20001/chrome/browser/resources/md_bookmarks/list.js ...
3 years, 10 months ago (2017-02-01 07:19:34 UTC) #9
tsergeant
https://codereview.chromium.org/2666033002/diff/40001/chrome/browser/resources/md_bookmarks/list.js File chrome/browser/resources/md_bookmarks/list.js (right): https://codereview.chromium.org/2666033002/diff/40001/chrome/browser/resources/md_bookmarks/list.js#newcode66 chrome/browser/resources/md_bookmarks/list.js:66: onSaveEditTap_: function() { You can do this with a ...
3 years, 10 months ago (2017-02-01 23:46:48 UTC) #10
angelayang
Made fixes to style~ thankyou :) https://codereview.chromium.org/2666033002/diff/40001/chrome/browser/resources/md_bookmarks/list.js File chrome/browser/resources/md_bookmarks/list.js (right): https://codereview.chromium.org/2666033002/diff/40001/chrome/browser/resources/md_bookmarks/list.js#newcode66 chrome/browser/resources/md_bookmarks/list.js:66: onSaveEditTap_: function() { ...
3 years, 10 months ago (2017-02-02 00:57:08 UTC) #11
tsergeant
lgtm https://codereview.chromium.org/2666033002/diff/60001/chrome/browser/ui/webui/md_bookmarks/md_bookmarks_ui.cc File chrome/browser/ui/webui/md_bookmarks/md_bookmarks_ui.cc (right): https://codereview.chromium.org/2666033002/diff/60001/chrome/browser/ui/webui/md_bookmarks/md_bookmarks_ui.cc#newcode43 chrome/browser/ui/webui/md_bookmarks/md_bookmarks_ui.cc:43: AddLocalizedString(source, "renameFolderTitle", Nit: Sort this one alphabetically.
3 years, 10 months ago (2017-02-02 02:24:28 UTC) #12
calamity
This could do with a simple test, just to ensure the field is hidden correctly. ...
3 years, 10 months ago (2017-02-02 04:40:53 UTC) #13
angelayang
Removed the hideURL property and added a unit test Thanks :)
3 years, 10 months ago (2017-02-02 05:04:56 UTC) #14
angelayang
On 2017/02/02 05:04:56, angelayang wrote: > Removed the hideURL property and added a unit test ...
3 years, 10 months ago (2017-02-02 05:29:49 UTC) #15
angelayang
Okay, everything is ready, take a look :) https://codereview.chromium.org/2666033002/diff/80001/chrome/browser/resources/md_bookmarks/list.js File chrome/browser/resources/md_bookmarks/list.js (right): https://codereview.chromium.org/2666033002/diff/80001/chrome/browser/resources/md_bookmarks/list.js#newcode17 chrome/browser/resources/md_bookmarks/list.js:17: hideUrlInput_: ...
3 years, 10 months ago (2017-02-02 05:33:52 UTC) #17
calamity
https://codereview.chromium.org/2666033002/diff/130001/chrome/test/data/webui/md_bookmarks/list_test.js File chrome/test/data/webui/md_bookmarks/list_test.js (right): https://codereview.chromium.org/2666033002/diff/130001/chrome/test/data/webui/md_bookmarks/list_test.js#newcode24 chrome/test/data/webui/md_bookmarks/list_test.js:24: }); Also mock out chrome.bookmarks.update and make sure the ...
3 years, 10 months ago (2017-02-02 06:49:13 UTC) #19
angelayang
Last bit of testing added, thank you. https://codereview.chromium.org/2666033002/diff/130001/chrome/test/data/webui/md_bookmarks/list_test.js File chrome/test/data/webui/md_bookmarks/list_test.js (right): https://codereview.chromium.org/2666033002/diff/130001/chrome/test/data/webui/md_bookmarks/list_test.js#newcode24 chrome/test/data/webui/md_bookmarks/list_test.js:24: }); On ...
3 years, 10 months ago (2017-02-03 02:26:24 UTC) #20
calamity
https://codereview.chromium.org/2666033002/diff/170001/chrome/test/data/webui/md_bookmarks/list_test.js File chrome/test/data/webui/md_bookmarks/list_test.js (right): https://codereview.chromium.org/2666033002/diff/170001/chrome/test/data/webui/md_bookmarks/list_test.js#newcode47 chrome/test/data/webui/md_bookmarks/list_test.js:47: list.onSaveEditTap_(); If you're gonna open the actual dialog, seems ...
3 years, 10 months ago (2017-02-03 03:45:24 UTC) #22
angelayang
Fixes made, take a look :) https://codereview.chromium.org/2666033002/diff/170001/chrome/test/data/webui/md_bookmarks/list_test.js File chrome/test/data/webui/md_bookmarks/list_test.js (right): https://codereview.chromium.org/2666033002/diff/170001/chrome/test/data/webui/md_bookmarks/list_test.js#newcode47 chrome/test/data/webui/md_bookmarks/list_test.js:47: list.onSaveEditTap_(); On 2017/02/03 ...
3 years, 10 months ago (2017-02-06 00:49:39 UTC) #23
calamity
lgtm
3 years, 10 months ago (2017-02-06 03:23:20 UTC) #24
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/2666033002/190001
3 years, 10 months ago (2017-02-07 05:26:08 UTC) #30
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 05:41:03 UTC) #35
Message was sent while issue was closed.
Committed patchset #8 (id:190001) as
https://chromium.googlesource.com/chromium/src/+/1dc1289009fc9dab98f5f840ff34...

Powered by Google App Engine
This is Rietveld 408576698