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

Issue 2735953002: MD Bookmarks: Integrate new data store with UI elements (Closed)

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

Description

MD Bookmarks: Integrate new data store with UI elements MD Bookmarks is switching to a new data store layer to help with binding data changes to UI elements. This CL ties the new data store to the existing UI elements. Note that the new data store is currently missing a few features: * Item selection * Search * URL routing These features are broken by this CL (there are no user-visible feature regressions, since this is all behind a runtime flag), but will be added back in soon. BUG=697706 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2735953002 Cr-Commit-Position: refs/heads/master@{#455981} Committed: https://chromium.googlesource.com/chromium/src/+/a958e2950a29ba6f293d95e3a93c3c0235db2b94

Patch Set 1 #

Patch Set 2 : More tweaks #

Total comments: 21

Patch Set 3 : calamity@ review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -157 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_bookmarks/api_listener.html View 1 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_bookmarks/api_listener.js View 1 chunk +54 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/app.html View 1 2 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/app.js View 1 chunk +12 lines, -13 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/compiled_resources2.gyp View 1 5 chunks +20 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/folder_node.html View 1 2 3 chunks +14 lines, -11 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/folder_node.js View 1 2 4 chunks +54 lines, -15 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/item.html View 1 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/item.js View 1 5 chunks +31 lines, -12 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/list.html View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/list.js View 1 2 2 chunks +21 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/reducers.html View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/sidebar.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/sidebar.js View 1 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/store_client.js View 1 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/md_bookmarks/md_bookmarks_ui.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/item_test.js View 1 2 1 chunk +15 lines, -30 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/list_test.js View 1 2 3 chunks +26 lines, -7 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/md_bookmarks_browsertest.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/sidebar_test.js View 1 2 chunks +24 lines, -28 lines 0 comments Download
A chrome/test/data/webui/md_bookmarks/test_store.js View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/test_util.js View 1 chunk +0 lines, -14 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (19 generated)
tsergeant
PTAL
3 years, 9 months ago (2017-03-09 02:48:32 UTC) #10
calamity
https://codereview.chromium.org/2735953002/diff/60001/chrome/browser/resources/md_bookmarks/api_listener.js File chrome/browser/resources/md_bookmarks/api_listener.js (right): https://codereview.chromium.org/2735953002/diff/60001/chrome/browser/resources/md_bookmarks/api_listener.js#newcode30 chrome/browser/resources/md_bookmarks/api_listener.js:30: id, removeInfo.parentId, removeInfo.index)); I don't feel strongly, but it ...
3 years, 9 months ago (2017-03-09 04:58:57 UTC) #13
tsergeant
https://codereview.chromium.org/2735953002/diff/60001/chrome/browser/resources/md_bookmarks/api_listener.js File chrome/browser/resources/md_bookmarks/api_listener.js (right): https://codereview.chromium.org/2735953002/diff/60001/chrome/browser/resources/md_bookmarks/api_listener.js#newcode30 chrome/browser/resources/md_bookmarks/api_listener.js:30: id, removeInfo.parentId, removeInfo.index)); On 2017/03/09 04:58:57, calamity wrote: > ...
3 years, 9 months ago (2017-03-09 06:27:55 UTC) #15
calamity
lgtm. https://codereview.chromium.org/2735953002/diff/60001/chrome/browser/resources/md_bookmarks/list.js File chrome/browser/resources/md_bookmarks/list.js (right): https://codereview.chromium.org/2735953002/diff/60001/chrome/browser/resources/md_bookmarks/list.js#newcode20 chrome/browser/resources/md_bookmarks/list.js:20: return []; On 2017/03/09 06:27:54, tsergeant wrote: > ...
3 years, 9 months ago (2017-03-10 03:34:21 UTC) #20
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/2735953002/100001
3 years, 9 months ago (2017-03-10 03:42:55 UTC) #22
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 03:55:16 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/a958e2950a29ba6f293d95e3a93c...

Powered by Google App Engine
This is Rietveld 408576698